steps

package
v1.99.999 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 29 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRadixApplication added in v1.21.0

func CreateRadixApplication(radixClient radixclient.Interface,
	configFileContent string) (*v1.RadixApplication, error)

CreateRadixApplication Create RadixApplication from radixconfig.yaml content

func EmptyArgument

func EmptyArgument(argumentName string) error

EmptyArgument Argument by name cannot be empty

func NewApplyConfigStep

func NewApplyConfigStep() model.Step

NewApplyConfigStep Constructor

func NewBuildStep

func NewBuildStep() model.Step

NewBuildStep Constructor

func NewDeployStep

func NewDeployStep(namespaceWatcher kube.NamespaceWatcher) model.Step

NewDeployStep Constructor

func NewPreparePipelinesStep added in v1.21.0

func NewPreparePipelinesStep() model.Step

NewPreparePipelinesStep Constructor

func NewPromoteStep

func NewPromoteStep() model.Step

NewPromoteStep Constructor

func NewRunPipelinesStep added in v1.21.0

func NewRunPipelinesStep() model.Step

NewRunPipelinesStep Constructor

func NewScanImageStep added in v1.4.0

func NewScanImageStep() model.Step

NewScanImageStep Constructor

func NonExistingComponentName

func NonExistingComponentName(appName, componentName string) error

NonExistingComponentName Component by name was not found

func NonExistingDeployment

func NonExistingDeployment(deploymentName string) error

NonExistingDeployment Deployment wasn't found

func NonExistingFromEnvironment

func NonExistingFromEnvironment(environment string) error

NonExistingFromEnvironment From environment does not exist

func NonExistingToEnvironment

func NonExistingToEnvironment(environment string) error

NonExistingToEnvironment From environment does not exist

Types

type ApplyConfigStepImplementation

type ApplyConfigStepImplementation struct {
	model.DefaultStepImplementation
	// contains filtered or unexported fields
}

ApplyConfigStepImplementation Step to apply RA

func (*ApplyConfigStepImplementation) ErrorMsg

func (cli *ApplyConfigStepImplementation) ErrorMsg(err error) string

ErrorMsg Override of default step method

func (*ApplyConfigStepImplementation) ImplementationForType

func (cli *ApplyConfigStepImplementation) ImplementationForType() pipeline.StepType

ImplementationForType Override of default step method

func (*ApplyConfigStepImplementation) Run

func (cli *ApplyConfigStepImplementation) Run(pipelineInfo *model.PipelineInfo) error

Run Override of default step method

func (*ApplyConfigStepImplementation) SucceededMsg

func (cli *ApplyConfigStepImplementation) SucceededMsg() string

SucceededMsg Override of default step method

type BuildStepImplementation

type BuildStepImplementation struct {
	model.DefaultStepImplementation
	// contains filtered or unexported fields
}

BuildStepImplementation Step to build docker image

func (*BuildStepImplementation) ErrorMsg

func (cli *BuildStepImplementation) ErrorMsg(err error) string

ErrorMsg Override of default step method

func (*BuildStepImplementation) ImplementationForType

func (cli *BuildStepImplementation) ImplementationForType() pipeline.StepType

ImplementationForType Override of default step method

func (*BuildStepImplementation) Run

func (cli *BuildStepImplementation) Run(pipelineInfo *model.PipelineInfo) error

Run Override of default step method

func (*BuildStepImplementation) SucceededMsg

func (cli *BuildStepImplementation) SucceededMsg() string

SucceededMsg Override of default step method

type DeployStepImplementation

type DeployStepImplementation struct {
	model.DefaultStepImplementation
	// contains filtered or unexported fields
}

DeployStepImplementation Step to deploy RD into environment

func (*DeployStepImplementation) ErrorMsg

func (cli *DeployStepImplementation) ErrorMsg(err error) string

ErrorMsg Override of default step method

func (*DeployStepImplementation) ImplementationForType

func (cli *DeployStepImplementation) ImplementationForType() pipeline.StepType

ImplementationForType Override of default step method

func (*DeployStepImplementation) Run

func (cli *DeployStepImplementation) Run(pipelineInfo *model.PipelineInfo) error

Run Override of default step method

func (*DeployStepImplementation) SucceededMsg

func (cli *DeployStepImplementation) SucceededMsg() string

SucceededMsg Override of default step method

type PreparePipelinesStepImplementation added in v1.21.0

type PreparePipelinesStepImplementation struct {
	model.DefaultStepImplementation
	// contains filtered or unexported fields
}

PreparePipelinesStepImplementation Step to prepare radixconfig and Tektone pipelines

func (*PreparePipelinesStepImplementation) ErrorMsg added in v1.21.0

func (cli *PreparePipelinesStepImplementation) ErrorMsg(err error) string

ErrorMsg Override of default step method

func (*PreparePipelinesStepImplementation) ImplementationForType added in v1.21.0

func (cli *PreparePipelinesStepImplementation) ImplementationForType() pipeline.StepType

ImplementationForType Override of default step method

func (*PreparePipelinesStepImplementation) Run added in v1.21.0

Run Override of default step method

func (*PreparePipelinesStepImplementation) SucceededMsg added in v1.21.0

func (cli *PreparePipelinesStepImplementation) SucceededMsg() string

SucceededMsg Override of default step method

type PromoteStepImplementation

type PromoteStepImplementation struct {
	model.DefaultStepImplementation
	// contains filtered or unexported fields
}

PromoteStepImplementation Step to promote deployment to another environment, or inside environment

func (*PromoteStepImplementation) ErrorMsg

func (cli *PromoteStepImplementation) ErrorMsg(err error) string

ErrorMsg Override of default step method

func (*PromoteStepImplementation) ImplementationForType

func (cli *PromoteStepImplementation) ImplementationForType() pipeline.StepType

ImplementationForType Override of default step method

func (*PromoteStepImplementation) Run

func (cli *PromoteStepImplementation) Run(pipelineInfo *model.PipelineInfo) error

Run Override of default step method

func (*PromoteStepImplementation) SucceededMsg

func (cli *PromoteStepImplementation) SucceededMsg() string

SucceededMsg Override of default step method

type RunPipelinesStepImplementation added in v1.21.0

type RunPipelinesStepImplementation struct {
	model.DefaultStepImplementation
	// contains filtered or unexported fields
}

RunPipelinesStepImplementation Step to run Tekton pipelines

func (*RunPipelinesStepImplementation) ErrorMsg added in v1.21.0

func (cli *RunPipelinesStepImplementation) ErrorMsg(err error) string

ErrorMsg Override of default step method

func (*RunPipelinesStepImplementation) ImplementationForType added in v1.21.0

func (cli *RunPipelinesStepImplementation) ImplementationForType() pipeline.StepType

ImplementationForType Override of default step method

func (*RunPipelinesStepImplementation) Run added in v1.21.0

func (cli *RunPipelinesStepImplementation) Run(pipelineInfo *model.PipelineInfo) error

Run Override of default step method

func (*RunPipelinesStepImplementation) SucceededMsg added in v1.21.0

func (cli *RunPipelinesStepImplementation) SucceededMsg() string

SucceededMsg Override of default step method

type ScanImageImplementation added in v1.4.0

type ScanImageImplementation struct {
	model.DefaultStepImplementation
	// contains filtered or unexported fields
}

ScanImageImplementation Step to scan image for vulnerabilities

func (*ScanImageImplementation) ErrorMsg added in v1.4.0

func (cli *ScanImageImplementation) ErrorMsg(err error) string

ErrorMsg Override of default step method

func (*ScanImageImplementation) ImplementationForType added in v1.4.0

func (cli *ScanImageImplementation) ImplementationForType() pipeline.StepType

ImplementationForType Override of default step method

func (*ScanImageImplementation) Run added in v1.4.0

func (cli *ScanImageImplementation) Run(pipelineInfo *model.PipelineInfo) error

Run Override of default step method

func (*ScanImageImplementation) SucceededMsg added in v1.4.0

func (cli *ScanImageImplementation) SucceededMsg() string

SucceededMsg Override of default step method

Jump to

Keyboard shortcuts

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