Documentation ¶
Index ¶
- func ValidateCluster(platformClient platforminternalclient.PlatformInterface, clusterName string) field.ErrorList
- func ValidateClusterVersioned(getter ClusterGetter, clusterName string, tenantID string) field.ErrorList
- func ValidateUpdateCluster(newClusterName, oldClusterName string) field.ErrorList
- type BusinessObjectGetter
- type ClusterGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCluster ¶
func ValidateCluster(platformClient platforminternalclient.PlatformInterface, clusterName string) field.ErrorList
ValidateCluster validate cluster
func ValidateClusterVersioned ¶
func ValidateClusterVersioned(getter ClusterGetter, clusterName string, tenantID string) field.ErrorList
ValidateClusterVersioned validate cluster
func ValidateUpdateCluster ¶
ValidateUpdateCluster validate cluster
Types ¶
type BusinessObjectGetter ¶
type BusinessObjectGetter interface { Project(name string, options metav1.GetOptions) (*business.Project, error) Namespace(project, name string, options metav1.GetOptions) (*business.Namespace, error) }
func NewObjectGetter ¶
func NewObjectGetter(businessClient *businessinternalclient.BusinessClient) BusinessObjectGetter
type ClusterGetter ¶
type ClusterGetter interface {
Cluster(name string, options metav1.GetOptions) (*platformv1.Cluster, error)
}
func NewClusterGetter ¶
func NewClusterGetter(platformClient platformversionedclient.PlatformV1Interface) ClusterGetter
Click to show internal directories.
Click to hide internal directories.