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