blib/lib/IO/K8s/Api/Resource/V1/Device.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/Api/Resource/V1/CounterSet.pm ↑ Summary blib/lib/IO/K8s/Api/Resource/V1/DeviceAllocationConfiguration.pm »
1 package IO::K8s::Api::Resource::V1::Device;
2 # ABSTRACT: Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
3 9 our $VERSION = '1.110';
4 9 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 9 k8s allNodes => Bool;
7  
8  
9 9 k8s allowMultipleAllocations => Bool;
10  
11  
12 9 k8s attributes => { 'Resource::V1::DeviceAttribute' => 1 };
13  
14  
15 9 k8s bindingConditions => [Str];
16  
17  
18 9 k8s bindingFailureConditions => [Str];
19  
20  
21 9 k8s bindsToNode => Bool;
22  
23  
24 9 k8s capacity => { 'Resource::V1::DeviceCapacity' => 1 };
25  
26  
27 9 k8s consumesCounters => ['Resource::V1::DeviceCounterConsumption'];
28  
29  
30 9 k8s name => Str, 'required';
31  
32  
33 9 k8s nodeAllocatableResourceMappings => { 'Resource::V1::NodeAllocatableResourceMapping' => 1 };
34  
35  
36 9 k8s nodeAllocatableResources => { 'Resource::V1::NodeAllocatableResource' => 1 };
37  
38  
39 9 k8s nodeName => Str;
40  
41  
42 9 k8s nodeSelector => 'Core::V1::NodeSelector';
43  
44  
45 9 k8s taints => ['Resource::V1::DeviceTaint'];
46  
47  
48 9 1;
49  
50 __END__
« blib/lib/IO/K8s/Api/Resource/V1/CounterSet.pm ↑ Summary blib/lib/IO/K8s/Api/Resource/V1/DeviceAllocationConfiguration.pm »