File Coverage

blib/lib/IO/K8s/Api/Autoscaling/V2/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::V2::HorizontalPodAutoscalerSpec;
2             # ABSTRACT: HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
3             our $VERSION = '1.008';
4 3     3   3131 use IO::K8s::Resource;
  3         8  
  3         33  
5              
6             k8s behavior => 'Autoscaling::V2::HorizontalPodAutoscalerBehavior';
7              
8              
9             k8s maxReplicas => Int, 'required';
10              
11              
12             k8s metrics => ['Autoscaling::V2::MetricSpec'];
13              
14              
15             k8s minReplicas => Int;
16              
17              
18             k8s scaleTargetRef => 'Autoscaling::V2::CrossVersionObjectReference', 'required';
19              
20              
21             1;
22              
23             __END__