Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandEnvironments ¶ added in v1.2.0
func ExpandEnvironments(pipeline *gen.DeploymentPipeline) []string
ExpandEnvironments returns every environment referenced by the pipeline's promotion paths (each path's source followed by its targets), de-duplicated while preserving first-seen order. A pipeline that declares no promotion paths yields no environments; that is a valid state, not an error.
func FindLowestEnvironment ¶ added in v1.2.0
func FindLowestEnvironment(pipeline *gen.DeploymentPipeline) (string, error)
FindLowestEnvironment finds the environment that is not a target in any promotion path.
func FindSourceEnvironment ¶ added in v1.2.0
func FindSourceEnvironment(pipeline *gen.DeploymentPipeline, targetEnv string) (string, error)
FindSourceEnvironment finds the source environment for a given target environment in the pipeline.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.