pipeline

package
v1.57.8 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// PreparePipelinesStep Step to prepare pipelines
	PreparePipelinesStep StepType = "prepare-pipelines"

	// ApplyConfigStep Step type to apply radix config
	ApplyConfigStep = "apply-config"

	// BuildStep Step to build the docker image
	BuildStep = "build"

	// DeployStep Step to deploy the RD
	DeployStep = "deploy"

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

	// RunPipelinesStep Step to run pipelines
	RunPipelinesStep = "run-pipelines"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildComponentImage added in v1.45.0

type BuildComponentImage struct {
	ComponentName string
	EnvName       string
	ContainerName string
	Context       string
	Dockerfile    string
	ImageName     string
	ImagePath     string
	Runtime       *radixv1.Runtime
}

BuildComponentImage holds info about a build container

type BuildComponentImages added in v1.45.0

type BuildComponentImages map[string]BuildComponentImage

BuildComponentImages maps component names with build information

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 DeployComponentImage added in v1.45.0

type DeployComponentImage struct {
	ImagePath    string
	ImageTagName string
	Runtime      *radixv1.Runtime
	Build        bool
}

DeployComponentImage Holds info about the image associated with a component

type DeployComponentImages added in v1.45.0

type DeployComponentImages map[string]DeployComponentImage

DeployComponentImages maps component names with image information

type DeployEnvironmentComponentImages added in v1.45.0

type DeployEnvironmentComponentImages map[string]DeployComponentImages

DeployEnvironmentComponentImages maps environment names with components to be deployed

type EnvironmentBuildComponentImages added in v1.50.2

type EnvironmentBuildComponentImages map[string][]BuildComponentImage

EnvironmentBuildComponentImages maps component names with build information for environment

type StepType

type StepType string

StepType Enumeration of the different steps a pipeline could contain

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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