lib/IO/K8s/Api/Resource/V1alpha3/DeviceRequest.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Api/Resource/V1alpha3/DeviceConstraint.pm ↑ Summary lib/IO/K8s/Api/Resource/V1alpha3/DeviceRequestAllocationResult.pm »
1 package IO::K8s::Api::Resource::V1alpha3::DeviceRequest;
2 # ABSTRACT: DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s adminAccess => Bool;
7  
8  
9 2 k8s allocationMode => Str;
10  
11  
12 2 k8s count => Int;
13  
14  
15 2 k8s deviceClassName => Str, 'required';
16  
17  
18 2 k8s name => Str, 'required';
19  
20  
21 2 k8s selectors => ['Resource::V1alpha3::DeviceSelector'];
22  
23  
24 2 1;
25  
26 __END__
« lib/IO/K8s/Api/Resource/V1alpha3/DeviceConstraint.pm ↑ Summary lib/IO/K8s/Api/Resource/V1alpha3/DeviceRequestAllocationResult.pm »