blib/lib/IO/K8s/GatewayAPI/V1/Listener.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/GatewayAPI/V1/HTTPURLRewriteFilter.pm ↑ Summary blib/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 7 our $VERSION = '1.110';
4 7 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 k8s allowedRoutes => '+IO::K8s::GatewayAPI::V1::AllowedRoutes', { default => {'namespaces' => {'from' => 'Same'}} };
7 7 k8s hostname => Str, { pattern => qr/^(\*\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
8 7 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 7 k8s port => Int, { required => 'schema', minimum => 1, maximum => 65535 };
10 7 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 7 k8s tls => '+IO::K8s::GatewayAPI::V1::ListenerTLSConfig';
12  
13  
14  
15  
16  
17  
18  
19 7 1;
20  
21 __END__
« blib/lib/IO/K8s/GatewayAPI/V1/HTTPURLRewriteFilter.pm ↑ Summary blib/lib/IO/K8s/GatewayAPI/V1/ListenerEntry.pm »