package storage

import "k8s.io/kubernetes/pkg/registry/extensions/podsecuritypolicy/storage"

Index

Types

type REST

type REST struct {
	*genericregistry.Store
}

REST implements a RESTStorage for PodSecurityPolicies.

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) *REST

NewREST returns a RESTStorage object that will work against PodSecurityPolicy objects.

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.7.8
Published
Oct 5, 2017
Platform
js/wasm
Imports
7 packages
Last checked
14 seconds ago

Tools for package owners.