File Coverage

blib/lib/IO/K8s/Api/Autoscaling/V2/ResourceMetricStatus.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::ResourceMetricStatus;
2             # ABSTRACT: ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
3             our $VERSION = '1.008';
4 1     1   1469 use IO::K8s::Resource;
  1         3  
  1         11  
5              
6             k8s current => 'Autoscaling::V2::MetricValueStatus', 'required';
7              
8              
9             k8s name => Str, 'required';
10              
11              
12             1;
13              
14             __END__