validation

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCluster

func ValidateCluster(ctx context.Context, cluster *types.Cluster) field.ErrorList

ValidateCluster validates a given Cluster.

func ValidateClusterAddresses added in v1.9.0

func ValidateClusterAddresses(addresses []platform.ClusterAddress, fldPath *field.Path) field.ErrorList

ValidateClusterAddresses validates a given ClusterAddresses.

func ValidateClusterCredentialRef added in v1.9.0

func ValidateClusterCredentialRef(ctx context.Context, cluster *types.Cluster, fldPath *field.Path) field.ErrorList

ValidateClusterCredentialRef validates cluster.Spec.ClusterCredentialRef.

func ValidateClusterMark added in v1.3.1

func ValidateClusterMark(ctx context.Context, clusterName string, fldPath *field.Path, client kubernetes.Interface) field.ErrorList

ValidateClusterMark validates a given cluster had imported already.

func ValidateClusterVersion added in v1.3.1

func ValidateClusterVersion(fldPath *field.Path, client kubernetes.Interface) field.ErrorList

ValidateClusterVersion validates a given cluster's version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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