Documentation ¶
Index ¶
- func ValidateClaim(resourceClaim *resource.ResourceClaim) field.ErrorList
- func ValidateClaimStatusUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList
- func ValidateClaimTemplate(template *resource.ResourceClaimTemplate) field.ErrorList
- func ValidateClaimTemplateUpdate(template, oldTemplate *resource.ResourceClaimTemplate) field.ErrorList
- func ValidateClaimUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList
- func ValidateClass(resourceClass *resource.ResourceClass) field.ErrorList
- func ValidateClassUpdate(resourceClass, oldClass *resource.ResourceClass) field.ErrorList
- func ValidatePodSchedulingContextStatusUpdate(schedulingCtx, oldSchedulingCtx *resource.PodSchedulingContext) field.ErrorList
- func ValidatePodSchedulingContextUpdate(schedulingCtx, oldSchedulingCtx *resource.PodSchedulingContext) field.ErrorList
- func ValidatePodSchedulingContexts(schedulingCtx *resource.PodSchedulingContext) field.ErrorList
- func ValidateResourceClaimParameters(parameters *resource.ResourceClaimParameters) field.ErrorList
- func ValidateResourceClaimParametersUpdate(...) field.ErrorList
- func ValidateResourceClassParameters(parameters *resource.ResourceClassParameters) field.ErrorList
- func ValidateResourceClassParametersUpdate(...) field.ErrorList
- func ValidateResourceSlice(resourceSlice *resource.ResourceSlice) field.ErrorList
- func ValidateResourceSliceUpdate(resourceSlice, oldResourceSlice *resource.ResourceSlice) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClaim ¶
func ValidateClaim(resourceClaim *resource.ResourceClaim) field.ErrorList
ValidateClaim validates a ResourceClaim.
func ValidateClaimStatusUpdate ¶
func ValidateClaimStatusUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList
ValidateClaimStatusUpdate tests if an update to the status of a ResourceClaim is valid.
func ValidateClaimTemplate ¶
func ValidateClaimTemplate(template *resource.ResourceClaimTemplate) field.ErrorList
ValidateClaimTemplace validates a ResourceClaimTemplate.
func ValidateClaimTemplateUpdate ¶
func ValidateClaimTemplateUpdate(template, oldTemplate *resource.ResourceClaimTemplate) field.ErrorList
ValidateClaimTemplateUpdate tests if an update to template is valid.
func ValidateClaimUpdate ¶
func ValidateClaimUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList
ValidateClaimUpdate tests if an update to ResourceClaim is valid.
func ValidateClass ¶
func ValidateClass(resourceClass *resource.ResourceClass) field.ErrorList
ValidateClass validates a ResourceClass.
func ValidateClassUpdate ¶
func ValidateClassUpdate(resourceClass, oldClass *resource.ResourceClass) field.ErrorList
ValidateClassUpdate tests if an update to ResourceClass is valid.
func ValidatePodSchedulingContextStatusUpdate ¶ added in v1.27.0
func ValidatePodSchedulingContextStatusUpdate(schedulingCtx, oldSchedulingCtx *resource.PodSchedulingContext) field.ErrorList
ValidatePodSchedulingContextStatusUpdate tests if an update to the status of a PodSchedulingContext is valid.
func ValidatePodSchedulingContextUpdate ¶ added in v1.27.0
func ValidatePodSchedulingContextUpdate(schedulingCtx, oldSchedulingCtx *resource.PodSchedulingContext) field.ErrorList
ValidatePodSchedulingContextUpdate tests if an update to PodSchedulingContext is valid.
func ValidatePodSchedulingContexts ¶ added in v1.27.0
func ValidatePodSchedulingContexts(schedulingCtx *resource.PodSchedulingContext) field.ErrorList
ValidatePodSchedulingContext validates a PodSchedulingContext.
func ValidateResourceClaimParameters ¶ added in v1.30.0
func ValidateResourceClaimParameters(parameters *resource.ResourceClaimParameters) field.ErrorList
ValidateResourceClaimParameters tests if a ResourceClaimParameters object is valid for creation.
func ValidateResourceClaimParametersUpdate ¶ added in v1.30.0
func ValidateResourceClaimParametersUpdate(resourceClaimParameters, oldResourceClaimParameters *resource.ResourceClaimParameters) field.ErrorList
ValidateResourceClaimParameters tests if a ResourceClaimParameters update is valid.
func ValidateResourceClassParameters ¶ added in v1.30.0
func ValidateResourceClassParameters(parameters *resource.ResourceClassParameters) field.ErrorList
ValidateResourceClassParameters tests if a ResourceClassParameters object is valid for creation.
func ValidateResourceClassParametersUpdate ¶ added in v1.30.0
func ValidateResourceClassParametersUpdate(resourceClassParameters, oldResourceClassParameters *resource.ResourceClassParameters) field.ErrorList
ValidateResourceClassParameters tests if a ResourceClassParameters update is valid.
func ValidateResourceSlice ¶ added in v1.30.0
func ValidateResourceSlice(resourceSlice *resource.ResourceSlice) field.ErrorList
ValidateResourceSlice tests if a ResourceSlice object is valid.
func ValidateResourceSliceUpdate ¶ added in v1.30.0
func ValidateResourceSliceUpdate(resourceSlice, oldResourceSlice *resource.ResourceSlice) field.ErrorList
ValidateResourceSlice tests if a ResourceSlice update is valid.
Types ¶
This section is empty.