Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DRAAdminAccessFeatureInUse ¶
func DRAAdminAccessFeatureInUse(spec *resource.ResourceClaimSpec) bool
DRAAdminAccessFeatureInUse checks whether the feature is in use in the spec.
func DRAConsumableCapacityFeatureInUse ¶
func DRAConsumableCapacityFeatureInUse(spec *resource.ResourceClaimSpec) bool
DRAConsumableCapacityFeatureInUse checks whether the feature is in use in the spec.
func DropDisabledFields ¶
func DropDisabledFields(new, old *resource.ResourceClaimSpec)
DropDisabledFields removes disabled fields from the spec unless they were in use there before.
Theoretically some features could be in use in an old ResourceClaim status and not in use in the spec. This can only occur in a spec update, which is currently prevented because the entire spec is immutable. Even if it was allowed, preventing adding disabled fields to the spec is the right thing to do regardless of what may have ended up in the status earlier.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.