package
Version:
v1.14.4
Opens a new window with list of versions in this module.
Published: Jul 4, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 14
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(optsGetter generic.RESTOptionsGetter) ContainerStorage
Dummy implementation
func (r *RcREST) NamespaceScoped() bool
func (r *RcREST) New() runtime.Object
type ScaleREST struct {
}
func (r *ScaleREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
func (r *ScaleREST) New() runtime.Object
New creates a new Scale object
func (r *ScaleREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.