Documentation ¶
Index ¶
- Variables
- func GetCrOSSVByBuildtarget(res []*sv.StableCrosVersion, b string) string
- func MakeCrOSSV(b, v string) *sv.StableCrosVersion
- func MakeSpecificCrOSSV(b, m, v string) *sv.StableCrosVersion
- func MakeSpecificFirmwareVersion(b, m, v string) *sv.StableFirmwareVersion
- func MakeStableVersionKey(buildTarget, model string) *sv.StableVersionKey
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 MakeCrOSSV ¶
func MakeCrOSSV(b, v string) *sv.StableCrosVersion
MakeCrOSSV makes a stable cros version object following format: https://chromium.googlesource.com/chromiumos/infra/proto/+/refs/heads/main/src/lab_platform/stable_cros_version.proto
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.
Click to show internal directories.
Click to hide internal directories.