Documentation
¶
Index ¶
- Variables
- func FlushTrack(logger *logrus.Entry, track string) (steps map[string]*UpdateRegionalStatusPayload, err error)
- func RecordStepFail(logger *logrus.Entry, csp string, track string, step string, ...)
- func RecordStepStart(logger *logrus.Entry, accountID string, track string, step string, ...)
- func RecordStepSuccess(logger *logrus.Entry, csp string, track string, step string, ...)
- func RecordStepTestFail(logger *logrus.Entry, csp string, track string, step string, ...)
- type DeployPhase
- type DeployResult
- type ExecutionResult
- type UpdateRegionalStatusPayload
- type UpdateStatusPayload
Constants ¶
This section is empty.
Variables ¶
View Source
var Cfg, _ = config.GetConfig()
View Source
var StepDeployments = map[string]ExecutionResult{}
Functions ¶
func FlushTrack ¶
func FlushTrack(logger *logrus.Entry, track string) (steps map[string]*UpdateRegionalStatusPayload, err error)
Flush track will record a track's regional deployments
func RecordStepFail ¶
func RecordStepStart ¶
func RecordStepSuccess ¶
Types ¶
type DeployPhase ¶
type DeployPhase int
const ( PreDeploy DeployPhase = iota PostDeploy RegionalPostDeploy )
func (DeployPhase) String ¶
func (d DeployPhase) String() string
type DeployResult ¶
type DeployResult int
const ( InProgress DeployResult = iota Success Fail Unstable )
func (DeployResult) String ¶
func (d DeployResult) String() string
type ExecutionResult ¶
type UpdateRegionalStatusPayload ¶
type UpdateRegionalStatusPayload struct {
AccountStepDeploymentID string `json:"account_step_deployment_id"`
FailedRegions []string `json:"failed_regions"`
DeploymentPhase string `json:"deployment_phase"`
CSP string `json:"csp"`
Result string `json:"result"`
ResultMessage string `json:"result_message"`
TargetRegions []string `json:"-"`
Executions []ExecutionResult `json:"-"`
}
type UpdateStatusPayload ¶
type UpdateStatusPayload struct {
Product string `json:"product"`
AccountID string `json:"account_id"`
CSP string `json:"csp"`
DeploymentPhase string `json:"deployment_phase"`
Version string `json:"version"`
Result string `json:"result"`
ResultMessage string `json:"result_message"`
Tool string `json:"tool"`
AccountDeploymentID string `json:"account_deployment_id"`
RingDeploymentID string `json:"ring_deployment_id"`
ReleaseDeploymentID string `json:"release_deployment_id"`
Stage string `json:"stage"`
Track string `json:"track"`
Step string `json:"step"`
TargetRegions []string `json:"targeted_regions"`
PrimaryRegion string `json:"primary_region"`
}
Click to show internal directories.
Click to hide internal directories.