const Branch = "master"
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/stable_version_data/stable_versions.cfg"
StableVersionConfigPath is the path to the stable version config file relative to the repo root.
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.