package
Version:
v1.6.3-beta.1
Opens a new window with list of versions in this module.
Published: May 15, 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 Jobs.
type JobStorage struct {
Job *REST
Status *StatusREST
}
JobStorage includes dummy storage for Job.
func NewStorage(optsGetter generic.RESTOptionsGetter) JobStorage
type REST struct {
*genericregistry.Store
}
REST implements a RESTStorage for jobs against etcd
type StatusREST struct {
}
StatusREST implements the REST endpoint for changing the status of a resourcequota.
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.