Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCluster ¶
func ValidateCluster(ctx context.Context, platformClient platforminternalclient.PlatformInterface, clusterName string) field.ErrorList
ValidateCluster validate cluster
func ValidateClusterVersioned ¶
func ValidateClusterVersioned(ctx context.Context, getter ClusterGetter, clusterName string, tenantID string) field.ErrorList
ValidateClusterVersioned validate cluster
Types ¶
type BusinessObjectGetter ¶
type BusinessObjectGetter interface { Project(ctx context.Context, name string, options metav1.GetOptions) (*business.Project, error) Namespace(ctx context.Context, project, name string, options metav1.GetOptions) (*business.Namespace, error) }
func NewObjectGetter ¶
func NewObjectGetter(businessClient *businessinternalclient.BusinessClient) BusinessObjectGetter
type ClusterGetter ¶
type ClusterGetter interface {
Cluster(ctx context.Context, 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.