"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LOCATION_CHARS_REGEX = exports.MAC_REGEX = exports.IP_V6_ZERO = exports.IP_V4_ZERO = exports.PROXY_DNS_REGEX = exports.SSH_PUBLIC_KEY_REGEX = exports.HOST_NAME_REGEX = exports.NAME_CHARS_REGEX = exports.NAME_START_END_REGEX = exports.DNS_NAME_REGEX = exports.CLUSTER_NAME_VALID_CHARS_REGEX = exports.CLUSTER_NAME_START_END_REGEX = exports.ALPHANUMERIC_REGEX = void 0;
exports.ALPHANUMERIC_REGEX = /^[a-zA-Z0-9]+$/;
exports.CLUSTER_NAME_START_END_REGEX = /^[a-z0-9](.*[a-z0-9])?$/;
exports.CLUSTER_NAME_VALID_CHARS_REGEX = /^[a-z0-9-]*$/;
exports.DNS_NAME_REGEX = /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/;
exports.NAME_START_END_REGEX = /^[a-z0-9](.*[a-z0-9])?$/;
exports.NAME_CHARS_REGEX = /^[a-z0-9-.]*$/;
exports.HOST_NAME_REGEX = /^[^.]{1,63}(?:[.][^.]{1,63})*$/;
exports.SSH_PUBLIC_KEY_REGEX = /^(ssh-rsa AAAAB3NzaC1yc2|ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNT|ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzOD|ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1Mj|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5|ssh-dss AAAAB3NzaC1kc3)[0-9A-Za-z+/]+[=]{0,3}( .*)?$/;
exports.PROXY_DNS_REGEX = /(^\.?([a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62}){1}(\.[a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62})*$)/;
exports.IP_V4_ZERO = '0.0.0.0';
exports.IP_V6_ZERO = '0000:0000:0000:0000:0000:0000:0000:0000';
exports.MAC_REGEX = /^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$/;
exports.LOCATION_CHARS_REGEX = /^[a-zA-Z0-9-._]*$/;
//# sourceMappingURL=regexes.js.map