Documentation ¶
Index ¶
- func ContainsArtifactDir(deploymentErrs []DeploymentError) bool
- func ContainsUnlockOrCleanup(deploymentErrs []DeploymentError) bool
- func IndentBlock(block string) string
- type AllDeploymentsError
- type DeploymentError
- type DeploymentExecutor
- type ErrorHandleFunc
- type Executable
- type ParallelExecutor
- type SerialExecutor
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 ¶
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
Click to show internal directories.
Click to hide internal directories.