package
Version:
v1.2.0-alpha.5
Opens a new window with list of versions in this module.
Published: Dec 15, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator) (*REST, *StatusREST, *FinalizeREST)
NewREST returns a RESTStorage object that will work against namespaces.
type FinalizeREST struct {
}
FinalizeREST implements the REST endpoint for finalizing a namespace.
func (r *FinalizeREST) New() runtime.Object
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 struct {
*etcdgeneric.Etcd
}
rest implements a RESTStorage for namespaces against etcd
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 struct {
}
StatusREST implements the REST endpoint for changing the status of a namespace.
func (r *StatusREST) New() runtime.Object
func (r *StatusREST) Update(ctx api.Context, obj runtime.Object) (runtime.Object, bool, error)
Update alters the status subset of an object.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.