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