promote

package
v1.66.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 13 Imported by: 0

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 NewPromoteStep

func NewPromoteStep() model.Step

NewPromoteStep 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 To environment does not exist

Types

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(ctx context.Context, pipelineInfo *model.PipelineInfo) error

Run Override of default step method

func (*PromoteStepImplementation) SucceededMsg

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