managedcluster

package
v1.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Copyright Contributors to the Open Cluster Management project

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL