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