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