etcd

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DeploymentConfigPath string = "/deploymentconfigs"

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentConfigStorage added in v1.0.8

type DeploymentConfigStorage struct {
	DeploymentConfig *REST
	Scale            *ScaleREST
}

DeploymentConfigStorage contains the REST storage information for both DeploymentConfigs and their Scale subresources.

func NewStorage

NewStorage returns a DeploymentConfigStorage containing the REST storage for DeploymentConfig objects and their Scale subresources.

type REST

type REST struct {
	*etcdgeneric.Etcd
}

REST contains the REST storage for DeploymentConfig objects.

type ScaleREST added in v1.0.8

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

ScaleREST contains the REST storage for the Scale subresource of DeploymentConfigs.

func (*ScaleREST) Get added in v1.0.8

func (r *ScaleREST) Get(ctx kapi.Context, name string) (runtime.Object, error)

Get retrieves (computes) the Scale subresource for the given DeploymentConfig name.

func (*ScaleREST) New added in v1.0.8

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

New creates a new Scale object

func (*ScaleREST) Update added in v1.0.8

func (r *ScaleREST) Update(ctx kapi.Context, obj runtime.Object) (runtime.Object, bool, error)

Update scales the DeploymentConfig for the given Scale subresource, returning the updated Scale.

Jump to

Keyboard shortcuts

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