blib/lib/IO/K8s/Api/Core/V1/Container.pm

filter: Statementstmt 100% 30 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 31 / 31 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/Api/Batch/V1/Job.pm ↑ Summary blib/lib/IO/K8s/Api/Core/V1/Pod.pm »
1 package IO::K8s::Api::Core::V1::Container;
2 # ABSTRACT: A single application container that you want to run within a pod.
3 37 our $VERSION = '1.112';
4 37 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 37 k8s args => [Str];
7  
8  
9 37 k8s command => [Str];
10  
11  
12 37 k8s env => ['Core::V1::EnvVar'];
13  
14  
15 37 k8s envFrom => ['Core::V1::EnvFromSource'];
16  
17  
18 37 k8s image => Str;
19  
20  
21 37 k8s imagePullPolicy => Str;
22  
23  
24 37 k8s lifecycle => 'Core::V1::Lifecycle';
25  
26  
27 37 k8s livenessProbe => 'Core::V1::Probe';
28  
29  
30 37 k8s name => Str, 'required';
31  
32  
33 37 k8s ports => ['Core::V1::ContainerPort'];
34  
35  
36 37 k8s readinessProbe => 'Core::V1::Probe';
37  
38  
39 37 k8s resizePolicy => ['Core::V1::ContainerResizePolicy'];
40  
41  
42 37 k8s resources => 'Core::V1::ResourceRequirements';
43  
44  
45 37 k8s restartPolicy => Str;
46  
47  
48 37 k8s restartPolicyRules => ['Core::V1::ContainerRestartRule'];
49  
50  
51 37 k8s securityContext => 'Core::V1::SecurityContext';
52  
53  
54 37 k8s startupProbe => 'Core::V1::Probe';
55  
56  
57 37 k8s stdin => Bool;
58  
59  
60 37 k8s stdinOnce => Bool;
61  
62  
63 37 k8s terminationMessagePath => Str;
64  
65  
66 37 k8s terminationMessagePolicy => Str;
67  
68  
69 37 k8s tty => Bool;
70  
71  
72 37 k8s volumeDevices => ['Core::V1::VolumeDevice'];
73  
74  
75 37 k8s volumeMounts => ['Core::V1::VolumeMount'];
76  
77  
78 37 k8s workingDir => Str;
79  
80  
81 37 1;
82  
83 __END__
« blib/lib/IO/K8s/Api/Batch/V1/Job.pm ↑ Summary blib/lib/IO/K8s/Api/Core/V1/Pod.pm »