Documentation
¶
Index ¶
Constants ¶
View Source
const ( COMMIT_STATE_COMMITTED = "committed" COMMIT_STATE_SUBMITTED = "submitted" COMMIT_STATE_APPROVED = "approved" COMMIT_STATE_DEPLOYED = "deployed" )
View Source
const ( EVENT_COMMIT = "commit" // created commit EVENT_SUBMIT = "submit" // submit to code review EVENT_APPROVE = "approve" // approve code review EVENT_DEPLOY = "deploy" EVENT_INCIDENT_STATUS_CHANGE = "incident_status_change" )
View Source
const ( INCIDENT_STATE_OPEN = " open" INCIDENT_STATE_RESOLVED = "resolved" )
View Source
const ( STATUS_SUCCESS = "success" STATUS_FAILURE = "failure" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Incident ¶
type Incident struct {
Model
OpeningTime time.Time // time of event
ResolutionTime time.Time
PipelineId string // key used to group events
State string // opened, resolved
Environment string // dev, qa, prod
TimeToRestore int64
IncidentId string
SourceId string // Grouping id for incidents from the same source
}
Click to show internal directories.
Click to hide internal directories.