exposureclass

package
v1.101.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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) Validate

Validate allow to validate the object.

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

func (ExposureClassStrategy) WarningsOnCreate(_ context.Context, _ runtime.Object) []string

WarningsOnCreate returns warnings to the client performing a create.

func (ExposureClassStrategy) WarningsOnUpdate

func (ExposureClassStrategy) WarningsOnUpdate(_ context.Context, _, _ runtime.Object) []string

WarningsOnUpdate returns warnings to the client performing the update.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL