config

package
v1.2.47-rc3 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalENVVariables

type GlobalENVVariables struct {
	ChannelGroup          string `env:"CHANNEL_GROUP" default:""`
	Version               string `env:"VERSION" default:""`
	Region                string `env:"REGION" default:""`
	ProvisionShard        string `env:"PROVISION_SHARD" default:""`
	NamePrefix            string `env:"NAME_PREFIX"`
	ClusterWaitingTime    int    `env:"CLUSTER_TIMEOUT" default:"60"`
	WaitSetupClusterReady bool   `env:"WAIT_SETUP_CLUSTER_READY" default:"true"`
	SVPC_CREDENTIALS_FILE string `env:"SHARED_VPC_AWS_SHARED_CREDENTIALS_FILE" default:""`
	ComputeMachineType    string `env:"COMPUTE_MACHINE_TYPE" default:""`
	OCM_LOGIN_ENV         string `env:"OCM_LOGIN_ENV" default:""`
}

type TestConfig

type TestConfig struct {
	// Env is the OpenShift Cluster Management environment used to provision clusters.
	ENV               string `env:"OCM_LOGIN_ENV" default:""`
	TestProfile       string `env:"TEST_PROFILE" default:""`
	ResourcesDir      string `env:"RESOURCES_DIR" default:""`
	OutputDir         string `env:"OUTPUT_DIR" default:""`
	YAMLProfilesDir   string `env:"TEST_PROFILE_DIR" default:""`
	RootDir           string `env:"WORKSPACE" default:""`
	ClusterConfigFile string
	ArtifactDir       string `env:"ARTIFACT_DIR" default:""`
	UserDataFile      string
	CreateCommandFile string
	// Temporary file to compatible to current CI jobs. Will remove once all CI jobs migration finished
	ClusterIDFile   string
	APIURLFile      string
	ClusterNameFile string
	ClusterTypeFile string
	ConsoleUrlFile  string
	InfraIDFile     string
	// End of temporary
	ClusterDetailFile               string
	ClusterInstallLogArtifactFile   string
	ClusterAdminFile                string
	ClusterIDPAdminUsernamePassword string
	TestFocusFile                   string
	TestLabelFilterFile             string
	ProxySSHPemFile                 string
	ProxyCABundleFile               string
	GlobalENV                       *GlobalENVVariables
}

TestConfig contains platforms info for the rosacli testing

var Test *TestConfig

Jump to

Keyboard shortcuts

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