lib/IO/K8s/CertManager/V1/ParentReference.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/CertManager/V1/PKCS12Keystore.pm ↑ Summary lib/IO/K8s/CertManager/V1/Route53Auth.pm »
1 package IO::K8s::CertManager::V1::ParentReference;
2 # ABSTRACT: ParentReference identifies an API object (usually a Gateway) that can be considered a parent of this resource (usually a route).
3 7 our $VERSION = '1.112';
4 7 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 k8s group => Str, { pattern => qr/^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/, default => 'gateway.networking.k8s.io' };
7 7 k8s kind => Str, { pattern => qr/^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$/, default => 'Gateway' };
8 7 k8s name => Str, { required => 'schema' };
9 7 k8s namespace => Str, { pattern => qr/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/ };
10 7 k8s port => Int, { minimum => 1, maximum => 65535 };
11 7 k8s sectionName => Str, { pattern => qr/^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
12  
13  
14  
15  
16  
17  
18  
19 7 1;
20  
21 __END__
« lib/IO/K8s/CertManager/V1/PKCS12Keystore.pm ↑ Summary lib/IO/K8s/CertManager/V1/Route53Auth.pm »