package
Version:
v1.5.0-beta.0
Opens a new window with list of versions in this module.
Published: Nov 6, 2016
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
¶
type ContainerStorage struct {
ReplicationController *RcREST
Scale *ScaleREST
}
Container includes dummy storage for RC pods and experimental storage for Scale.
func NewStorage(opts generic.RESTOptions) ContainerStorage
Dummy implementation
func (r *RcREST) New() runtime.Object
type ScaleREST struct {
}
func (r *ScaleREST) Get(ctx api.Context, name string) (runtime.Object, error)
func (r *ScaleREST) New() runtime.Object
New creates a new Scale object
func (r *ScaleREST) Update(ctx api.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.