blib/lib/IO/K8s/GatewayAPI/V1beta1/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
« blib/lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteRule.pm ↑ Summary blib/lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteStatus.pm »
1 package IO::K8s::GatewayAPI::V1beta1::HTTPRouteSpec;
2 # ABSTRACT: Spec defines the desired state of HTTPRoute.
3 7 our $VERSION = '1.110';
4 7 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 k8s hostnames => [Str], { pattern => qr/^(\*\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
7 7 k8s parentRefs => ['+IO::K8s::GatewayAPI::V1beta1::ParentReference'];
8 7 k8s rules => ['+IO::K8s::GatewayAPI::V1beta1::HTTPRouteRule'], { default => [{'matches' => [{'path' => {'type' => 'PathPrefix','value' => '/'}}]}] };
9  
10  
11  
12  
13 7 1;
14  
15 __END__
« blib/lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteRule.pm ↑ Summary blib/lib/IO/K8s/GatewayAPI/V1beta1/HTTPRouteStatus.pm »