Documentation ¶
Index ¶
Constants ¶
View Source
const ( DevEnv = iota ReviewEnv TestEnv StageEnv ProdEnv DevEnvValue = "dev" ReviewEnvValue = "review" TestEnvValue = "test" StageEnvValue = "stage" ProdEnvValue = "prod" )
View Source
const (
EnvVariableReference = "{env}"
)
Variables ¶
This section is empty.
Functions ¶
func EnvExpansion ¶
EnvExpansion - expand a template with an environment variable reference
func GetRuntimeEnv ¶
func GetRuntimeEnv() string
GetRuntimeEnv - function to get the runtime environment
func IsReviewEnv ¶
func IsReviewEnv() bool
func IsStageEnv ¶
func IsStageEnv() bool
func SetRuntimeEnv ¶
func SetRuntimeEnv(s string)
SetRuntimeEnv - function to set the runtime environment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.