validation

package
v1.31.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 17 Imported by: 4

Documentation

Index

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.

Jump to

Keyboard shortcuts

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