lib/IO/K8s/GatewayAPI/V1/ListenerEntry.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
« lib/IO/K8s/GatewayAPI/V1/Listener.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/ListenerEntryStatus.pm »
1 package IO::K8s::GatewayAPI::V1::ListenerEntry;
2 # ABSTRACT: ListenerEntry
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__
« lib/IO/K8s/GatewayAPI/V1/Listener.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/ListenerEntryStatus.pm »