Documentation ¶
Index ¶
- func EmptyArgument(argumentName string) error
- func NewPromoteStep() model.Step
- func NonExistingComponentName(appName, componentName string) error
- func NonExistingDeployment(deploymentName string) error
- func NonExistingFromEnvironment(environment string) error
- func NonExistingToEnvironment(environment string) error
- type PromoteStepImplementation
- func (cli *PromoteStepImplementation) ErrorMsg(err error) string
- func (cli *PromoteStepImplementation) ImplementationForType() pipeline.StepType
- func (cli *PromoteStepImplementation) Run(ctx context.Context, pipelineInfo *model.PipelineInfo) error
- func (cli *PromoteStepImplementation) SucceededMsg() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyArgument ¶
EmptyArgument Argument by name cannot be empty
func NonExistingComponentName ¶
NonExistingComponentName Component by name was not found
func NonExistingDeployment ¶
NonExistingDeployment Deployment wasn't found
func NonExistingFromEnvironment ¶
NonExistingFromEnvironment From environment does not exist
func NonExistingToEnvironment ¶
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
Click to show internal directories.
Click to hide internal directories.