stableversion

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: 6 Imported by: 0

Documentation

Overview

Package stableversion provides functions to store stableversion info in datastore

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCrosStableVersion

func GetCrosStableVersion(ctx context.Context, buildTarget string, model string) (string, error)

GetCrosStableVersion gets a stable version for ChromeOS from datastore

func GetFaftStableVersion

func GetFaftStableVersion(ctx context.Context, buildTarget string, model string) (string, error)

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

func PutManyCrosStableVersion(ctx context.Context, crosOfKey map[string]string) error

PutManyCrosStableVersion writes many stable versions for ChromeOS to datastore

func PutManyFaftStableVersion

func PutManyFaftStableVersion(ctx context.Context, faftOfJoinedKey map[string]string) error

PutManyFaftStableVersion takes a model, buildtarget, and faft stableversion and persists it to datastore

func PutManyFirmwareStableVersion

func PutManyFirmwareStableVersion(ctx context.Context, firmwareOfJoinedKey map[string]string) error

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

func PutSingleFaftStableVersion

func PutSingleFaftStableVersion(ctx context.Context, buildTarget string, model string, faft string) error

PutSingleFaftStableVersion is a convenience wrapper around PutManyFaftStableVersion

func PutSingleFirmwareStableVersion

func PutSingleFirmwareStableVersion(ctx context.Context, buildTarget string, model string, firmware string) error

PutSingleFirmwareStableVersion is a convenience wrapper around PutManyFirmwareStableVersion

Types

This section is empty.

Jump to

Keyboard shortcuts

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