You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constRFC_1123_LABEL_ERROR_MSG:&str = "a RFC 1123 label must consist of alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character";
20
+
// This is a modified RFC 1123 format according to the Kubernetes specification, see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names
constLOWERCASE_RFC_1123_LABEL_ERROR_MSG:&str = "a lowercase RFC 1123 label must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character";
23
+
24
+
// This is a RFC 1123 format, see https://www.rfc-editor.org/rfc/rfc1123
constRFC_1123_SUBDOMAIN_ERROR_MSG:&str = "a RFC 1123 subdomain must consist of alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character";
/// Tests for a string that conforms to the definition of a label in DNS (RFC 1035).
216
240
pubfnis_rfc_1035_label(value:&str) -> Result{
217
241
validate_all([
@@ -277,26 +301,6 @@ mod tests {
277
301
278
302
usesuper::*;
279
303
280
-
constRFC_1123_SUBDOMAIN_ERROR_MSG:&str = "a RFC 1123 subdomain must consist of alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character";
0 commit comments