package
Version:
v1.6.0-beta.0
Opens a new window with list of versions in this module.
Published: Feb 22, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST)
NewREST returns a RESTStorage object that will work against replication controllers.
type REST struct {
*genericregistry.Store
}
rest implements a RESTStorage for replication controllers
func (r *REST) ShortNames() []string
ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
type StatusREST struct {
}
StatusREST implements the REST endpoint for changing the status of an ingress
func (r *StatusREST) Get(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (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 genericapirequest.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.