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

package etcd

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

Index

Package Files

etcd.go

type FinalizeREST Uses

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

FinalizeREST implements the REST endpoint for finalizing a namespace.

func (*FinalizeREST) New Uses

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

func (*FinalizeREST) Update Uses

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

Update alters the status finalizers subset of an object.

type REST Uses

type REST struct {
    *etcdgeneric.Etcd
    // contains filtered or unexported fields
}

rest implements a RESTStorage for namespaces against etcd

func NewStorage Uses

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

NewStorage returns a RESTStorage object that will work against namespaces

func (*REST) Delete Uses

func (r *REST) Delete(ctx api.Context, name string, options *api.DeleteOptions) (runtime.Object, error)

Delete enforces life-cycle rules for namespace termination

type StatusREST Uses

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

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

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 12 packages (graph). Updated 2016-07-25. Refresh now. Tools for package owners.