Docker/Type/Network.pm

filter: Statementstmt 100% 37 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 43 / 43 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/MountPoint.pm ↑ Summary Docker/Type/NetworkAttachmentConfig.pm »
1 package API::Docker::Type::Network;
2 # ABSTRACT: One entry of the C<200> response to C<GET /networks>
3 50 our $VERSION = '0.004';
4 50 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 50 ▶use API::Docker::Type::ConfigReference;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 50 ▶use API::Docker::Type::IPAM;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 50 ▶use API::Docker::Type::NetworkContainer;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 50 ▶use API::Docker::Type::PeerInfo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 50 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12 50 docker name => Str;
13  
14  
15 50 docker id => Str;
16  
17  
18 50 docker created => Str;
19  
20  
21 50 docker scope => Str;
22  
23  
24 50 docker driver => Str;
25  
26  
27 50 docker enable_ipv4 => Bool, wire => 'EnableIPv4', since => '1.51';
28  
29  
30 50 docker enable_ipv6 => Bool, wire => 'EnableIPv6';
31  
32  
33 50 docker ipam => 'IPAM', wire => 'IPAM';
34  
35  
36 50 docker internal => Bool;
37  
38  
39 50 docker attachable => Bool;
40  
41  
42 50 docker ingress => Bool;
43  
44  
45 50 docker config_from => 'ConfigReference';
46  
47  
48 50 docker config_only => Bool;
49  
50  
51 50 docker containers => { Str, 'NetworkContainer' };
52  
53  
54 50 docker options => { Str, Str };
55  
56  
57 50 docker labels => { Str, Str };
58  
59  
60 50 docker peers => [ 'PeerInfo' ];
61  
62  
63 50 1;
64  
65 __END__
« Docker/Type/MountPoint.pm ↑ Summary Docker/Type/NetworkAttachmentConfig.pm »