| blib/lib/IO/K8s/Api/Autoscaling/V1/HorizontalPodAutoscalerSpec.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::Autoscaling::V1::HorizontalPodAutoscalerSpec; | ||||||
| 2 | # ABSTRACT: specification of a horizontal pod autoscaler. | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 1 | 1 | 1207 | use IO::K8s::Resource; | |||
| 1 | 4 | ||||||
| 1 | 11 | ||||||
| 5 | |||||||
| 6 | k8s maxReplicas => Int, 'required'; | ||||||
| 7 | |||||||
| 8 | |||||||
| 9 | k8s minReplicas => Int; | ||||||
| 10 | |||||||
| 11 | |||||||
| 12 | k8s scaleTargetRef => 'Autoscaling::V1::CrossVersionObjectReference', 'required'; | ||||||
| 13 | |||||||
| 14 | |||||||
| 15 | k8s targetCPUUtilizationPercentage => Int; | ||||||
| 16 | |||||||
| 17 | |||||||
| 18 | 1; | ||||||
| 19 | |||||||
| 20 | __END__ |