blib/lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteRule.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteMatch.pm ↑ Summary blib/lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteSpec.pm »
1 package IO::K8s::GatewayAPI::V1beta1::HTTPRouteRule;
2 # ABSTRACT: HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches), processing it (filters), and forwarding the request to an API object (backendRefs).
3 7 our $VERSION = '1.110';
4 7 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 k8s backendRefs => ['+IO::K8s::GatewayAPI::V1beta1::HTTPBackendRef'];
7 7 k8s filters => ['+IO::K8s::GatewayAPI::V1beta1::HTTPRouteFilter'];
8 7 k8s matches => ['+IO::K8s::GatewayAPI::V1beta1::HTTPRouteMatch'], { default => [{'path' => {'type' => 'PathPrefix','value' => '/'}}] };
9 7 k8s name => Str, { pattern => qr/^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
10 7 k8s timeouts => '+IO::K8s::GatewayAPI::V1beta1::HTTPRouteTimeouts';
11  
12  
13  
14  
15  
16  
17 7 1;
18  
19 __END__
« blib/lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteMatch.pm ↑ Summary blib/lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteSpec.pm »