Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Side by Side Diff: logdog/client/butlerlib/bootstrap/environment.go

Issue 2456673003: Butler: export Coordinator host in environment. (Closed)
Patch Set: Relieve suspense. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The LUCI Authors. All rights reserved. 1 // Copyright 2015 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package bootstrap 5 package bootstrap
6 6
7 // Environment variable names 7 // Environment variable names
8 const ( 8 const (
9 // EnvStreamServerPath is the path to the Butler's stream server endpoin t. 9 // EnvStreamServerPath is the path to the Butler's stream server endpoin t.
10 // 10 //
11 // This can be used by applications to initiate a new Butler stream with an 11 // This can be used by applications to initiate a new Butler stream with an
12 // existing Butler stream server process. If a subprocess is launched wi th a 12 // existing Butler stream server process. If a subprocess is launched wi th a
13 // stream server configuration, it will propagate this path to its child 13 // stream server configuration, it will propagate this path to its child
14 // processes. 14 // processes.
15 EnvStreamServerPath = "LOGDOG_STREAM_SERVER_PATH" 15 EnvStreamServerPath = "LOGDOG_STREAM_SERVER_PATH"
16 16
17 // EnvStreamProject is the environment variable set to the configured st ream 17 // EnvStreamProject is the environment variable set to the configured st ream
18 // project name. 18 // project name.
19 EnvStreamProject = "LOGDOG_STREAM_PROJECT" 19 EnvStreamProject = "LOGDOG_STREAM_PROJECT"
20 20
21 // EnvStreamPrefix is the environment variable set to the configured 21 // EnvStreamPrefix is the environment variable set to the configured
22 // stream name prefix. 22 // stream name prefix.
23 EnvStreamPrefix = "LOGDOG_STREAM_PREFIX" 23 EnvStreamPrefix = "LOGDOG_STREAM_PREFIX"
24
25 // EnvCoordinatorHost is the environment variable set to the host name o f
26 // the upstream Coordinator service.
27 EnvCoordinatorHost = "LOGDOG_COORDINATOR_HOST"
24 ) 28 )
OLDNEW
« no previous file with comments | « logdog/client/butlerlib/bootstrap/bootstrap_test.go ('k') | logdog/client/cmd/logdog_butler/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698