storage

package
v1.32.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 31 Imported by: 39

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 authenticator.Audiences, max time.Duration, podStorage, secretStorage, nodeStorage rest.Getter, extendExpiration bool, isTokenSignerExternal bool) (*REST, error)

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 added in v1.10.0

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

func (*TokenREST) Create added in v1.10.0

func (r *TokenREST) Create(ctx context.Context, name string, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)

func (*TokenREST) Destroy added in v1.25.0

func (r *TokenREST) Destroy()

Destroy cleans up resources on shutdown.

func (*TokenREST) GroupVersionKind added in v1.10.0

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

func (*TokenREST) New added in v1.10.0

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

Jump to

Keyboard shortcuts

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