storage

package
v0.0.0-...-dacd781 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerStorage

type ContainerStorage struct {
	ReplicationController *RcREST
	Scale                 *ScaleREST
}

Container includes dummy storage for RC pods and experimental storage for Scale.

func NewStorage

func NewStorage(optsGetter generic.RESTOptionsGetter) ContainerStorage

type RcREST

type RcREST struct{}

Dummy implementation

func (*RcREST) NamespaceScoped

func (r *RcREST) NamespaceScoped() bool

func (*RcREST) New

func (r *RcREST) New() runtime.Object

type ScaleREST

type ScaleREST struct {
	// contains filtered or unexported fields
}

func (*ScaleREST) Get

func (r *ScaleREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)

func (*ScaleREST) New

func (r *ScaleREST) New() runtime.Object

New creates a new Scale object

func (*ScaleREST) Update

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL