lib/IO/K8s/Api/Core/V1/SecretProjection.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/Api/Core/V1/SecretKeySelector.pm ↑ Summary lib/IO/K8s/Api/Core/V1/SecretReference.pm »
1 package IO::K8s::Api::Core::V1::SecretProjection;
2 # ABSTRACT: Adapts a secret into a projected volume. The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s items => ['Core::V1::KeyToPath'];
7  
8  
9 2 k8s name => Str;
10  
11  
12 2 k8s optional => Bool;
13  
14  
15 2 1;
16  
17 __END__
« lib/IO/K8s/Api/Core/V1/SecretKeySelector.pm ↑ Summary lib/IO/K8s/Api/Core/V1/SecretReference.pm »