chromeinfra

package
v0.0.0-...-678bb0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package chromeinfra contains hardcoded values related to Chrome Infra.

It is supposed to be imported only by leaf 'main' packages of various binaries. All non-main packages must not hardcode any environment related values and must accept them as parameters passed from 'main'.

Index

Constants

View Source
const (
	// CIPDServiceURL is URL of a CIPD backend to connect to by default.
	CIPDServiceURL = "https://chrome-infra-packages.appspot.com"
)

Variables

This section is empty.

Functions

func DefaultAuthOptions

func DefaultAuthOptions() auth.Options

DefaultAuthOptions returns auth.Options struct prefilled with chrome-infra defaults.

func SecretsDir

func SecretsDir() string

SecretsDir returns an absolute path to a directory (in $HOME) to keep secret files in (e.g. OAuth refresh tokens) or an empty string if $HOME can't be determined (happens in some degenerate cases, it just disables auth token cache).

Types

This section is empty.

Jump to

Keyboard shortcuts

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