package etcd

import "k8s.io/kubernetes/pkg/registry/deployment/etcd"

Index

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)

Source Files

etcd.go

Version
v1.1.9-beta.0
Published
Feb 23, 2016
Platform
js/wasm
Imports
12 packages
Last checked
51 minutes ago

Tools for package owners.