validation

package
v1.28.14 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: 6 Imported by: 4

Documentation

Index

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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