Documentation ¶
Overview ¶
Copyright Contributors to the Open Cluster Management project
Copyright Contributors to the Open Cluster Management project
Index ¶
- Constants
- func GetClusterType(mc *clusterv1.ManagedCluster) string
- func GetCmdAPIConfig(dynamicClient dynamic.Interface, kubeClient *kubernetes.Clientset, ...) (config *clientcmdapi.Config, err error)
- func GetConsoleURL(mc *clusterv1.ManagedCluster) (string, error)
- func IsHosted(mc *clusterv1.ManagedCluster) bool
- func OpenManagedCluster(mc *clusterv1.ManagedCluster) error
Constants ¶
View Source
const ( ConsoleURLClusterClaim string = "consoleurl.cluster.open-cluster-management.io" HostedClusterClusterClaim string = "hostedcluster.hypershift.openshift.io" HostedType string = "hosted" ClusterClaimType string = "clusterclaim" )
Variables ¶
This section is empty.
Functions ¶
func GetClusterType ¶
func GetClusterType(mc *clusterv1.ManagedCluster) string
func GetCmdAPIConfig ¶ added in v1.0.11
func GetCmdAPIConfig(dynamicClient dynamic.Interface, kubeClient *kubernetes.Clientset, mc clusterv1.ManagedCluster, cph *clusterpoolhost.ClusterPoolHost) (config *clientcmdapi.Config, err error)
func GetConsoleURL ¶
func GetConsoleURL(mc *clusterv1.ManagedCluster) (string, error)
func IsHosted ¶
func IsHosted(mc *clusterv1.ManagedCluster) bool
func OpenManagedCluster ¶
func OpenManagedCluster(mc *clusterv1.ManagedCluster) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.