lib/IO/K8s/GatewayAPI/V1/GRPCHeaderMatch.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/GRPCBackendRef.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/GRPCMethodMatch.pm »
1 package IO::K8s::GatewayAPI::V1::GRPCHeaderMatch;
2 # ABSTRACT: GRPCHeaderMatch describes how to select a gRPC route by matching gRPC request headers.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s name => Str, { required => 'schema', pattern => '^[A-Za-z0-9!#$%&\'*+\\-.^_\\x60|~]+$' };
7 2 k8s type => Str, { enum => [qw(Exact RegularExpression)], default => 'Exact' };
8 2 k8s value => Str, { required => 'schema' };
9  
10  
11  
12  
13 2 1;
14  
15 __END__
« lib/IO/K8s/GatewayAPI/V1/GRPCBackendRef.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/GRPCMethodMatch.pm »