kubernetes: k8s.io/kubernetes/pkg/registry/scheduling/priorityclass/storage Index | Files

package storage

import "k8s.io/kubernetes/pkg/registry/scheduling/priorityclass/storage"


Package Files


type REST Uses

type REST struct {

REST implements a RESTStorage for priority classes against etcd

func NewREST Uses

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

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

func (*REST) Delete Uses

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

Delete ensures that system priority classes are not deleted.

func (*REST) ShortNames Uses

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

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

Package storage imports 14 packages (graph) and is imported by 2 packages. Updated 2019-11-21. Refresh now. Tools for package owners.