Documentation ¶
Overview ¶
Package infraenv enables applications to access Chrome Infrastructure-specific bot parameters.
Index ¶
Constants ¶
const ChromeInfraEventsProject = "chrome-infra-events"
ChromeInfraEventsProject is the standard infra cloud project to use for BigQuery event uploading.
const ProdLogDogHost = "luci-logdog.appspot.com"
ProdLogDogHost is the production LogDog host value.
const ProdMiloHost = "luci-milo.appspot.com"
ProdMiloHost is the production Milo host value.
Variables ¶
var DefaultAuthOptions = chromeinfra.DefaultAuthOptions
DefaultAuthOptions returns auth.Options struct prefilled with chrome-infra defaults (such as OAuth client ID and path to a token cache directory).
var ErrNotFound = errors.New("not found")
ErrNotFound is returned if the requested credential is not found.
var OnGCE = metadata.OnGCE
OnGCE will return true if the current system is a Google Compute Engine system.
Functions ¶
func GetLogDogServiceAccountJSON ¶
GetLogDogServiceAccountJSON scans the credential directories for the LogDog service account JSON file.
If the credential could not be located on this system, ErrNotFound will be returned.
Types ¶
This section is empty.