Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ClusterNotExistsFormat = "cluster %s not exists"
)
Functions ¶
This section is empty.
Types ¶
type ClusterClients ¶
type ClusterClients interface {
IsHostCluster(cluster *clusterv1alpha1.Cluster) bool
IsClusterReady(cluster *clusterv1alpha1.Cluster) bool
GetClusterKubeconfig(string) (string, error)
Get(string) (*clusterv1alpha1.Cluster, error)
GetInnerCluster(string) *innerCluster
}
func NewClusterClient ¶
func NewClusterClient(clusterInformer clusterinformer.ClusterInformer) ClusterClients
Click to show internal directories.
Click to hide internal directories.