Documentation ¶
Index ¶
Constants ¶
View Source
const ( EVG_API_BASE_URI = "https://evergreen.mongodb.com/rest/v2" EVG_API_HEADER_USER = "Api-User" EVG_API_HEADER_KEY = "Api-Key" EVG_USER_ENV_VAR = "EVG_USER" EVG_KEY_ENV_VAR = "EVG_KEY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
func GetArtifactsForTask ¶
type BuildDetail ¶
type EvgVersion ¶
type EvgVersion struct {
BuildVariantStatus []BuildDetail `json:"build_variants_status"`
}
EvgVersion is a container for the /versions/<id> endpoint response. We only decode build_variants_status since that's all we care about.
type Task ¶
type Task struct { TaskID string `json:"task_id"` BuildID string `json:"build_id"` Variant string `json:"build_variant"` Status string `json:"status"` DisplayName string `json:"display_name"` }
func GetTasksForBuild ¶
GetTasksForBuild gets all the evergreen tasks associated with a build.
func GetTasksForVersion ¶
GetTasksForVersion gets all the evergreen tasks associated with a version.
Click to show internal directories.
Click to hide internal directories.