lib/IO/K8s/Api/Core/V1/PodAffinityTerm.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Api/Core/V1/PodAffinity.pm ↑ Summary lib/IO/K8s/Api/Core/V1/PodAntiAffinity.pm »
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 <topologyKey> matches that of any node on which a pod of the set of pods is running
3 6 our $VERSION = '1.112';
4 6 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 k8s labelSelector => 'Meta::V1::LabelSelector';
7  
8  
9 6 k8s matchLabelKeys => [Str];
10  
11  
12 6 k8s mismatchLabelKeys => [Str];
13  
14  
15 6 k8s namespaceSelector => 'Meta::V1::LabelSelector';
16  
17  
18 6 k8s namespaces => [Str];
19  
20  
21 6 k8s topologyKey => Str, 'required';
22  
23  
24 6 1;
25  
26 __END__
« lib/IO/K8s/Api/Core/V1/PodAffinity.pm ↑ Summary lib/IO/K8s/Api/Core/V1/PodAntiAffinity.pm »