| OLD | NEW |
| 1 // Copyright (c) 2016 The LUCI Authors. All rights reserved. | 1 // Copyright (c) 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 syntax = "proto3"; | 5 syntax = "proto3"; |
| 6 | 6 |
| 7 package config; | 7 package config; |
| 8 | 8 |
| 9 // Settings represents the format for the global (service) config for Milo. | 9 // Settings represents the format for the global (service) config for Milo. |
| 10 message Settings { | 10 message Settings { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 // none is specified. Default host is implicitly an allowed host. | 37 // none is specified. Default host is implicitly an allowed host. |
| 38 string default_host = 1; | 38 string default_host = 1; |
| 39 | 39 |
| 40 // allowed_hosts is a whitelist of hostnames of swarming instances | 40 // allowed_hosts is a whitelist of hostnames of swarming instances |
| 41 // that Milo is allowed to talk to. This is specified here for security | 41 // that Milo is allowed to talk to. This is specified here for security |
| 42 // reasons, because Milo will hand out its oauth2 token to a swarming host. | 42 // reasons, because Milo will hand out its oauth2 token to a swarming host. |
| 43 repeated string allowed_hosts = 2; | 43 repeated string allowed_hosts = 2; |
| 44 } | 44 } |
| 45 Swarming swarming = 3; | 45 Swarming swarming = 3; |
| 46 } | 46 } |
| OLD | NEW |