kubernetes/pkg/registry/storage/csistoragecapacity/strategy.go

type csiStorageCapacityStrategy

var Strategy

func (csiStorageCapacityStrategy) NamespaceScoped() bool {}

// PrepareForCreate is currently a NOP.
func (csiStorageCapacityStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {}

func (csiStorageCapacityStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {}

// WarningsOnCreate returns warnings for the creation of the given object.
func (csiStorageCapacityStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {}

// Canonicalize normalizes the object after validation.
func (csiStorageCapacityStrategy) Canonicalize(obj runtime.Object) {}

func (csiStorageCapacityStrategy) AllowCreateOnUpdate() bool {}

// PrepareForUpdate is currently a NOP.
func (csiStorageCapacityStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {}

func (csiStorageCapacityStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {}

// WarningsOnUpdate returns warnings for the given update.
func (csiStorageCapacityStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {}

func (csiStorageCapacityStrategy) AllowUnconditionalUpdate() bool {}

func hasInvalidLabelValueInLabelSelector(capacity *storage.CSIStorageCapacity) bool {}