File Coverage

blib/lib/IO/K8s/Api/Resource/V1alpha3/ResourceSliceSpec.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::Resource::V1alpha3::ResourceSliceSpec;
2             # ABSTRACT: ResourceSliceSpec contains the information published by the driver in one ResourceSlice.
3             our $VERSION = '1.008';
4 1     1   1446 use IO::K8s::Resource;
  1         2  
  1         9  
5              
6             k8s allNodes => Bool;
7              
8              
9             k8s devices => ['Resource::V1alpha3::Device'];
10              
11              
12             k8s driver => Str, 'required';
13              
14              
15             k8s nodeName => Str;
16              
17              
18             k8s nodeSelector => 'Core::V1::NodeSelector';
19              
20              
21             k8s pool => 'Resource::V1alpha3::ResourcePool', 'required';
22              
23              
24             1;
25              
26             __END__