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

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/GatewayAPI/V1/GRPCRouteMatch.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/GRPCRouteSpec.pm »
1 package IO::K8s::GatewayAPI::V1::GRPCRouteRule;
2 # ABSTRACT: GRPCRouteRule defines the semantics for matching a gRPC request based on conditions (matches), processing it (filters), and forwarding the request to an API object (backendRefs).
3 3 our $VERSION = '1.112';
4 3 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 k8s backendRefs => ['+IO::K8s::GatewayAPI::V1::GRPCBackendRef'];
7 3 k8s filters => ['+IO::K8s::GatewayAPI::V1::GRPCRouteFilter'];
8 3 k8s matches => ['+IO::K8s::GatewayAPI::V1::GRPCRouteMatch'];
9 3 k8s name => Str, { pattern => qr/^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
10  
11  
12  
13  
14  
15 3 1;
16  
17 __END__
« lib/IO/K8s/GatewayAPI/V1/GRPCRouteMatch.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/GRPCRouteSpec.pm »