package
Version:
v0.0.0-...-dfa43ee
Opens a new window with list of versions in this module.
Published: Jun 14, 2016
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func List(projectID, branchID, limit, offset int32) (*list, error)
type Branch struct {
ID int32 `json:"branch_id"`
Name string `json:"branch"`
}
type Error struct {
Message string `json:"message"`
}
type Item struct {
BuildID int32 `json:"build_id"`
Status string `json:"status"`
Error string `json:"error"`
CreatedAt time.Time `json:"created_at"`
StartedAt *time.Time `json:"started_at"`
FinishedAt *time.Time `json:"finished_at"`
CommitSHA string `json:"commit_sha"`
CommitMessage string `json:"commit_message"`
Branch string `json:"branch"`
BranchID int32 `json:"branch_id"`
ProjectID int32 `json:"project_id"`
}
type Part struct {
PartID int32 `json:"part_id"`
Image string `json:"image"`
Version string `json:"version"`
Output string `json:"output"`
Success bool `json:"success"`
StartedAt time.Time `json:"started_at"`
FinishedAt time.Time `json:"finished_at"`
Tests []Test `json:"tests"`
}
type Test struct {
Function string `json:"function"`
Errors []Error `json:"errors"`
Duration float64 `json:"duration"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.