clusterresourcequota

package
v0.0.0-...-d3d374b Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatusStrategy = statusStrategy{kapi.Scheme}
View Source
var Strategy = strategy{kapi.Scheme}

Functions

func Matcher

Matcher returns a generic matcher for a given label and field selector.

Types

type REST

type REST struct {
	*registry.Store
}

func NewStorage

func NewStorage(optsGetter restoptions.Getter) (*REST, error)

NewStorage returns a RESTStorage object that will work against nodes.

type StatusREST

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

StatusREST implements the REST endpoint for changing the status of a resourcequota.

func NewStatusStorage

func NewStatusStorage(optsGetter restoptions.Getter) (*StatusREST, error)

func (*StatusREST) Get

func (r *StatusREST) Get(ctx kapi.Context, name string) (runtime.Object, error)

Get retrieves the object from the storage. It is required to support Patch.

func (*StatusREST) New

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

func (*StatusREST) Update

func (r *StatusREST) Update(ctx kapi.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)

Update alters the status subset of an object.

Jump to

Keyboard shortcuts

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