File Coverage

blib/lib/IO/K8s/Api/Autoscaling/V2/ContainerResourceMetricStatus.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::ContainerResourceMetricStatus;
2             # ABSTRACT: ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in 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   1561 use IO::K8s::Resource;
  1         3  
  1         12  
5              
6             k8s container => Str, 'required';
7              
8              
9             k8s current => 'Autoscaling::V2::MetricValueStatus', 'required';
10              
11              
12             k8s name => Str, 'required';
13              
14              
15             1;
16              
17             __END__