storage

package
v1.9.11-beta.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 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) New

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

type ScaleREST

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

func (*ScaleREST) Get

func (*ScaleREST) New

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

New creates a new Scale object

func (*ScaleREST) Update

func (r *ScaleREST) Update(ctx genericapirequest.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (runtime.Object, bool, error)

Jump to

Keyboard shortcuts

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