File Coverage

blib/lib/IO/K8s/Api/Core/V1/ConfigMapVolumeSource.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package IO::K8s::Api::Core::V1::ConfigMapVolumeSource;
2             # ABSTRACT: Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.
3             our $VERSION = '1.008';
4 4     4   3890 use IO::K8s::Resource;
  4         10  
  4         38  
5              
6             k8s defaultMode => Int;
7              
8              
9             k8s items => ['Core::V1::KeyToPath'];
10              
11              
12             k8s name => Str;
13              
14              
15             k8s optional => Bool;
16              
17              
18             1;
19              
20             __END__