inspectionstests

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InspectionListDataSourceName    = "inspection_list_Test"
	InspectionResultsDataSourceName = "inspection_result_Test"
)

Variables

View Source
var (
	InspectionListDataSourceFullName    = fmt.Sprintf("data.%s.%s", inspectionsres.ResourceNameInspections, InspectionListDataSourceName)
	InspectionResultsDataSourceFullName = fmt.Sprintf("data.%s.%s", inspectionsres.ResourceNameInspectionResults, InspectionResultsDataSourceName)
)

Functions

func GetInspectionListConfig

func GetInspectionListConfig(inspectionsEnvVars map[ClusterClassEnvVar]string) string

func GetInspectionResultsConfig

func GetInspectionResultsConfig(inspectionsEnvVars 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"
	ClusterNameEnv           ClusterClassEnvVar = "CLUSTER_NAME"
	InspectionNameEnv        ClusterClassEnvVar = "INSPECTION_NAME"
)

Jump to

Keyboard shortcuts

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