OLD | NEW |
1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 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 svcconfig | 5 package svcconfig |
6 | 6 |
| 7 import ( |
| 8 "fmt" |
| 9 ) |
| 10 |
7 const ( | 11 const ( |
8 » // ServiceConfigFilename is the config service path of the Config protob
uf. | 12 » // ServiceConfigPath is the config service path of the Config protobuf. |
9 » ServiceConfigFilename = "services.cfg" | 13 » ServiceConfigPath = "services.cfg" |
10 ) | 14 ) |
| 15 |
| 16 // ProjectConfigPath returns the path of a LogDog project config given the |
| 17 // LogDog service's name. |
| 18 func ProjectConfigPath(serviceName string) string { return fmt.Sprintf("%s.cfg",
serviceName) } |
OLD | NEW |