Documentation ¶
Index ¶
- Variables
- type ConfigStorage
- type ConfigStrategy
- func (t ConfigStrategy) AllowCreateOnUpdate() bool
- func (t ConfigStrategy) AllowUnconditionalUpdate() bool
- func (t ConfigStrategy) Canonicalize(runtime.Object)
- func (t ConfigStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set
- func (t ConfigStrategy) NamespaceScoped() bool
- func (t ConfigStrategy) PrepareForCreate(context.Context, runtime.Object)
- func (t ConfigStrategy) PrepareForUpdate(context.Context, runtime.Object, runtime.Object)
- func (t ConfigStrategy) Validate(context.Context, runtime.Object) field.ErrorList
- func (t ConfigStrategy) ValidateUpdate(context.Context, runtime.Object, runtime.Object) field.ErrorList
- func (t ConfigStrategy) WarningsOnCreate(context.Context, runtime.Object) []string
- func (t ConfigStrategy) WarningsOnUpdate(context.Context, runtime.Object, 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
}
ConfigStorage storage for Config
func NewStorage ¶
func NewStorage(optsGetter apigeneric.RESTOptionsGetter) (ConfigStorage, error)
NewStorage for Config
type ConfigStrategy ¶
type ConfigStrategy struct { runtime.ObjectTyper apinames.NameGenerator }
ConfigStrategy implements behavior for Pods
func (ConfigStrategy) AllowCreateOnUpdate ¶
func (t ConfigStrategy) AllowCreateOnUpdate() bool
AllowCreateOnUpdate always false
func (ConfigStrategy) AllowUnconditionalUpdate ¶
func (t ConfigStrategy) AllowUnconditionalUpdate() bool
AllowUnconditionalUpdate always true
func (ConfigStrategy) Canonicalize ¶
func (t ConfigStrategy) Canonicalize(runtime.Object)
Canonicalize do no-thing
func (ConfigStrategy) GetResetFields ¶
func (t ConfigStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set
GetResetFields always nil
func (ConfigStrategy) NamespaceScoped ¶
func (t ConfigStrategy) NamespaceScoped() bool
NamespaceScoped always true
func (ConfigStrategy) PrepareForCreate ¶
func (t ConfigStrategy) PrepareForCreate(context.Context, runtime.Object)
PrepareForCreate do no-thing
func (ConfigStrategy) PrepareForUpdate ¶
PrepareForUpdate do no-thing
func (ConfigStrategy) ValidateUpdate ¶
func (t ConfigStrategy) ValidateUpdate(context.Context, runtime.Object, runtime.Object) field.ErrorList
ValidateUpdate do nothing
func (ConfigStrategy) WarningsOnCreate ¶
WarningsOnCreate do no-thing
func (ConfigStrategy) WarningsOnUpdate ¶
WarningsOnUpdate always nil
Click to show internal directories.
Click to hide internal directories.