Docker/Type/Volume.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/Topology.pm ↑ Summary Docker/Type/Volume/UsageData.pm »
1 package API::Docker::Type::Volume;
2 # ABSTRACT: The body of the C<200> response to C<GET /volumes/{name}>
3 49 our $VERSION = '0.004';
4 49 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 49 ▶use API::Docker::Type::ClusterVolume;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 49 ▶use API::Docker::Type::Volume::UsageData;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 49 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9  
10 49 docker name => Str, required => 1;
11  
12  
13 49 docker driver => Str, required => 1;
14  
15  
16 49 docker mountpoint => Str, required => 1;
17  
18  
19 49 docker created_at => Str;
20  
21  
22 49 docker status => { Str, Any };
23  
24  
25 49 docker labels => { Str, Str }, required => 1;
26  
27  
28 49 docker scope => Str, required => 1, enum => [qw( local global )];
29  
30  
31 49 docker cluster_volume => 'ClusterVolume', since => '1.44';
32  
33  
34 49 docker options => { Str, Str }, required => 1;
35  
36  
37 49 docker usage_data => 'Volume::UsageData';
38  
39  
40 49 1;
41  
42 __END__
« Docker/Type/Topology.pm ↑ Summary Docker/Type/Volume/UsageData.pm »