Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectInfo ¶
type ProjectInfo struct {
ProjectID string `json:"project_id"`
}
type Run ¶
type Run struct { ID string `json:"id"` RefType string `json:"ref_type"` Ref string `json:"ref"` Name string `json:"name"` Counter uint64 `json:"counter"` Phase string `json:"phase"` Result string `json:"result"` SetupErrors []string `json:"setup_errors"` Tasks map[string]*RunTask `json:"tasks"` EnqueueTime *time.Time `json:"enqueue_time"` StartTime *time.Time `json:"start_time"` EndTime *time.Time `json:"end_time"` }
type RunTask ¶
type RunTask struct { ID string `json:"id"` Name string `json:"name"` Level int `json:"level"` Skip bool `json:"skip"` Depends map[string]*RunTaskDepend `json:"depends"` Status string `json:"status"` Timedout bool `json:"timedout"` WaitingApproval bool `json:"waiting_approval"` Approved bool `json:"approved"` SetupStep RunTaskStep `json:"setup_step"` Steps []*RunTaskStep `json:"steps"` StartTime *time.Time `json:"start_time"` EndTime *time.Time `json:"end_time"` }
type RunTaskDepend ¶
type RunTaskStep ¶
type RunWebhook ¶
type RunWebhook struct { // Version is the version of webhook struct data Version uint64 `json:"version"` // ProjectInfo is the info of the project ProjectInfo ProjectInfo `json:"project_info"` // Run is the current run status Run *Run `json:"run"` }
Click to show internal directories.
Click to hide internal directories.