kubernetes: k8s.io/kubernetes/pkg/registry/extensions/controller/storage Index | Files

package storage

import "k8s.io/kubernetes/pkg/registry/extensions/controller/storage"


Package Files


type ContainerStorage Uses

type ContainerStorage struct {
    ReplicationController *RcREST
    Scale                 *ScaleREST

Container includes dummy storage for RC pods and experimental storage for Scale.

func NewStorage Uses

func NewStorage(optsGetter generic.RESTOptionsGetter) (ContainerStorage, error)

type RcREST Uses

type RcREST struct{}

Dummy implementation

func (*RcREST) NamespaceScoped Uses

func (r *RcREST) NamespaceScoped() bool

func (*RcREST) New Uses

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

type ScaleREST Uses

type ScaleREST struct {
    // contains filtered or unexported fields

func (*ScaleREST) Get Uses

func (r *ScaleREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)

func (*ScaleREST) New Uses

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

New creates a new Scale object

func (*ScaleREST) Update Uses

func (r *ScaleREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)

Package storage imports 14 packages (graph) and is imported by 1 packages. Updated 2019-08-27. Refresh now. Tools for package owners.