« lib/IO/K8s/GatewayAPI/V1/HTTPURLRewriteFilter.pm
↑ Summary
lib/IO/K8s/GatewayAPI/V1/ListenerEntry.pm »
| 1 | package IO::K8s::GatewayAPI::V1::Listener; | ||
| 2 | # ABSTRACT: Listener embodies the concept of a logical endpoint where a Gateway accepts network connections. | ||
| 3 | 2 | our $VERSION = '1.112'; | |
| 4 | 2 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | k8s allowedRoutes => '+IO::K8s::GatewayAPI::V1::AllowedRoutes', { default => {'namespaces' => {'from' => 'Same'}} }; | |
| 7 | 2 | k8s hostname => Str, { pattern => qr/^(\*\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ }; | |
| 8 | 2 | k8s name => Str, { required => 'schema', pattern => qr/^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ }; | |
| 9 | 2 | k8s port => Int, { required => 'schema', minimum => 1, maximum => 65535 }; | |
| 10 | 2 | k8s protocol => Str, { required => 'schema', pattern => '^[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?$|[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9]+$' }; | |
| 11 | 2 | k8s tls => '+IO::K8s::GatewayAPI::V1::ListenerTLSConfig'; | |
| 12 | |||
| 13 | |||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | 2 | 1; | |
| 20 | |||
| 21 | __END__ | ||