File Coverage

blib/lib/IO/K8s/Api/Core/V1/TopologySpreadConstraint.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::TopologySpreadConstraint;
2             # ABSTRACT: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
3             our $VERSION = '1.008';
4 3     3   4752 use IO::K8s::Resource;
  3         10  
  3         38  
5              
6             k8s labelSelector => 'Meta::V1::LabelSelector';
7              
8              
9             k8s matchLabelKeys => [Str];
10              
11              
12             k8s maxSkew => Int, 'required';
13              
14              
15             k8s minDomains => Int;
16              
17              
18             k8s nodeAffinityPolicy => Str;
19              
20              
21             k8s nodeTaintsPolicy => Str;
22              
23              
24             k8s topologyKey => Str, 'required';
25              
26              
27             k8s whenUnsatisfiable => Str, 'required';
28              
29              
30             1;
31              
32             __END__