pipeline

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSteps

func GetSteps() []string

GetSteps Enumerated list of steps

Types

type Definition

type Definition struct {
	Type  v1.RadixPipelineType
	Steps []StepType
}

Definition Holds pipeline definition

func GetPipelineFromName

func GetPipelineFromName(name string) (*Definition, error)

GetPipelineFromName Gets pipeline from string

func GetSupportedPipelines

func GetSupportedPipelines() []Definition

GetSupportedPipelines Lists supported pipelines

type StepType

type StepType int

StepType Enumeration of the different steps a pipeline could contain

const (
	// ApplyConfigStep Step type to apply radix config
	ApplyConfigStep StepType = iota

	// BuildStep Step to build the docker image
	BuildStep

	// DeployStep Step to deploy the RD
	DeployStep

	// PromoteStep Will promote a deployment from one environment to another,
	// or an older deployment to an active
	PromoteStep
)

func GetStepFromName

func GetStepFromName(name string) (StepType, error)

GetStepFromName Gets Step from string

func (StepType) String

func (p StepType) String() string

Jump to

Keyboard shortcuts

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