File Coverage

blib/lib/IO/K8s/Api/Resource/V1alpha3/DeviceRequest.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
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             our $VERSION = '1.008';
4 1     1   1603 use IO::K8s::Resource;
  1         4  
  1         14  
5              
6             k8s adminAccess => Bool;
7              
8              
9             k8s allocationMode => Str;
10              
11              
12             k8s count => Int;
13              
14              
15             k8s deviceClassName => Str, 'required';
16              
17              
18             k8s name => Str, 'required';
19              
20              
21             k8s selectors => ['Resource::V1alpha3::DeviceSelector'];
22              
23              
24             1;
25              
26             __END__