utils

package
v0.0.0-...-e560ebb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Unmarshaller = jsonpb.Unmarshaler{AllowUnknownFields: true}
)

Unmarshaller is used to unmarshall all stable_version related data.

Functions

func GetCrOSSVByBuildtarget

func GetCrOSSVByBuildtarget(res []*sv.StableCrosVersion, b string) string

GetCrOSSVByBuildtarget find the cros stable version for a given build target.

func MakeSpecificCrOSSV

func MakeSpecificCrOSSV(b, m, v string) *sv.StableCrosVersion

MakeSpecificCrOSSV makes a stable cros version object specific to the model.

func MakeSpecificFirmwareVersion

func MakeSpecificFirmwareVersion(b, m, v string) *sv.StableFirmwareVersion

MakeSpecificFirmwareVersion makes a firmware version specific to the model.

func MakeStableVersionKey

func MakeStableVersionKey(buildTarget, model string) *sv.StableVersionKey

MakeStableVersionKey makes a key whose format follows: https://chromium.googlesource.com/chromiumos/infra/proto/+/refs/heads/main/src/lab_platform/stable_version.proto

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL