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