storage

package
v1.12.11-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: Apache-2.0 Imports: 10 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
}

rest implements a RESTStorage for priority classes against etcd

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) *REST

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

func (*REST) Delete added in v1.11.0

func (r *REST) Delete(ctx context.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)

Delete ensures that system priority classes are not deleted.

func (*REST) ShortNames

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

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

Jump to

Keyboard shortcuts

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