lib/IO/K8s/GatewayAPI/V1/HTTPBackendRef.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/GatewayAPI/V1/GatewayTLSConfig.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/HTTPCORSFilter.pm »
1 package IO::K8s::GatewayAPI::V1::HTTPBackendRef;
2 # ABSTRACT: HTTPBackendRef defines how a HTTPRoute forwards a HTTP request.
3 3 our $VERSION = '1.112';
4 3 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 k8s filters => ['+IO::K8s::GatewayAPI::V1::HTTPRouteFilter'];
7 3 k8s group => Str, { pattern => qr/^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/, default => '' };
8 3 k8s kind => Str, { pattern => qr/^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$/, default => 'Service' };
9 3 k8s name => Str, { required => 'schema' };
10 3 k8s namespace => Str, { pattern => qr/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/ };
11 3 k8s port => Int, { minimum => 1, maximum => 65535 };
12 3 k8s weight => Int, { minimum => 0, maximum => 1000000, default => 1 };
13  
14  
15  
16  
17  
18  
19  
20  
21 3 1;
22  
23 __END__
« lib/IO/K8s/GatewayAPI/V1/GatewayTLSConfig.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/HTTPCORSFilter.pm »