lib/IO/K8s/Api/Autoscaling/V2/MetricSpec.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Api/Autoscaling/V2/MetricIdentifier.pm ↑ Summary lib/IO/K8s/Api/Autoscaling/V2/MetricStatus.pm »
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 5 our $VERSION = '1.112';
4 5 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 k8s containerResource => 'Autoscaling::V2::ContainerResourceMetricSource';
7  
8  
9 5 k8s external => 'Autoscaling::V2::ExternalMetricSource';
10  
11  
12 5 k8s object => 'Autoscaling::V2::ObjectMetricSource';
13  
14  
15 5 k8s pods => 'Autoscaling::V2::PodsMetricSource';
16  
17  
18 5 k8s resource => 'Autoscaling::V2::ResourceMetricSource';
19  
20  
21 5 k8s type => Str, 'required';
22  
23  
24 5 1;
25  
26 __END__
« lib/IO/K8s/Api/Autoscaling/V2/MetricIdentifier.pm ↑ Summary lib/IO/K8s/Api/Autoscaling/V2/MetricStatus.pm »