File Coverage

blib/lib/IO/K8s/Api/Core/V1/PodSpec.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::PodSpec;
2             # ABSTRACT: PodSpec is a description of a pod.
3             our $VERSION = '1.008';
4 8     8   7353 use IO::K8s::Resource;
  8         47  
  8         78  
5              
6             k8s activeDeadlineSeconds => Int;
7              
8              
9             k8s affinity => 'Core::V1::Affinity';
10              
11              
12             k8s automountServiceAccountToken => Bool;
13              
14              
15             k8s containers => ['Core::V1::Container'], 'required';
16              
17              
18             k8s dnsConfig => 'Core::V1::PodDNSConfig';
19              
20              
21             k8s dnsPolicy => Str;
22              
23              
24             k8s enableServiceLinks => Bool;
25              
26              
27             k8s ephemeralContainers => ['Core::V1::EphemeralContainer'];
28              
29              
30             k8s hostAliases => ['Core::V1::HostAlias'];
31              
32              
33             k8s hostIPC => Bool;
34              
35              
36             k8s hostNetwork => Bool;
37              
38              
39             k8s hostPID => Bool;
40              
41              
42             k8s hostUsers => Bool;
43              
44              
45             k8s hostname => Str;
46              
47              
48             k8s imagePullSecrets => ['Core::V1::LocalObjectReference'];
49              
50              
51             k8s initContainers => ['Core::V1::Container'];
52              
53              
54             k8s nodeName => Str;
55              
56              
57             k8s nodeSelector => { Str => 1 };
58              
59              
60             k8s os => 'Core::V1::PodOS';
61              
62              
63             k8s overhead => { Str => 1 };
64              
65              
66             k8s preemptionPolicy => Str;
67              
68              
69             k8s priority => Int;
70              
71              
72             k8s priorityClassName => Str;
73              
74              
75             k8s readinessGates => ['Core::V1::PodReadinessGate'];
76              
77              
78             k8s resourceClaims => ['Core::V1::PodResourceClaim'];
79              
80              
81             k8s restartPolicy => Str;
82              
83              
84             k8s runtimeClassName => Str;
85              
86              
87             k8s schedulerName => Str;
88              
89              
90             k8s schedulingGates => ['Core::V1::PodSchedulingGate'];
91              
92              
93             k8s securityContext => 'Core::V1::PodSecurityContext';
94              
95              
96             k8s serviceAccount => Str;
97              
98              
99             k8s serviceAccountName => Str;
100              
101              
102             k8s setHostnameAsFQDN => Bool;
103              
104              
105             k8s shareProcessNamespace => Bool;
106              
107              
108             k8s subdomain => Str;
109              
110              
111             k8s terminationGracePeriodSeconds => Int;
112              
113              
114             k8s tolerations => ['Core::V1::Toleration'];
115              
116              
117             k8s topologySpreadConstraints => ['Core::V1::TopologySpreadConstraint'];
118              
119              
120             k8s volumes => ['Core::V1::Volume'];
121              
122              
123             1;
124              
125             __END__