Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployJob ¶
type DeployJob struct {
Steps []steps.DeployStep
}
DeployJob executes a sequence of deployment steps in order.
A job is made up of ordered deployment steps. Each step runs one at a time, and the job stops immediately if any step fails.
func (*DeployJob) Run ¶
func (j *DeployJob) Run( context deploycontext.DeploymentContext, ) (*DeploymentResult, error)
Run executes each deployment step and stops on the first failure.
type Deployer ¶
type Deployer interface {
Deploy() (*DeploymentResult, error)
}
Deployer defines the behavior required for deployment implementations.
type DeploymentResult ¶
type DeploymentResult struct {
DeploymentName string
Success bool
Started time.Time
Finished time.Time
StepResults []DeploymentStepResult
}
DeploymentResult represents the overall deployment execution result.
Click to show internal directories.
Click to hide internal directories.