clusterresourcequota

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterResourceQuotaPath = "/" + quotaapi.GroupName + "/clusterresourcequotas"

Variables

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

Functions

func Matcher

func Matcher(label labels.Selector, field fields.Selector) generic.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