Docker/Type/NetworkSettings.pm

filter: Statementstmt 100% 35 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 40 / 40 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/NetworkCreateResponse.pm ↑ Summary Docker/Type/NetworkingConfig.pm »
1 package API::Docker::Type::NetworkSettings;
2 # ABSTRACT: NetworkSettings exposes the network settings in the API
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::Address;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 50 ▶use API::Docker::Type::EndpointSettings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 50 ▶use API::Docker::Type::PortBinding;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 50 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10  
11 50 docker bridge => Str;
12  
13  
14 50 docker sandbox_id => Str, wire => 'SandboxID';
15  
16  
17 50 docker hairpin_mode => Bool;
18  
19  
20 50 docker link_local_ipv6_address => Str, wire => 'LinkLocalIPv6Address';
21  
22  
23 50 docker link_local_ipv6_prefix_len => Int, wire => 'LinkLocalIPv6PrefixLen';
24  
25  
26 50 docker ports => { Str, [ 'PortBinding' ] };
27  
28  
29 50 docker sandbox_key => Str;
30  
31  
32 50 docker secondary_ip_addresses => [ 'Address' ],
33 wire => 'SecondaryIPAddresses';
34  
35  
36 50 docker secondary_ipv6_addresses => [ 'Address' ],
37 wire => 'SecondaryIPv6Addresses';
38  
39  
40 50 docker endpoint_id => Str, wire => 'EndpointID';
41  
42  
43 50 docker gateway => Str;
44  
45  
46 50 docker global_ipv6_address => Str, wire => 'GlobalIPv6Address';
47  
48  
49 50 docker global_ipv6_prefix_len => Int, wire => 'GlobalIPv6PrefixLen';
50  
51  
52 50 docker ip_address => Str, wire => 'IPAddress';
53  
54  
55 50 docker ip_prefix_len => Int, wire => 'IPPrefixLen';
56  
57  
58 50 docker ipv6_gateway => Str, wire => 'IPv6Gateway';
59  
60  
61 50 docker mac_address => Str;
62  
63  
64 50 docker networks => { Str, 'EndpointSettings' };
65  
66  
67 50 1;
68  
69 __END__
« Docker/Type/NetworkCreateResponse.pm ↑ Summary Docker/Type/NetworkingConfig.pm »