package storage
import "k8s.io/kubernetes/pkg/registry/extensions/controller/storage"
Index ¶
- type ContainerStorage
- type RcREST
- type ScaleREST
- func (r *ScaleREST) Get(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *ScaleREST) New() runtime.Object
- func (r *ScaleREST) Update(ctx genericapirequest.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (runtime.Object, bool, error)
Types ¶
type ContainerStorage ¶
Container includes dummy storage for RC pods and experimental storage for Scale.
func NewStorage ¶
func NewStorage(optsGetter generic.RESTOptionsGetter) ContainerStorage
type RcREST ¶
type RcREST struct{}
Dummy implementation
func (*RcREST) New ¶
type ScaleREST ¶
type ScaleREST struct {
// contains filtered or unexported fields
}
func (*ScaleREST) Get ¶
func (r *ScaleREST) Get(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
func (*ScaleREST) New ¶
New creates a new Scale object
func (*ScaleREST) Update ¶
func (r *ScaleREST) Update(ctx genericapirequest.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (runtime.Object, bool, error)
Source Files ¶
storage.go
- Version
- v1.9.11
- Published
- Sep 28, 2018
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 3 minutes ago –
Tools for package owners.