Documentation ¶
Overview ¶
Package stableversion provides functions to store stableversion info in datastore
Index ¶
- func GetCrosStableVersion(ctx context.Context, buildTarget string, model string) (string, error)
- func GetFaftStableVersion(ctx context.Context, buildTarget string, model string) (string, error)
- func GetFirmwareStableVersion(ctx context.Context, buildTarget string, model string) (string, error)
- func PutManyCrosStableVersion(ctx context.Context, crosOfKey map[string]string) error
- func PutManyFaftStableVersion(ctx context.Context, faftOfJoinedKey map[string]string) error
- func PutManyFirmwareStableVersion(ctx context.Context, firmwareOfJoinedKey map[string]string) error
- func PutSingleCrosStableVersion(ctx context.Context, buildTarget string, model string, cros string) error
- func PutSingleFaftStableVersion(ctx context.Context, buildTarget string, model string, faft string) error
- func PutSingleFirmwareStableVersion(ctx context.Context, buildTarget string, model string, firmware string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCrosStableVersion ¶
GetCrosStableVersion gets a stable version for ChromeOS from datastore
func GetFaftStableVersion ¶
GetFaftStableVersion takes a model and a buildtarget and produces a faft stable version from datastore
func GetFirmwareStableVersion ¶
func GetFirmwareStableVersion(ctx context.Context, buildTarget string, model string) (string, error)
GetFirmwareStableVersion takes a buildtarget and a model and produces a firmware stable version from datastore
func PutManyCrosStableVersion ¶
PutManyCrosStableVersion writes many stable versions for ChromeOS to datastore
func PutManyFaftStableVersion ¶
PutManyFaftStableVersion takes a model, buildtarget, and faft stableversion and persists it to datastore
func PutManyFirmwareStableVersion ¶
PutManyFirmwareStableVersion takes a map from build_target+model keys to firmware versions and persists it to datastore
func PutSingleCrosStableVersion ¶
func PutSingleCrosStableVersion(ctx context.Context, buildTarget string, model string, cros string) error
PutSingleCrosStableVersion is a convenience wrapper around PutManyCrosStableVersion
Types ¶
This section is empty.