validation

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 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 ValidatClusterAddresses

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

ValidatClusterAddresses validates a given ClusterAddresses.

func ValidatClusterCredentialRef added in v1.3.1

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

ValidatClusterCredentialRef validates cluster.Spec.ClusterCredentialRef.

func ValidateCluster

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

ValidateCluster validates a given Cluster.

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

ValidateClusterMark 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