Documentation
¶
Index ¶
- Variables
- type ConfigStorage
- type ConfigStrategy
- func (t ConfigStrategy) AllowCreateOnUpdate() bool
- func (t ConfigStrategy) AllowUnconditionalUpdate() bool
- func (t ConfigStrategy) Canonicalize(obj runtime.Object)
- func (t ConfigStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set
- func (t ConfigStrategy) NamespaceScoped() bool
- func (t ConfigStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (t ConfigStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (t ConfigStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (t ConfigStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (t ConfigStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string
- func (t ConfigStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string
- type REST
Constants ¶
This section is empty.
Variables ¶
View Source
var Strategy = ConfigStrategy{_const.Scheme, apinames.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating Pod objects via the REST API.
Functions ¶
This section is empty.
Types ¶
type ConfigStorage ¶
type ConfigStorage struct {
Config *REST
}
func NewStorage ¶
func NewStorage(optsGetter apigeneric.RESTOptionsGetter) (ConfigStorage, error)
type ConfigStrategy ¶
type ConfigStrategy struct { runtime.ObjectTyper apinames.NameGenerator }
ConfigStrategy implements behavior for Pods
func (ConfigStrategy) AllowCreateOnUpdate ¶
func (t ConfigStrategy) AllowCreateOnUpdate() bool
func (ConfigStrategy) AllowUnconditionalUpdate ¶
func (t ConfigStrategy) AllowUnconditionalUpdate() bool
func (ConfigStrategy) Canonicalize ¶
func (t ConfigStrategy) Canonicalize(obj runtime.Object)
func (ConfigStrategy) GetResetFields ¶
func (t ConfigStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set
func (ConfigStrategy) NamespaceScoped ¶
func (t ConfigStrategy) NamespaceScoped() bool
func (ConfigStrategy) PrepareForCreate ¶
func (t ConfigStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (ConfigStrategy) PrepareForUpdate ¶
func (t ConfigStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (ConfigStrategy) ValidateUpdate ¶
func (ConfigStrategy) WarningsOnCreate ¶
func (ConfigStrategy) WarningsOnUpdate ¶
type REST ¶
type REST struct {
*apiregistry.Store
}
Click to show internal directories.
Click to hide internal directories.