lib/IO/K8s/Api/Storage/V1/CSIStorageCapacity.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Api/Storage/V1/CSINodeStatus.pm ↑ Summary lib/IO/K8s/Api/Storage/V1/StorageClass.pm »
1 package IO::K8s::Api::Storage::V1::CSIStorageCapacity;
2 # ABSTRACT: CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.
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 capacity => Quantity;
9  
10  
11 5 k8s maximumVolumeSize => Quantity;
12  
13  
14 5 k8s nodeTopology => 'Meta::V1::LabelSelector';
15  
16  
17 5 k8s storageClassName => Str, 'required';
18  
19 5 1;
20  
21 __END__
« lib/IO/K8s/Api/Storage/V1/CSINodeStatus.pm ↑ Summary lib/IO/K8s/Api/Storage/V1/StorageClass.pm »