export type IFQDNSelector = { /** * MatchName matches literal DNS names. A trailing "." is automatically added * when missing. */ "matchName"?: string; /** * MatchPattern allows using wildcards to match DNS names. All wildcards are * case insensitive. The wildcards are: * - "\*" matches 0 or more DNS valid characters, and may occur anywhere in * the pattern. As a special case a "\*" as the leftmost character, without a * following "." matches all subdomains as well as the name to the right. * A trailing "." is automatically added when missing. * - "\*\*." is a special prefix which matches all multilevel subdomains in the prefix. * * Examples: * 1. `\*.cilium.io` matches subdomains of cilium at that level * www.cilium.io and blog.cilium.io match, cilium.io and google.com do not * 2. `\*cilium.io` matches cilium.io and all subdomains ends with "cilium.io" * except those containing "." separator, subcilium.io and sub-cilium.io match, * www.cilium.io and blog.cilium.io does not * 3. `sub\*.cilium.io` matches subdomains of cilium where the subdomain component * begins with "sub". sub.cilium.io and subdomain.cilium.io match while www.cilium.io, * blog.cilium.io, cilium.io and google.com do not * 4. `\*\*.cilium.io` matches all multilevel subdomains of cilium.io. * "app.cilium.io" and "test.app.cilium.io" match but not "cilium.io" */ "matchPattern"?: string; } & ({ /** * MatchName matches literal DNS names. A trailing "." is automatically added * when missing. */ "matchName": string; /** * MatchPattern allows using wildcards to match DNS names. All wildcards are * case insensitive. The wildcards are: * - "\*" matches 0 or more DNS valid characters, and may occur anywhere in * the pattern. As a special case a "\*" as the leftmost character, without a * following "." matches all subdomains as well as the name to the right. * A trailing "." is automatically added when missing. * - "\*\*." is a special prefix which matches all multilevel subdomains in the prefix. * * Examples: * 1. `\*.cilium.io` matches subdomains of cilium at that level * www.cilium.io and blog.cilium.io match, cilium.io and google.com do not * 2. `\*cilium.io` matches cilium.io and all subdomains ends with "cilium.io" * except those containing "." separator, subcilium.io and sub-cilium.io match, * www.cilium.io and blog.cilium.io does not * 3. `sub\*.cilium.io` matches subdomains of cilium where the subdomain component * begins with "sub". sub.cilium.io and subdomain.cilium.io match while www.cilium.io, * blog.cilium.io, cilium.io and google.com do not * 4. `\*\*.cilium.io` matches all multilevel subdomains of cilium.io. * "app.cilium.io" and "test.app.cilium.io" match but not "cilium.io" */ "matchPattern"?: string; } | { /** * MatchName matches literal DNS names. A trailing "." is automatically added * when missing. */ "matchName"?: string; /** * MatchPattern allows using wildcards to match DNS names. All wildcards are * case insensitive. The wildcards are: * - "\*" matches 0 or more DNS valid characters, and may occur anywhere in * the pattern. As a special case a "\*" as the leftmost character, without a * following "." matches all subdomains as well as the name to the right. * A trailing "." is automatically added when missing. * - "\*\*." is a special prefix which matches all multilevel subdomains in the prefix. * * Examples: * 1. `\*.cilium.io` matches subdomains of cilium at that level * www.cilium.io and blog.cilium.io match, cilium.io and google.com do not * 2. `\*cilium.io` matches cilium.io and all subdomains ends with "cilium.io" * except those containing "." separator, subcilium.io and sub-cilium.io match, * www.cilium.io and blog.cilium.io does not * 3. `sub\*.cilium.io` matches subdomains of cilium where the subdomain component * begins with "sub". sub.cilium.io and subdomain.cilium.io match while www.cilium.io, * blog.cilium.io, cilium.io and google.com do not * 4. `\*\*.cilium.io` matches all multilevel subdomains of cilium.io. * "app.cilium.io" and "test.app.cilium.io" match but not "cilium.io" */ "matchPattern": string; }); export type FQDNSelector = IFQDNSelector; export type { IFQDNSelector as IComGithubCiliumCiliumPkgPolicyApiFQDNSelector, FQDNSelector as ComGithubCiliumCiliumPkgPolicyApiFQDNSelector };