Docker/Type/Mount.pm

filter: Statementstmt 100% 29 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 35 / 35 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/ManagerStatus.pm ↑ Summary Docker/Type/Mount/BindOptions.pm »
1 package API::Docker::Type::Mount;
2 # ABSTRACT: One entry of a container's Mounts specification
3 55 our $VERSION = '0.006';
4 55 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 55 ▶use API::Docker::Type::Mount::BindOptions;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 55 ▶use API::Docker::Type::Mount::ImageOptions;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 55 ▶use API::Docker::Type::Mount::TmpfsOptions;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 55 ▶use API::Docker::Type::Mount::VolumeOptions;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 55 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12 55 docker target => Str;
13  
14  
15 55 docker source => Str;
16  
17  
18 55 docker type => Str, enum => [qw( bind cluster image npipe tmpfs volume )];
19  
20  
21 55 docker read_only => Bool;
22  
23  
24 55 docker consistency => Str;
25  
26  
27 55 docker bind_options => 'Mount::BindOptions';
28  
29  
30 55 docker volume_options => 'Mount::VolumeOptions';
31  
32  
33 55 docker image_options => 'Mount::ImageOptions', since => '1.51';
34  
35  
36 55 docker tmpfs_options => 'Mount::TmpfsOptions';
37  
38  
39 55 1;
40  
41 __END__
« Docker/Type/ManagerStatus.pm ↑ Summary Docker/Type/Mount/BindOptions.pm »