File Coverage

blib/lib/IO/K8s/Api/Autoscaling/V2/ObjectMetricSource.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::ObjectMetricSource;
2             # ABSTRACT: ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
3             our $VERSION = '1.008';
4 1     1   1615 use IO::K8s::Resource;
  1         3  
  1         24  
5              
6             k8s describedObject => 'Autoscaling::V2::CrossVersionObjectReference', 'required';
7              
8              
9             k8s metric => 'Autoscaling::V2::MetricIdentifier', 'required';
10              
11              
12             k8s target => 'Autoscaling::V2::MetricTarget', 'required';
13              
14              
15             1;
16              
17             __END__