Documentation ¶
Index ¶
- type ExposureClassStrategy
- func (ExposureClassStrategy) AllowCreateOnUpdate() bool
- func (ExposureClassStrategy) AllowUnconditionalUpdate() bool
- func (ExposureClassStrategy) Canonicalize(_ runtime.Object)
- func (ExposureClassStrategy) NamespaceScoped() bool
- func (ExposureClassStrategy) PrepareForCreate(_ context.Context, _ runtime.Object)
- func (ExposureClassStrategy) PrepareForUpdate(_ context.Context, _, _ runtime.Object)
- func (ExposureClassStrategy) Validate(_ context.Context, obj runtime.Object) field.ErrorList
- func (ExposureClassStrategy) ValidateUpdate(_ context.Context, newObj, oldObj runtime.Object) field.ErrorList
- func (ExposureClassStrategy) WarningsOnCreate(_ context.Context, _ runtime.Object) []string
- func (ExposureClassStrategy) WarningsOnUpdate(_ context.Context, _, _ runtime.Object) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExposureClassStrategy ¶
type ExposureClassStrategy struct { runtime.ObjectTyper names.NameGenerator }
ExposureClassStrategy define the strategy for storing exposureclasses.
func NewStrategy ¶
func NewStrategy() ExposureClassStrategy
NewStrategy return a storage strategy for exposureclasses.
func (ExposureClassStrategy) AllowCreateOnUpdate ¶
func (ExposureClassStrategy) AllowCreateOnUpdate() bool
AllowCreateOnUpdate indicates if the object can be created via a PUT operation.
func (ExposureClassStrategy) AllowUnconditionalUpdate ¶
func (ExposureClassStrategy) AllowUnconditionalUpdate() bool
AllowUnconditionalUpdate indicates if the object can be updated independently of the resouce version.
func (ExposureClassStrategy) Canonicalize ¶
func (ExposureClassStrategy) Canonicalize(_ runtime.Object)
Canonicalize can be used to transfrom the object into its cannoical format.
func (ExposureClassStrategy) NamespaceScoped ¶
func (ExposureClassStrategy) NamespaceScoped() bool
NamespaceScoped indicates if the object is namespaced scoped.
func (ExposureClassStrategy) PrepareForCreate ¶
func (ExposureClassStrategy) PrepareForCreate(_ context.Context, _ runtime.Object)
PrepareForCreate mutates the object before creation. It is called before Validate.
func (ExposureClassStrategy) PrepareForUpdate ¶
func (ExposureClassStrategy) PrepareForUpdate(_ context.Context, _, _ runtime.Object)
PrepareForUpdate allows to modify an object before it get stored. It is called before ValidateUpdate.
func (ExposureClassStrategy) ValidateUpdate ¶
func (ExposureClassStrategy) ValidateUpdate(_ context.Context, newObj, oldObj runtime.Object) field.ErrorList
ValidateUpdate validates the update on the object. The old and the new version of the object are passed in.
func (ExposureClassStrategy) WarningsOnCreate ¶ added in v1.34.0
WarningsOnCreate returns warnings to the client performing a create.
func (ExposureClassStrategy) WarningsOnUpdate ¶ added in v1.34.0
WarningsOnUpdate returns warnings to the client performing the update.