kubernetes: k8s.io/kubernetes/pkg/registry/core/serviceaccount/storage Index | Files

package storage

import "k8s.io/kubernetes/pkg/registry/core/serviceaccount/storage"

Index

Package Files

storage.go token.go

type REST Uses

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

func NewREST Uses

func NewREST(optsGetter generic.RESTOptionsGetter, issuer token.TokenGenerator, auds authenticator.Audiences, max time.Duration, podStorage, secretStorage *genericregistry.Store) (*REST, error)

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

func (*REST) ShortNames Uses

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

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

type TokenREST Uses

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

func (*TokenREST) Create Uses

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

func (*TokenREST) GroupVersionKind Uses

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

func (*TokenREST) New Uses

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

Package storage imports 22 packages (graph) and is imported by 7 packages. Updated 2019-09-10. Refresh now. Tools for package owners.