Package infraenv enables applications to access Chrome Infrastructure-specific bot parameters.



    View Source
    const ChromeInfraEventsProject = "chrome-infra-events"

      ChromeInfraEventsProject is the standard infra cloud project to use for BigQuery event uploading.

      View Source
      const ProdLogDogHost = ""

        ProdLogDogHost is the production LogDog host value.

        View Source
        const ProdMiloHost = ""

          ProdMiloHost is the production Milo host value.


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

            View Source
            var ErrNotFound = errors.New("not found")

              ErrNotFound is returned if the requested credential is not found.

              View Source
              var OnGCE = metadata.OnGCE

                OnGCE will return true if the current system is a Google Compute Engine system.


                func GetLogDogServiceAccountJSON

                func GetLogDogServiceAccountJSON() (string, error)

                  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.


                  This section is empty.
                  GOOS=linux, GOARCH=amd64