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 54 our $VERSION = '0.006';
4 54 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 54 ▶use API::Docker::Type::ClusterVolume;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 54 ▶use API::Docker::Type::Volume::UsageData;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 54 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9  
10 54 docker name => Str, required => 1;
11  
12  
13 54 docker driver => Str, required => 1;
14  
15  
16 54 docker mountpoint => Str, required => 1;
17  
18  
19 54 docker created_at => Str;
20  
21  
22 54 docker status => { Str, Any };
23  
24  
25 54 docker labels => { Str, Str }, required => 1;
26  
27  
28 54 docker scope => Str, required => 1, enum => [qw( local global )];
29  
30  
31 54 docker cluster_volume => 'ClusterVolume', since => '1.44';
32  
33  
34 54 docker options => { Str, Str }, required => 1;
35  
36  
37 54 docker usage_data => 'Volume::UsageData';
38  
39  
40 54 1;
41  
42 __END__
« Docker/Type/Topology.pm ↑ Summary Docker/Type/Volume/UsageData.pm »