Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetaFilePath ¶
func MetaFilePath(crosSV *sv.StableCrosVersion) gs.Path
MetaFilePath returns gs path for meta file
func ParseOmahaStatus ¶
ParseOmahaStatus the omaha stable version strings.
Types ¶
type Client ¶
Client refers to a google storage client.
func (*Client) DownloadByteRange ¶
func (gsc *Client) DownloadByteRange(gsPath gs.Path, localPath string, start int64, stop int64) error
DownloadByteRange downloads a byte range from a GS object specified by a path.
func (*Client) Init ¶
func (gsc *Client) Init(ctx context.Context, t http.RoundTripper, unmarshaler jsonpb.Unmarshaler) error
Init a Google Storage client.
type ParseMetadataResult ¶
type ParseMetadataResult struct { BuildTargets []string ModelInBuildTargets map[string][]string FirmwareVersions []*sv.StableFirmwareVersion }
ParseMetadataResult is the information present in the Omaha metadata file.
func ParseMetadata ¶
func ParseMetadata(data []byte) (*ParseMetadataResult, error)
ParseMetadata parses the build metadata.
Click to show internal directories.
Click to hide internal directories.