package storage

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

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(optsGetter generic.RESTOptionsGetter) (ContainerStorage, error)

type RcREST

type RcREST struct{}

Dummy implementation

func (*RcREST) NamespaceScoped

func (r *RcREST) NamespaceScoped() bool

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 context.Context, name string, options *metav1.GetOptions) (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 context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)

Source Files

storage.go

Version
v1.17.5-beta.0
Published
Mar 12, 2020
Platform
js/wasm
Imports
14 packages
Last checked
51 seconds ago

Tools for package owners.