File Coverage

blib/lib/IO/K8s/Api/Core/V1/Container.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::Container;
2             # ABSTRACT: A single application container that you want to run within a pod.
3             our $VERSION = '1.008';
4 11     11   11666 use IO::K8s::Resource;
  11         33  
  11         134  
5              
6             k8s args => [Str];
7              
8              
9             k8s command => [Str];
10              
11              
12             k8s env => ['Core::V1::EnvVar'];
13              
14              
15             k8s envFrom => ['Core::V1::EnvFromSource'];
16              
17              
18             k8s image => Str;
19              
20              
21             k8s imagePullPolicy => Str;
22              
23              
24             k8s lifecycle => 'Core::V1::Lifecycle';
25              
26              
27             k8s livenessProbe => 'Core::V1::Probe';
28              
29              
30             k8s name => Str, 'required';
31              
32              
33             k8s ports => ['Core::V1::ContainerPort'];
34              
35              
36             k8s readinessProbe => 'Core::V1::Probe';
37              
38              
39             k8s resizePolicy => ['Core::V1::ContainerResizePolicy'];
40              
41              
42             k8s resources => 'Core::V1::ResourceRequirements';
43              
44              
45             k8s restartPolicy => Str;
46              
47              
48             k8s securityContext => 'Core::V1::SecurityContext';
49              
50              
51             k8s startupProbe => 'Core::V1::Probe';
52              
53              
54             k8s stdin => Bool;
55              
56              
57             k8s stdinOnce => Bool;
58              
59              
60             k8s terminationMessagePath => Str;
61              
62              
63             k8s terminationMessagePolicy => Str;
64              
65              
66             k8s tty => Bool;
67              
68              
69             k8s volumeDevices => ['Core::V1::VolumeDevice'];
70              
71              
72             k8s volumeMounts => ['Core::V1::VolumeMount'];
73              
74              
75             k8s workingDir => Str;
76              
77              
78             1;
79              
80             __END__