steps

package
v1.8.4-RC1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 NewCopyConfigToMapStep added in v1.4.2

func NewCopyConfigToMapStep() model.Step

NewCopyConfigToMapStep Constructor

func NewDeployStep

func NewDeployStep(namespaceWatcher kube.NamespaceWatcher) model.Step

NewDeployStep Constructor

func NewPromoteStep

func NewPromoteStep() model.Step

NewPromoteStep 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 CopyConfigToMapStepImplementation added in v1.4.2

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

CopyConfigToMapStepImplementation Step to copy RA from clone to configmap

func (*CopyConfigToMapStepImplementation) ErrorMsg added in v1.4.2

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

ErrorMsg Override of default step method

func (*CopyConfigToMapStepImplementation) ImplementationForType added in v1.4.2

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

ImplementationForType Override of default step method

func (*CopyConfigToMapStepImplementation) Run added in v1.4.2

Run Override of default step method

func (*CopyConfigToMapStepImplementation) SucceededMsg added in v1.4.2

func (cli *CopyConfigToMapStepImplementation) 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 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 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