| blib/lib/IO/K8s/Api/Core/V1/NodeAffinity.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::NodeAffinity; | ||||||
| 2 | # ABSTRACT: Node affinity is a group of node affinity scheduling rules. | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 2 | 2 | 2764 | use IO::K8s::Resource; | |||
| 2 | 5 | ||||||
| 2 | 27 | ||||||
| 5 | |||||||
| 6 | k8s preferredDuringSchedulingIgnoredDuringExecution => ['Core::V1::PreferredSchedulingTerm']; | ||||||
| 7 | |||||||
| 8 | |||||||
| 9 | k8s requiredDuringSchedulingIgnoredDuringExecution => 'Core::V1::NodeSelector'; | ||||||
| 10 | |||||||
| 11 | |||||||
| 12 | 1; | ||||||
| 13 | |||||||
| 14 | __END__ |