lib/IO/K8s/Api/Resource/V1beta2/DeviceSubRequest.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Api/Resource/V1beta2/DeviceSelector.pm ↑ Summary lib/IO/K8s/Api/Resource/V1beta2/DeviceTaint.pm »
1 package IO::K8s::Api::Resource::V1beta2::DeviceSubRequest;
2 # ABSTRACT: DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s allocationMode => Str;
7  
8  
9 2 k8s capacity => 'Resource::V1beta2::CapacityRequirements';
10  
11  
12 2 k8s count => Int;
13  
14  
15 2 k8s derivedAttributes => ['Resource::V1beta2::DeviceDerivedAttribute'];
16  
17  
18 2 k8s deviceClassName => Str, 'required';
19  
20  
21 2 k8s name => Str, 'required';
22  
23  
24 2 k8s selectors => ['Resource::V1beta2::DeviceSelector'];
25  
26  
27 2 k8s tolerations => ['Resource::V1beta2::DeviceToleration'];
28  
29  
30 2 1;
31  
32 __END__
« lib/IO/K8s/Api/Resource/V1beta2/DeviceSelector.pm ↑ Summary lib/IO/K8s/Api/Resource/V1beta2/DeviceTaint.pm »