| 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 by the Apache v2.0 license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Schemas for config files in services/luci-config config set. | 5 // Schemas for config files in services/luci-config config set. |
| 6 // | 6 // |
| 7 // In this file, "string pattern" is an exact string (can't have a colon) or a | 7 // In this file, "string pattern" is an exact string (can't have a colon) or a |
| 8 // string that starts with "regex:", followed by a regular expression. In case | 8 // string that starts with "regex:", followed by a regular expression. In case |
| 9 // of regex, the pattern must match an entire string, as if it was sorrounded by | 9 // of regex, the pattern must match an entire string, as if it was sorrounded by |
| 10 // ^ and $. | 10 // ^ and $. |
| 11 | 11 |
| 12 syntax = "proto2"; | 12 syntax = "proto2"; |
| 13 | 13 |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 message Message { | 192 message Message { |
| 193 // Textual representation of the message. | 193 // Textual representation of the message. |
| 194 optional string text = 1; | 194 optional string text = 1; |
| 195 // If an error, a config is considered invalid. Defaults to INFO. | 195 // If an error, a config is considered invalid. Defaults to INFO. |
| 196 optional Severity severity = 2; | 196 optional Severity severity = 2; |
| 197 } | 197 } |
| 198 // Errors, warnings and other information found during validation. | 198 // Errors, warnings and other information found during validation. |
| 199 // If at least one error is found, the config is considered invalid. | 199 // If at least one error is found, the config is considered invalid. |
| 200 repeated Message messages = 1; | 200 repeated Message messages = 1; |
| 201 } | 201 } |
| OLD | NEW |