etcd

package
v0.0.0-...-ea77a8b Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentStorage

type DeploymentStorage struct {
	Deployment *REST
	Scale      *ScaleREST
}

DeploymentStorage includes dummy storage for Deployments and for Scale subresource.

func NewStorage

func NewStorage(s storage.Interface) DeploymentStorage

type REST

type REST struct {
	*etcdgeneric.Etcd
}

func NewREST

func NewREST(s storage.Interface) *REST

NewREST returns a RESTStorage object that will work against deployments.

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, obj runtime.Object) (runtime.Object, bool, error)

Jump to

Keyboard shortcuts

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