package etcd

import "k8s.io/kubernetes/pkg/registry/resourcequota/etcd"

Index

Functions

func NewStorage

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

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

Types

type REST

type REST struct {
	*etcdgeneric.Etcd
}

rest implements a RESTStorage for resourcequotas against etcd

type StatusREST

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

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

func (*StatusREST) New

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

func (*StatusREST) Update

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

Update alters the status subset of an object.

Source Files

etcd.go

Version
v0.19.2
Published
Jun 22, 2015
Platform
linux/amd64
Imports
8 packages
Last checked
6 minutes ago

Tools for package owners.