package
Version:
v1.4.7
Opens a new window with list of versions in this module.
Published: Dec 10, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewREST(opts generic.RESTOptions) (*REST, *StatusREST)
NewREST returns a RESTStorage object that will work against persistent volume claims.
type REST struct {
*registry.Store
}
type StatusREST struct {
}
StatusREST implements the REST endpoint for changing the status of a persistentvolumeclaim.
func (r *StatusREST) Get(ctx api.Context, name string) (runtime.Object, error)
Get retrieves the object from the storage. It is required to support Patch.
func (r *StatusREST) New() runtime.Object
func (r *StatusREST) Update(ctx api.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
Update alters the status subset of an object.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.