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 resource version.
func (ExposureClassStrategy) Canonicalize ¶
func (ExposureClassStrategy) Canonicalize(_ runtime.Object)
Canonicalize can be used to transform the object into its canonical 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 ¶
WarningsOnCreate returns warnings to the client performing a create.
func (ExposureClassStrategy) WarningsOnUpdate ¶
WarningsOnUpdate returns warnings to the client performing the update.