Documentation
¶
Index ¶
Constants ¶
const Branch = "main"
Branch is the name of the branch that we're modifying.
const GerritHost = "chrome-internal-review.googlesource.com"
GerritHost is the Gerrit host that manages the repo with the stable version config file.
const GitilesHost = "chrome-internal.googlesource.com"
GitilesHost is the host of the gitiles service.
const OmahaGSPath = "gs://chromeos-build-release-console/omaha_status.json"
OmahaGSPath is the full google-storage path to the omaha status file
const OmahaStatusFile = "omaha_status.json"
OmahaStatusFile is the name of the file with stable version information in it.
const ProgramName = "stable_version2"
ProgramName is the name of the current executable.
const Project = "chromeos/infra/config"
Project is the path to the repo root within Gitiles.
const StableVersionConfigPath = "lab_platform/generated/stable_versions.cfg"
StableVersionConfigPath is the path to the stable version config file relative to the repo root.
This path is generated as of 2023 Q1. The source of truth is a starlark file .../lab_platform/recovery_versions_main.star .
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticatedTransport ¶
NewAuthenticatedTransport creates a new authenticated transport
func NewHTTPClient ¶
NewHTTPClient creates a new HTTP Client with the given authentication options.
func PrintError ¶
PrintError writes an error to stderr with the correct program name.
Types ¶
This section is empty.