validation

package
v1.26.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 5 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 ValidatePodScheduling

func ValidatePodScheduling(resourceClaim *resource.PodScheduling) field.ErrorList

ValidatePodScheduling validates a PodScheduling.

func ValidatePodSchedulingStatusUpdate

func ValidatePodSchedulingStatusUpdate(resourceClaim, oldPodScheduling *resource.PodScheduling) field.ErrorList

ValidatePodSchedulingStatusUpdate tests if an update to the status of a PodScheduling is valid.

func ValidatePodSchedulingUpdate

func ValidatePodSchedulingUpdate(resourceClaim, oldPodScheduling *resource.PodScheduling) field.ErrorList

ValidatePodSchedulingUpdate tests if an update to PodScheduling 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