package storage

import "k8s.io/kubernetes/pkg/registry/networking/networkpolicy/storage"

Index

Types

type REST

type REST struct {
	*genericregistry.Store
}

rest implements a RESTStorage for NetworkPolicies against etcd

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) *REST

NewREST returns a RESTStorage object that will work against NetworkPolicies

func (*REST) ShortNames

func (r *REST) ShortNames() []string

ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.

Source Files

storage.go

Version
v1.14.8
Published
Oct 12, 2019
Platform
js/wasm
Imports
9 packages
Last checked
24 seconds ago

Tools for package owners.