etcd

package
v1.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 License: Apache-2.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewREST

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

Types

type REST

type REST struct {
	*etcdgeneric.Etcd
}

REST contains the REST storage for DeploymentConfig objects.

type ScaleREST

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

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

func (*ScaleREST) Get

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

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

New creates a new Scale object

func (*ScaleREST) Update

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