validation

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ValidInfrastructureProviderTypes is a set of valid infrastructure provider types.

Functions

func ValidateCluster

func ValidateCluster(obj *lsv1alpha1.Target, fldPath *field.Path) field.ErrorList

ValidateCluster validates the cluster.

func ValidateETCDBackup

func ValidateETCDBackup(obj *api.ETCDBackup, fldPath *field.Path) field.ErrorList

ValidateETCDBackup validates an ETCDBackup object.

func ValidateHostingCluster

func ValidateHostingCluster(obj *api.ClusterSettings, fldPath *field.Path) field.ErrorList

ValidateHostingCluster validates a ClusterSettings object.

func ValidateImports

func ValidateImports(obj *api.Imports) field.ErrorList

ValidateImports validates an Imports object.

func ValidateRSAPrivateKey

func ValidateRSAPrivateKey(obj *string, fldPath *field.Path) field.ErrorList

ValidateRSAPrivateKey validates an RSA private key in PEM format

func ValidateSNI

func ValidateSNI(obj *api.SNI, fldPath *field.Path) field.ErrorList

ValidateSNI validates a SNI object.

func ValidateVirtualGarden

func ValidateVirtualGarden(obj *api.VirtualGarden, fldPath *field.Path) field.ErrorList

ValidateVirtualGarden validates a VirtualGarden object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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