lib/IO/K8s/GatewayAPI/V1beta1/HTTPRoute.pm

filter: Statementstmt 88.8% 8 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod n/a totaltotal 81.8% 9 / 11 CC 1 SCAR 4.1
CC
1
Cov
89%
_route_format
2.0
BEGIN
1.0
CRAP 1.5
« lib/IO/K8s/Traefik.pm ↑ Summary lib/IO/K8s/Role/MiddlewareTCPBuilder.pm »
1 package IO::K8s::GatewayAPI::V1beta1::HTTPRoute;
2 # ABSTRACT: HTTPRoute provides a way to route HTTP requests.
3 2 our $VERSION = '1.112';
4 use IO::K8s::APIObject
5 2 ▶ api_version => 'gateway.networking.k8s.io/v1beta1',
Subroutine BEGIN: called CC=1 SCAR=0.0
6 resource_plural => 'httproutes',
7 2 subresources => { status => {} };
8 2 with 'IO::K8s::Role::Namespaced', 'IO::K8s::Role::Routable';
9 0 ▶sub _route_format { 'gateway' }
Subroutine _route_format: not called CC=1 SCAR=6.9
10  
11 2 k8s spec => '+IO::K8s::GatewayAPI::V1beta1::HTTPRouteSpec', { required => 'schema' };
12 2 k8s status => '+IO::K8s::GatewayAPI::V1beta1::HTTPRouteStatus';
13  
14  
15  
16 2 1;
17  
18 __END__
« lib/IO/K8s/Traefik.pm ↑ Summary lib/IO/K8s/Role/MiddlewareTCPBuilder.pm »