validation

package
v0.119.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InstanceIdLength is the required length of the Instance id
	InstanceIdLength = 8
)
View Source
const (
	// LandscaperDeploymentTenantIdLength is the required length of the LandscaperDeployment tenant id
	LandscaperDeploymentTenantIdLength = 8
)

Variables

This section is empty.

Functions

func ValidateDataPlane

func ValidateDataPlane(dataPlane *v1alpha1.DataPlane, fldPath *field.Path) field.ErrorList

func ValidateHighAvailabilityConfig

func ValidateHighAvailabilityConfig(haConfig *v1alpha1.HighAvailabilityConfig, fldPath *field.Path) field.ErrorList

func ValidateInstance

func ValidateInstance(instance *v1alpha1.Instance, oldInstance *v1alpha1.Instance) field.ErrorList

ValidateInstance validates an instance

func ValidateLandscaperConfiguration added in v0.113.0

func ValidateLandscaperConfiguration(landscaperConfiguration *v1alpha1.LandscaperConfiguration, fldPath *field.Path) field.ErrorList

func ValidateLandscaperDeployment

func ValidateLandscaperDeployment(deployment *v1alpha1.LandscaperDeployment, oldDeployment *v1alpha1.LandscaperDeployment) field.ErrorList

ValidateLandscaperDeployment validates a LandscaperDeployment

func ValidateObjectReference

func ValidateObjectReference(ref *v1alpha1.ObjectReference, fldPath *field.Path) field.ErrorList

ValidateObjectReference validates an object reference

func ValidateSecretReference

func ValidateSecretReference(ref *v1alpha1.SecretReference, fldPath *field.Path) field.ErrorList

ValidateSecretReference validates a secret reference

func ValidateServiceTargetConfig

func ValidateServiceTargetConfig(config *v1alpha1.ServiceTargetConfig) field.ErrorList

ValidateServiceTargetConfig validates a ServiceTargetConfig

func ValidateTargetScheduling

func ValidateTargetScheduling(scheduling *v1alpha1.TargetScheduling) field.ErrorList

ValidateTargetScheduling validates a TargetScheduling

Types

This section is empty.

Jump to

Keyboard shortcuts

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