File Coverage

blib/lib/IO/K8s/Api/Resource/V1alpha3/ResourceClaim.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::ResourceClaim;
2             # ABSTRACT: ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
3             our $VERSION = '1.008';
4 1     1   1056 use IO::K8s::APIObject;
  1         2  
  1         9  
5             with 'IO::K8s::Role::Namespaced';
6              
7              
8             k8s spec => 'Resource::V1alpha3::ResourceClaimSpec', 'required';
9              
10              
11             k8s status => 'Resource::V1alpha3::ResourceClaimStatus';
12              
13             1;
14              
15             __END__