File Coverage

blib/lib/IO/K8s/Api/Core/V1/PodAffinityTerm.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::PodAffinityTerm;
2             # ABSTRACT: Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running
3             our $VERSION = '1.008';
4 3     3   3154 use IO::K8s::Resource;
  3         7  
  3         30  
5              
6             k8s labelSelector => 'Meta::V1::LabelSelector';
7              
8              
9             k8s matchLabelKeys => [Str];
10              
11              
12             k8s mismatchLabelKeys => [Str];
13              
14              
15             k8s namespaceSelector => 'Meta::V1::LabelSelector';
16              
17              
18             k8s namespaces => [Str];
19              
20              
21             k8s topologyKey => Str, 'required';
22              
23              
24             1;
25              
26             __END__