etcd

package
v1.5.8-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2017 License: Apache-2.0 Imports: 11 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(opts generic.RESTOptions) 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 (r *ScaleREST) Get(ctx api.Context, name string) (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 api.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)

Jump to

Keyboard shortcuts

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