Documentation ¶
Overview ¶
buildapi allows querying the Android Build API to find buildid's.
Index ¶
Constants ¶
View Source
const ( // PAGE_SIZE is the number of builds to request per call. PAGE_SIZE = 100 // RETRIES this many times before giving up on a call. RETRIES = 5 // SLEEP_DURATION is the time to sleep between failed calls. SLEEP_DURATION = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API allows finding all the Build's.
func NewAPI ¶
NewAPI returns a new *API.
The 'client' must be authenticated to use the androidbuildinternal api.
func (*API) GetBranchFromBuildID ¶
GetBranchFromBuildID returns the branch name for the given build id.
Click to show internal directories.
Click to hide internal directories.