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

filter: Statementstmt 100% 29 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/CertManager/V1/CertificateSecretTemplate.pm ↑ Summary lib/IO/K8s/CertManager/V1/CertificateStatus.pm »
1 package IO::K8s::CertManager::V1::CertificateSpec;
2 # ABSTRACT: Specification of the desired state of the Certificate resource.
3 9 our $VERSION = '1.112';
4 9 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 9 k8s additionalOutputFormats => ['+IO::K8s::CertManager::V1::CertificateAdditionalOutputFormat'];
7 9 k8s commonName => Str;
8 9 k8s dnsNames => [Str];
9 9 k8s duration => Str;
10 9 k8s emailAddresses => [Str];
11 9 k8s encodeUsagesInRequest => Bool;
12 9 k8s ipAddresses => [Str];
13 9 k8s isCA => Bool;
14 9 k8s issuerRef => '+IO::K8s::CertManager::V1::IssuerReference', { required => 'schema' };
15 9 k8s keystores => '+IO::K8s::CertManager::V1::CertificateKeystores';
16 9 k8s literalSubject => Str;
17 9 k8s nameConstraints => '+IO::K8s::CertManager::V1::NameConstraints';
18 9 k8s otherNames => ['+IO::K8s::CertManager::V1::OtherName'];
19 9 k8s privateKey => '+IO::K8s::CertManager::V1::CertificatePrivateKey';
20 9 k8s renewBefore => Str;
21 9 k8s renewBeforePercentage => Int;
22 9 k8s renewal => '+IO::K8s::CertManager::V1::CertificateRenewal';
23 9 k8s revisionHistoryLimit => Int;
24 9 k8s secretName => Str, { required => 'schema' };
25 9 k8s secretTemplate => '+IO::K8s::CertManager::V1::CertificateSecretTemplate';
26 9 k8s signatureAlgorithm => Str, { enum => [qw(SHA256WithRSA SHA384WithRSA SHA512WithRSA ECDSAWithSHA256 ECDSAWithSHA384 ECDSAWithSHA512 PureEd25519)] };
27 9 k8s subject => '+IO::K8s::CertManager::V1::X509Subject';
28 9 k8s uris => [Str];
29 9 k8s usages => [Str], { enum => ['signing','digital signature','content commitment','key encipherment','key agreement','data encipherment','cert sign','crl sign','encipher only','decipher only','any','server auth','client auth','code signing','email protection','s/mime','ipsec end system','ipsec tunnel','ipsec user','timestamping','ocsp signing','microsoft sgc','netscape sgc'] };
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55 9 1;
56  
57 __END__
« lib/IO/K8s/CertManager/V1/CertificateSecretTemplate.pm ↑ Summary lib/IO/K8s/CertManager/V1/CertificateStatus.pm »