config

package
v1.2.41-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 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"`
}

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:""`
	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
	ClusterIDFile                 string // Temporary file to compatible to current CI jobs. Will remove once all CI jobs migration finished
	CreateCommandFile             string
	APIURLFile                    string // Temporary file to compatible to current CI jobs. Will remove once all CI jobs migration finished
	ClusterNameFile               string // Temporary file to compatible to current CI jobs. Will remove once all CI jobs migration finished
	ClusterTypeFile               string // Temporary file to compatible to current CI jobs. Will remove once all CI jobs migration finished
	ConsoleUrlFile                string // Temporary file to compatible to current CI jobs. Will remove once all CI jobs migration finished
	InfraIDFile                   string // Temporary file to compatible to current CI jobs. Will remove once all CI jobs migration finished
	ClusterDetailFile             string
	ClusterInstallLogArtifactFile string
	ClusterAdminFile              string
	TestFocusFile                 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