Documentation ¶
Index ¶
- func ValidateCluster(ctx context.Context, cluster *types.Cluster) field.ErrorList
- func ValidateClusterAddresses(addresses []platform.ClusterAddress, fldPath *field.Path) field.ErrorList
- func ValidateClusterCredentialRef(ctx context.Context, cluster *types.Cluster, fldPath *field.Path) field.ErrorList
- func ValidateClusterMark(ctx context.Context, clusterName string, fldPath *field.Path, ...) field.ErrorList
- func ValidateClusterVersion(fldPath *field.Path, client kubernetes.Interface) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCluster ¶
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
ValidateClusterVersion validates a given cluster's version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.