Documentation ¶
Index ¶
- func ValidateDeviceClass(class *resource.DeviceClass) field.ErrorList
- func ValidateDeviceClassUpdate(class, oldClass *resource.DeviceClass) 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 ValidateResourceClaim(resourceClaim *resource.ResourceClaim) field.ErrorList
- func ValidateResourceClaimStatusUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList
- func ValidateResourceClaimTemplate(template *resource.ResourceClaimTemplate) field.ErrorList
- func ValidateResourceClaimTemplateUpdate(template, oldTemplate *resource.ResourceClaimTemplate) field.ErrorList
- func ValidateResourceClaimUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList
- func ValidateResourceSlice(slice *resource.ResourceSlice) field.ErrorList
- func ValidateResourceSliceUpdate(resourceSlice, oldResourceSlice *resource.ResourceSlice) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDeviceClass ¶ added in v1.31.0
func ValidateDeviceClass(class *resource.DeviceClass) field.ErrorList
ValidateClass validates a DeviceClass.
func ValidateDeviceClassUpdate ¶ added in v1.31.0
func ValidateDeviceClassUpdate(class, oldClass *resource.DeviceClass) field.ErrorList
ValidateClassUpdate tests if an update to DeviceClass 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 ValidateResourceClaim ¶ added in v1.31.0
func ValidateResourceClaim(resourceClaim *resource.ResourceClaim) field.ErrorList
ValidateResourceClaim validates a ResourceClaim.
func ValidateResourceClaimStatusUpdate ¶ added in v1.31.0
func ValidateResourceClaimStatusUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList
ValidateResourceClaimStatusUpdate tests if an update to the status of a ResourceClaim is valid.
func ValidateResourceClaimTemplate ¶ added in v1.31.0
func ValidateResourceClaimTemplate(template *resource.ResourceClaimTemplate) field.ErrorList
ValidateResourceClaimTemplate validates a ResourceClaimTemplate.
func ValidateResourceClaimTemplateUpdate ¶ added in v1.31.0
func ValidateResourceClaimTemplateUpdate(template, oldTemplate *resource.ResourceClaimTemplate) field.ErrorList
ValidateResourceClaimTemplateUpdate tests if an update to template is valid.
func ValidateResourceClaimUpdate ¶ added in v1.31.0
func ValidateResourceClaimUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList
ValidateResourceClaimUpdate tests if an update to ResourceClaim is valid.
func ValidateResourceSlice ¶ added in v1.30.0
func ValidateResourceSlice(slice *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.