package etcd

import "k8s.io/kubernetes/pkg/registry/experimental/controller/etcd"

Index

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(s storage.Interface) 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, 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
9 packages
Last checked
5 minutes ago

Tools for package owners.