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
« lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteMatch.pm ↑ Summary 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 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s backendRefs => ['+IO::K8s::GatewayAPI::V1beta1::HTTPBackendRef'];
7 2 k8s filters => ['+IO::K8s::GatewayAPI::V1beta1::HTTPRouteFilter'];
8 2 k8s matches => ['+IO::K8s::GatewayAPI::V1beta1::HTTPRouteMatch'], { default => [{'path' => {'type' => 'PathPrefix','value' => '/'}}] };
9 2 k8s name => Str, { pattern => qr/^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
10 2 k8s timeouts => '+IO::K8s::GatewayAPI::V1beta1::HTTPRouteTimeouts';
11  
12  
13  
14  
15  
16  
17 2 1;
18  
19 __END__
« lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteMatch.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteSpec.pm »