validation

package
v1.32.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 20 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 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