clusterclasstests

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterClassDataSourceName = "cluster_class_demo"
)

Variables

View Source
var (
	ClusterClassDataSourceFullName = fmt.Sprintf("data.%s.%s", clusterclassres.ResourceName, ClusterClassDataSourceName)
)

Functions

func GetClusterClassConfig

func GetClusterClassConfig(clusterClassEnvVars map[ClusterClassEnvVar]string) string

func ReadClusterEnvironmentVariables

func ReadClusterEnvironmentVariables() (envVars map[ClusterClassEnvVar]string, errs []error)

Types

type ClusterClassEnvVar

type ClusterClassEnvVar string
const (
	// TKGM Env Vars.
	ManagementClusterNameEnv ClusterClassEnvVar = "MANAGEMENT_CLUSTER_NAME"
	ProvisionerNameEnv       ClusterClassEnvVar = "PROVISIONER_NAME"
	ClusterClassNameEnv      ClusterClassEnvVar = "CLUSTER_CLASS_NAME"
)

Jump to

Keyboard shortcuts

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