kubernetes.v0: gopkg.in/kubernetes/kubernetes.v0/pkg/registry/resourcequota/etcd Index | Files

package etcd

import "gopkg.in/kubernetes/kubernetes.v0/pkg/registry/resourcequota/etcd"


Package Files


type REST Uses

type REST struct {

rest implements a RESTStorage for resourcequotas against etcd

func NewStorage Uses

func NewStorage(h tools.EtcdHelper) (*REST, *StatusREST)

NewStorage returns a RESTStorage object that will work against ResourceQuota objects.

type StatusREST Uses

type StatusREST struct {
    // contains filtered or unexported fields

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

func (*StatusREST) New Uses

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

func (*StatusREST) Update Uses

func (r *StatusREST) Update(ctx api.Context, obj runtime.Object) (runtime.Object, bool, error)

Update alters the status subset of an object.

Package etcd imports 8 packages (graph). Updated 2018-05-15. Refresh now. Tools for package owners.