var validateDriverName …
var validateDeviceName …
var validateDeviceClassName …
var validateRequestName …
func validatePoolName(name string, fldPath *field.Path) field.ErrorList { … }
func ValidateResourceClaim(resourceClaim *resource.ResourceClaim) field.ErrorList { … }
func ValidateResourceClaimUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList { … }
func ValidateResourceClaimStatusUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList { … }
func validateResourceClaimSpec(spec *resource.ResourceClaimSpec, fldPath *field.Path, stored bool) field.ErrorList { … }
func validateDeviceClaim(deviceClaim *resource.DeviceClaim, fldPath *field.Path, stored bool) field.ErrorList { … }
func gatherRequestNames(deviceClaim *resource.DeviceClaim) sets.Set[string] { … }
func validateDeviceRequest(request resource.DeviceRequest, fldPath *field.Path, stored bool) field.ErrorList { … }
func validateSelector(selector resource.DeviceSelector, fldPath *field.Path, stored bool) field.ErrorList { … }
func validateCELSelector(celSelector resource.CELDeviceSelector, fldPath *field.Path, stored bool) field.ErrorList { … }
func convertCELErrorToValidationError(fldPath *field.Path, expression string, err error) *field.Error { … }
func validateDeviceConstraint(constraint resource.DeviceConstraint, fldPath *field.Path, requestNames sets.Set[string]) field.ErrorList { … }
func validateDeviceClaimConfiguration(config resource.DeviceClaimConfiguration, fldPath *field.Path, requestNames sets.Set[string]) field.ErrorList { … }
func validateRequestNameRef(name string, fldPath *field.Path, requestNames sets.Set[string]) field.ErrorList { … }
func validateDeviceConfiguration(config resource.DeviceConfiguration, fldPath *field.Path) field.ErrorList { … }
func validateOpaqueConfiguration(config resource.OpaqueDeviceConfiguration, fldPath *field.Path) field.ErrorList { … }
func validateResourceClaimStatusUpdate(status, oldStatus *resource.ResourceClaimStatus, claimDeleted bool, requestNames sets.Set[string], fldPath *field.Path) field.ErrorList { … }
func validateResourceClaimUserReference(ref resource.ResourceClaimConsumerReference, fldPath *field.Path) field.ErrorList { … }
func validateAllocationResult(allocation *resource.AllocationResult, fldPath *field.Path, requestNames sets.Set[string]) field.ErrorList { … }
func validateDeviceAllocationResult(allocation resource.DeviceAllocationResult, fldPath *field.Path, requestNames sets.Set[string]) field.ErrorList { … }
func validateDeviceRequestAllocationResult(result resource.DeviceRequestAllocationResult, fldPath *field.Path, requestNames sets.Set[string]) field.ErrorList { … }
func validateDeviceAllocationConfiguration(config resource.DeviceAllocationConfiguration, fldPath *field.Path, requestNames sets.Set[string]) field.ErrorList { … }
func validateAllocationConfigSource(source resource.AllocationConfigSource, fldPath *field.Path) field.ErrorList { … }
func ValidateDeviceClass(class *resource.DeviceClass) field.ErrorList { … }
func ValidateDeviceClassUpdate(class, oldClass *resource.DeviceClass) field.ErrorList { … }
func validateDeviceClassSpec(spec, oldSpec *resource.DeviceClassSpec, fldPath *field.Path) field.ErrorList { … }
func validateDeviceClassConfiguration(config resource.DeviceClassConfiguration, fldPath *field.Path) field.ErrorList { … }
func ValidateResourceClaimTemplate(template *resource.ResourceClaimTemplate) field.ErrorList { … }
func validateResourceClaimTemplateSpec(spec *resource.ResourceClaimTemplateSpec, fldPath *field.Path, stored bool) field.ErrorList { … }
func ValidateResourceClaimTemplateUpdate(template, oldTemplate *resource.ResourceClaimTemplate) field.ErrorList { … }
func validateNodeName(name string, fldPath *field.Path) field.ErrorList { … }
func ValidateResourceSlice(slice *resource.ResourceSlice) field.ErrorList { … }
func ValidateResourceSliceUpdate(resourceSlice, oldResourceSlice *resource.ResourceSlice) field.ErrorList { … }
func validateResourceSliceSpec(spec, oldSpec *resource.ResourceSliceSpec, fldPath *field.Path) field.ErrorList { … }
func validateResourcePool(pool resource.ResourcePool, fldPath *field.Path) field.ErrorList { … }
func validateDevice(device resource.Device, fldPath *field.Path) field.ErrorList { … }
func validateBasicDevice(device resource.BasicDevice, fldPath *field.Path) field.ErrorList { … }
var numericIdentifier …
var preReleaseIdentifier …
var buildIdentifier …
var semverRe …
func validateDeviceAttribute(attribute resource.DeviceAttribute, fldPath *field.Path) field.ErrorList { … }
func validateQuantity(quantity apiresource.Quantity, fldPath *field.Path) field.ErrorList { … }
func validateQualifiedName(name resource.QualifiedName, fldPath *field.Path) field.ErrorList { … }
func validateFullyQualifiedName(name resource.FullyQualifiedName, fldPath *field.Path) field.ErrorList { … }
func validateCIdentifier(id string, fldPath *field.Path) field.ErrorList { … }
func validateSlice[T any](slice []T, maxSize int, validateItem func(T, *field.Path) field.ErrorList, fldPath *field.Path) field.ErrorList { … }
func validateSet[T any, K comparable](slice []T, maxSize int, validateItem func(item T, fldPath *field.Path) field.ErrorList, itemKey func(T) (K, string), fldPath *field.Path) field.ErrorList { … }
func stringKey(item string) (string, string) { … }
func validateMap[K ~string, T any](m map[K]T, maxSize int, validateKey func(K, *field.Path) field.ErrorList, validateItem func(T, *field.Path) field.ErrorList, fldPath *field.Path) field.ErrorList { … }