File Coverage

blib/lib/IO/K8s/Api/Autoscaling/V2/ExternalMetricSource.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::ExternalMetricSource;
2             # ABSTRACT: ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
3             our $VERSION = '1.008';
4 1     1   1551 use IO::K8s::Resource;
  1         2  
  1         12  
5              
6             k8s metric => 'Autoscaling::V2::MetricIdentifier', 'required';
7              
8              
9             k8s target => 'Autoscaling::V2::MetricTarget', 'required';
10              
11              
12             1;
13              
14             __END__