| blib/lib/IO/K8s/Api/Core/V1/WeightedPodAffinityTerm.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::WeightedPodAffinityTerm; | ||||||
| 2 | # ABSTRACT: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 3 | 3 | 3339 | use IO::K8s::Resource; | |||
| 3 | 11 | ||||||
| 3 | 30 | ||||||
| 5 | |||||||
| 6 | k8s podAffinityTerm => 'Core::V1::PodAffinityTerm', 'required'; | ||||||
| 7 | |||||||
| 8 | |||||||
| 9 | k8s weight => Int, 'required'; | ||||||
| 10 | |||||||
| 11 | |||||||
| 12 | 1; | ||||||
| 13 | |||||||
| 14 | __END__ |