Documentation
¶
Index ¶
- Constants
- func CurrentContext() (string, *api.Config, error)
- func GetPodStatus(pod *corev1.Pod) string
- func VClusterConnectBackgroundProxyName(vClusterName string, vClusterNamespace string, currentContext string) string
- func VClusterContextName(vClusterName string, vClusterNamespace string, currentContext string) string
- func VClusterFromContext(originalContext string) (name string, namespace string, context string)
- func VClusterProContextName(vClusterName string, vClusterNamespace string, currentContext string) string
- func VClusterProFromContext(originalContext string) (name string, project string, context string)
- type Status
- type VCluster
Constants ¶
View Source
const VirtualClusterSelector = "app=vcluster"
Variables ¶
This section is empty.
Functions ¶
func GetPodStatus ¶
GetPodStatus returns the pod status as a string Taken from https://github.com/kubernetes/kubernetes/pkg/printers/internalversion/printers.go
func VClusterConnectBackgroundProxyName ¶ added in v0.11.2
func VClusterContextName ¶
func VClusterFromContext ¶
func VClusterProContextName ¶ added in v0.16.0
Types ¶
Click to show internal directories.
Click to hide internal directories.