deployment

package
v1.9.18 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsArtifactDir

func ContainsArtifactDir(deploymentErrs []DeploymentError) bool

func ContainsUnlockOrCleanup

func ContainsUnlockOrCleanup(deploymentErrs []DeploymentError) bool

func IndentBlock

func IndentBlock(block string) string

Types

type AllDeploymentsError

type AllDeploymentsError struct {
	Summary        string
	DeploymentErrs []DeploymentError
}

func (AllDeploymentsError) Error

func (a AllDeploymentsError) Error() string

func (AllDeploymentsError) Process

func (a AllDeploymentsError) Process() error

func (AllDeploymentsError) ProcessWithFooter

func (a AllDeploymentsError) ProcessWithFooter(footer string) error

type DeploymentError

type DeploymentError struct {
	Deployment string
	Errs       orchestrator.Error
}

type DeploymentExecutor

type DeploymentExecutor interface {
	Run([]Executable) []DeploymentError
}

type ErrorHandleFunc

type ErrorHandleFunc func(deploymentsError AllDeploymentsError) error

type Executable

type Executable interface {
	Execute() DeploymentError
}

type ParallelExecutor

type ParallelExecutor struct {
}

func NewParallelExecutor

func NewParallelExecutor() ParallelExecutor

func (ParallelExecutor) Run

func (s ParallelExecutor) Run(executables []Executable) []DeploymentError

type SerialExecutor

type SerialExecutor struct {
}

func NewSerialExecutor

func NewSerialExecutor() SerialExecutor

func (SerialExecutor) Run

func (s SerialExecutor) Run(executables []Executable) []DeploymentError

Jump to

Keyboard shortcuts

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