Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AndroidCIBuildAPI ¶
type AndroidCIBuildAPI struct { BaseURL string // contains filtered or unexported fields }
func NewAndroidCIBuildAPI ¶
func NewAndroidCIBuildAPI(client *http.Client, baseURL string) *AndroidCIBuildAPI
func NewAndroidCIBuildAPIWithOpts ¶
func NewAndroidCIBuildAPIWithOpts(client *http.Client, baseURL string, opts AndroidCIBuildAPIOpts) *AndroidCIBuildAPI
func (*AndroidCIBuildAPI) DownloadArtifact ¶
func (s *AndroidCIBuildAPI) DownloadArtifact(name, buildID, target string, dst io.Writer) error
func (*AndroidCIBuildAPI) GetLatestGreenBuildID ¶
func (s *AndroidCIBuildAPI) GetLatestGreenBuildID(branch, target string) (string, error)
type AndroidCIBuildAPIOpts ¶
type AndroidCIBuildAPIOpts struct {
Credentials string
}
type BuildAPIError ¶
func (*BuildAPIError) Error ¶
func (e *BuildAPIError) Error() string
type CVDBundleFetcher ¶
type CVDBundleFetcher interface { // Fetches all the necessary artifacts to launch a Cuttlefish device. It support downloading a system // image from a different build if the extraOptions is provided. Fetch(outDir, buildID, target string, extraOptions *ExtraCVDOptions) error }
type ExtraCVDOptions ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Downloads and organizes the Build artifacts.
Artifacts will be organized the following way:
- $ROOT_DIR/<BUILD_ID>_<TARGET>__cvd will store a full download.
- $ROOT_DIR/<BUILD_ID>_<TARGET>__kernel will store kernel artifacts only.
func NewManager ¶
func (*Manager) GetBootloaderBundle ¶
func (*Manager) GetCVDBundle ¶
func (h *Manager) GetCVDBundle( buildID, target string, extraOptions *ExtraCVDOptions, fetcher CVDBundleFetcher) (string, error)
Click to show internal directories.
Click to hide internal directories.