Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpenState = "open" CautionState = "caution" ClosedState = "closed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutorollerSnapshot ¶
type AutorollerSnapshot struct { DisplayName string `json:"name"` NumFailed int `json:"num_failed"` Url string `json:"url"` }
AutorollerSnapshot - contains the current state of an autoroller with it's display name (eg: "Chrome") and URL (eg: "https://autoroll.skia.org/r/skia-autoroll").
type Status ¶
type Status struct { Date time.Time `json:"date" datastore:"date"` Message string `json:"message" datastore:"message"` Rollers string `json:"rollers" datastore:"rollers"` Username string `json:"username" datastore:"username"` // Only specified for backwards compatibility. FirstRev int `json:"first_rev,omitempty" datastore:"first_rev"` LastRev int `json:"last_rev,omitempty" datastore:"last_rev"` // Should be one of open/closed/caution. GeneralState string `json:"general_state" datastore:"general_state,omitempty"` }
Status - A Tree status.
Click to show internal directories.
Click to hide internal directories.