File Coverage

blib/lib/IO/K8s/Api/Apps/V1/StatefulSetSpec.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::Apps::V1::StatefulSetSpec;
2             # ABSTRACT: A StatefulSetSpec is the specification of a StatefulSet.
3             our $VERSION = '1.008';
4 5     5   4702 use IO::K8s::Resource;
  5         14  
  5         48  
5              
6             k8s minReadySeconds => Int;
7              
8              
9             k8s ordinals => 'Apps::V1::StatefulSetOrdinals';
10              
11              
12             k8s persistentVolumeClaimRetentionPolicy => 'Apps::V1::StatefulSetPersistentVolumeClaimRetentionPolicy';
13              
14              
15             k8s podManagementPolicy => Str;
16              
17              
18             k8s replicas => Int;
19              
20              
21             k8s revisionHistoryLimit => Int;
22              
23              
24             k8s selector => 'Meta::V1::LabelSelector', 'required';
25              
26              
27             k8s serviceName => Str, 'required';
28              
29              
30             k8s template => 'Core::V1::PodTemplateSpec', 'required';
31              
32              
33             k8s updateStrategy => 'Apps::V1::StatefulSetUpdateStrategy';
34              
35              
36             k8s volumeClaimTemplates => ['Core::V1::PersistentVolumeClaim'];
37              
38              
39             1;
40              
41             __END__