Documentation ¶
Overview ¶
Package site contains site local constants for the Result Flow.
Index ¶
Constants ¶
View Source
const ( // CTPBatchSize is the size of one single Buildbucket batch request to fetch // CTP builds. Increase the batch size below with caution. It may cause // Buildbucket to return 500 errors, due to the response size. CTPBatchSize int32 = 3 // TestRunnerBatchSize is the size of one single Buildbucket batch request // to fetch test runner builds. TestRunnerBatchSize int32 = 50 )
View Source
const DefaultDeadlineSeconds = 1800
DefaultDeadlineSeconds is the default command deadline in seconds.
Variables ¶
View Source
var DefaultAuthOptions = auth.Options{ ClientID: "446450136466-2hr92jrq8e6i4tnsa56b52vacp7t3936.apps.googleusercontent.com", ClientSecret: "uBfbay2KCy9t4QveJ-dOqHtp", SecretsDir: SecretsDir(), Scopes: []string{auth.OAuthScopeEmail, authScopeBigquery, authScopePubsub}, }
DefaultAuthOptions is an auth.Options struct prefilled with chrome-infra defaults. The credentials here are used for local test.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.