cmd

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

Documentation

Index

Constants

View Source
const Branch = "main"

Branch is the name of the branch that we're modifying.

View Source
const GerritHost = "chrome-internal-review.googlesource.com"

GerritHost is the Gerrit host that manages the repo with the stable version config file.

View Source
const GitilesHost = "chrome-internal.googlesource.com"

GitilesHost is the host of the gitiles service.

View Source
const OmahaGSPath = "gs://chromeos-build-release-console/omaha_status.json"

OmahaGSPath is the full google-storage path to the omaha status file

View Source
const OmahaStatusFile = "omaha_status.json"

OmahaStatusFile is the name of the file with stable version information in it.

View Source
const ProgramName = "stable_version2"

ProgramName is the name of the current executable.

View Source
const Project = "chromeos/infra/config"

Project is the path to the repo root within Gitiles.

View Source
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.

Variables

This section is empty.

Functions

func NewAuthenticatedTransport

func NewAuthenticatedTransport(ctx context.Context, f *authcli.Flags) (http.RoundTripper, error)

NewAuthenticatedTransport creates a new authenticated transport

func NewHTTPClient

func NewHTTPClient(ctx context.Context, f *authcli.Flags) (*http.Client, error)

NewHTTPClient creates a new HTTP Client with the given authentication options.

func PrintError

func PrintError(w io.Writer, err error)

PrintError writes an error to stderr with the correct program name.

func SetupLogging

func SetupLogging(ctx context.Context) context.Context

SetupLogging sets the log level

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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