File Coverage

blib/lib/IO/K8s/Api/Core/V1/SecurityContext.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::SecurityContext;
2             # ABSTRACT: SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.
3             our $VERSION = '1.008';
4 3     3   6327 use IO::K8s::Resource;
  3         8  
  3         38  
5              
6             k8s allowPrivilegeEscalation => Bool;
7              
8              
9             k8s appArmorProfile => 'Core::V1::AppArmorProfile';
10              
11              
12             k8s capabilities => 'Core::V1::Capabilities';
13              
14              
15             k8s privileged => Bool;
16              
17              
18             k8s procMount => Str;
19              
20              
21             k8s readOnlyRootFilesystem => Bool;
22              
23              
24             k8s runAsGroup => Int;
25              
26              
27             k8s runAsNonRoot => Bool;
28              
29              
30             k8s runAsUser => Int;
31              
32              
33             k8s seLinuxOptions => 'Core::V1::SELinuxOptions';
34              
35              
36             k8s seccompProfile => 'Core::V1::SeccompProfile';
37              
38              
39             k8s windowsOptions => 'Core::V1::WindowsSecurityContextOptions';
40              
41              
42             1;
43              
44             __END__