lib/IO/K8s/GatewayAPI/V1/LocalPolicyTargetReferenceWithSectionName.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/LocalParametersReference.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/ObjectReference.pm »
1 package IO::K8s::GatewayAPI::V1::LocalPolicyTargetReferenceWithSectionName;
2 # ABSTRACT: LocalPolicyTargetReferenceWithSectionName identifies an API object to apply a direct policy to.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s group => Str, { required => 'schema', pattern => qr/^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
7 2 k8s kind => Str, { required => 'schema', pattern => qr/^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$/ };
8 2 k8s name => Str, { required => 'schema' };
9 2 k8s sectionName => 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 2 1;
16  
17 __END__
« lib/IO/K8s/GatewayAPI/V1/LocalParametersReference.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/ObjectReference.pm »