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

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/GatewayAPI/V1/HTTPRouteRule.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/HTTPRouteStatus.pm »
1 package IO::K8s::GatewayAPI::V1::HTTPRouteSpec;
2 # ABSTRACT: Spec defines the desired state of HTTPRoute.
3 3 our $VERSION = '1.112';
4 3 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 k8s hostnames => [Str], { pattern => qr/^(\*\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
7 3 k8s parentRefs => ['+IO::K8s::GatewayAPI::V1::ParentReference'];
8 3 k8s rules => ['+IO::K8s::GatewayAPI::V1::HTTPRouteRule'], { default => [{'matches' => [{'path' => {'type' => 'PathPrefix','value' => '/'}}]}] };
9  
10  
11  
12  
13 3 1;
14  
15 __END__
« lib/IO/K8s/GatewayAPI/V1/HTTPRouteRule.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/HTTPRouteStatus.pm »