hypershift

package
v0.0.0-...-be3fc39 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagementClusterKubeConfigEnv = "HYPERSHIFT_MANAGEMENT_CLUSTER_KUBECONFIG"
	HostedControlPlaneNamespaceEnv = "HYPERSHIFT_HOSTED_CONTROL_PLANE_NAMESPACE"
	HostedClusterKubeConfigEnv     = "KUBECONFIG"
	HostedClusterNameEnv           = "CLUSTER_NAME"
)

Variables

This section is empty.

Functions

func BuildControlPlaneClient

func BuildControlPlaneClient() (client.Client, error)

func BuildDataPlaneClient

func BuildDataPlaneClient() (client.Client, error)

func GetHostedClusterName

func GetHostedClusterName() (string, error)

func GetManagementClusterNamespace

func GetManagementClusterNamespace() (string, error)

func IsHypershiftCluster

func IsHypershiftCluster() bool

IsHypershiftCluster should be used only on CI environment

Types

This section is empty.

Jump to

Keyboard shortcuts

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