package storage

import "k8s.io/kubernetes/pkg/registry/storage/storageclass/storage"

Index

Types

type REST

type REST struct {
	*genericregistry.Store
}

REST implements a RESTStorage for storage classes.

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error)

NewREST returns a RESTStorage object that will work against storage classes.

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.20.7
Published
May 12, 2021
Platform
js/wasm
Imports
9 packages
Last checked
4 minutes ago

Tools for package owners.