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
« lib/IO/K8s/Api/Resource/V1/CounterSet.pm ↑ Summary 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 4 our $VERSION = '1.112';
4 4 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 k8s allNodes => Bool;
7  
8  
9 4 k8s allowMultipleAllocations => Bool;
10  
11  
12 4 k8s attributes => { 'Resource::V1::DeviceAttribute' => 1 };
13  
14  
15 4 k8s bindingConditions => [Str];
16  
17  
18 4 k8s bindingFailureConditions => [Str];
19  
20  
21 4 k8s bindsToNode => Bool;
22  
23  
24 4 k8s capacity => { 'Resource::V1::DeviceCapacity' => 1 };
25  
26  
27 4 k8s consumesCounters => ['Resource::V1::DeviceCounterConsumption'];
28  
29  
30 4 k8s name => Str, 'required';
31  
32  
33 4 k8s nodeAllocatableResourceMappings => { 'Resource::V1::NodeAllocatableResourceMapping' => 1 };
34  
35  
36 4 k8s nodeAllocatableResources => { 'Resource::V1::NodeAllocatableResource' => 1 };
37  
38  
39 4 k8s nodeName => Str;
40  
41  
42 4 k8s nodeSelector => 'Core::V1::NodeSelector';
43  
44  
45 4 k8s taints => ['Resource::V1::DeviceTaint'];
46  
47  
48 4 1;
49  
50 __END__
« lib/IO/K8s/Api/Resource/V1/CounterSet.pm ↑ Summary lib/IO/K8s/Api/Resource/V1/DeviceAllocationConfiguration.pm »