Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EnvKeyDeployEnv sets the environment variable name for deoloy env. EnvKeyDeployEnv string = "DEPLOY_ENV" // EnvKeyE2EVersionString sets the environment variable name for E2E version string. EnvKeyE2EVersionString = "E2E_VERSION_STRING" // E2EEnv is the const string for the E2E environment. E2EEnv string = "e2e" // ProdEnv is the const string for the production environment. ProdEnv string = "prod" INTEnv string = "int" INTv2Env string = "intv2" StagingEnv string = "staging" )
Variables ¶
This section is empty.
Functions ¶
func GetLoggingRegion ¶
GetLoggingRegion returns the aks region for logs (int-eastus; staging-westus2)
Types ¶
type DeploymentConfig ¶
type DeploymentConfig struct { // DeployEnv should be in [prod,e2e,...] DeployEnv string E2EConfig E2EConfig }
DeploymentConfig contains the deployment configurations.
func GetDeploymentConfig ¶
func GetDeploymentConfig() *DeploymentConfig
GetDeploymentConfig returns the singleton of the config.
func (*DeploymentConfig) IsE2E ¶
func (d *DeploymentConfig) IsE2E() bool
IsE2E tells if current deployment environment is E2E.
Click to show internal directories.
Click to hide internal directories.