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

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

Issue 1906023002: LogDog: Add project namespace to Butler/Collector. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-archivist
Patch Set: Rebase? Created 4 years, 7 months 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 Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // 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 enviornment variable set to the configured st ream
18 // project name.
19 EnvStreamProject = "LOGDOG_STREAM_PROJECT"
20
17 // EnvStreamPrefix is the environment variable set to the configured 21 // EnvStreamPrefix is the environment variable set to the configured
18 » // stream name prefix. command-line stream name prefix. 22 » // stream name prefix.
19 » //
20 » // Since this name is prepended to streams by the Butler, it is not poss ible
21 » // for subprocesses to know the actual stream name that Butler will use for
22 » // their streams without this information.
23 EnvStreamPrefix = "LOGDOG_STREAM_PREFIX" 23 EnvStreamPrefix = "LOGDOG_STREAM_PREFIX"
24 ) 24 )
OLDNEW
« no previous file with comments | « client/logdog/butlerlib/bootstrap/bootstrap_test.go ('k') | client/logdog/butlerlib/streamproto/properties.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698