File Coverage

blib/lib/IO/K8s/Api/Autoscaling/V2/MetricSpec.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::MetricSpec;
2             # ABSTRACT: MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
3             our $VERSION = '1.008';
4 3     3   3316 use IO::K8s::Resource;
  3         8  
  3         30  
5              
6             k8s containerResource => 'Autoscaling::V2::ContainerResourceMetricSource';
7              
8              
9             k8s external => 'Autoscaling::V2::ExternalMetricSource';
10              
11              
12             k8s object => 'Autoscaling::V2::ObjectMetricSource';
13              
14              
15             k8s pods => 'Autoscaling::V2::PodsMetricSource';
16              
17              
18             k8s resource => 'Autoscaling::V2::ResourceMetricSource';
19              
20              
21             k8s type => Str, 'required';
22              
23              
24             1;
25              
26             __END__