Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildRequest ¶
type BuildRequest struct { // HttpClient is a authorized http.Client object with Gerrit scope. HTTPClient *http.Client // GerritHost is the Gerrit instance to query from. // ex. "https://cos-review.googlesource.com" GerritHost string // GitilesHost is the GoB instance to query from. // It should contain the manifest repository // ex. "cos.googlesource.com" (note the lack of https://) GitilesHost string // ManifestRepo is the repository the manifest.xml files are located in. // ex. "cos/manifest-snapshots" ManifestRepo string // CL can be either the CL number or commit SHA of your target CL // ex. 3741 or If9f774179322c413fa0fd5ebb3dd615c5b22cd6c CL string }
BuildRequest is the input struct for the FindBuild function
type BuildResponse ¶
BuildResponse is the output struct for the FindBuild function
func FindBuild ¶
func FindBuild(request *BuildRequest) (*BuildResponse, utils.ChangelogError)
FindBuild locates the first build that a CL was introduced to.
func FindReleasedBuild ¶
func FindReleasedBuild(request *BuildRequest) (*BuildResponse, utils.ChangelogError)
findReleasedBuild locates the first build that a CL was introduced in using the builds-info database
Click to show internal directories.
Click to hide internal directories.