Documentation ¶
Index ¶
- func ValidatClusterAddresses(addresses []platform.ClusterAddress, fldPath *field.Path) field.ErrorList
- func ValidatClusterCredentialRef(ctx context.Context, cluster *types.Cluster, fldPath *field.Path) field.ErrorList
- func ValidateCluster(ctx context.Context, cluster *types.Cluster) 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 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 ¶
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
ValidateClusterMark validates a given cluster's version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.