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

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Api/Resource/V1beta2/OpaqueDeviceConfiguration.pm ↑ Summary lib/IO/K8s/Api/Resource/V1beta2/ResourceClaimConsumerReference.pm »
1 package IO::K8s::Api::Resource::V1beta2::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 5 our $VERSION = '1.112';
4 5 ▶use IO::K8s::APIObject;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 5 with 'IO::K8s::Role::Namespaced';
6  
7  
8 5 k8s spec => 'Resource::V1beta2::ResourceClaimSpec', 'required';
9  
10  
11 5 k8s status => 'Resource::V1beta2::ResourceClaimStatus';
12  
13  
14 5 1;
15  
16 __END__
« lib/IO/K8s/Api/Resource/V1beta2/OpaqueDeviceConfiguration.pm ↑ Summary lib/IO/K8s/Api/Resource/V1beta2/ResourceClaimConsumerReference.pm »