Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContextInfo ¶ added in v0.48.0
type ContextInfo struct { DeploymentID string `json:"deploymentID,omitempty"` ApplicationID string `json:"applicationID,omitempty"` ApplicationName string `json:"applicationName,omitempty"` TriggeredAt int64 `json:"triggeredAt,omitempty"` TriggeredCommitHash string `json:"triggeredCommitHash,omitempty"` TriggeredCommander string `json:"triggeredCommander,omitempty"` RepositoryURL string `json:"repositoryURL,omitempty"` Summary string `json:"summary,omitempty"` Labels map[string]string `json:"labels,omitempty"` IsRollback bool `json:"isRollback,omitempty"` }
ContextInfo is the information that will be passed to the script run stage.
func NewContextInfo ¶ added in v0.48.0
func NewContextInfo(d *model.Deployment, isRollback bool) *ContextInfo
NewContextInfo creates a new ContextInfo from the given deployment.
type Executor ¶
func (*Executor) Execute ¶
func (e *Executor) Execute(sig executor.StopSignal) model.StageStatus
type RollbackExecutor ¶
func (*RollbackExecutor) Execute ¶
func (e *RollbackExecutor) Execute(sig executor.StopSignal) model.StageStatus
Click to show internal directories.
Click to hide internal directories.