| OLD | NEW |
| 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 ) |
| OLD | NEW |