storage

package
v1.10.6-lite3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
	*genericregistry.Store
	Token *TokenREST
}

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter, issuer token.TokenGenerator, auds []string, podStorage, secretStorage *genericregistry.Store) *REST

NewREST returns a RESTStorage object that will work against service accounts.

func (*REST) ShortNames

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

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

type TokenREST

type TokenREST struct {
	// contains filtered or unexported fields
}

func (*TokenREST) Create

func (r *TokenREST) Create(ctx genericapirequest.Context, name string, obj runtime.Object, createValidation rest.ValidateObjectFunc, includeUninitialized bool) (runtime.Object, error)

func (*TokenREST) GroupVersionKind

func (r *TokenREST) GroupVersionKind(containingGV schema.GroupVersion) schema.GroupVersionKind

func (*TokenREST) New

func (r *TokenREST) New() runtime.Object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL