Docker/Type/ContainerNetworkStats.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/ContainerMemoryStats.pm ↑ Summary Docker/Type/ContainerPidsStats.pm »
1 package API::Docker::Type::ContainerNetworkStats;
2 # ABSTRACT: Aggregates the network stats of one container
3 2 our $VERSION = '0.005';
4 2 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 2 docker rx_bytes => Int, wire => 'rx_bytes', since => '1.51';
9  
10  
11 2 docker rx_packets => Int, wire => 'rx_packets', since => '1.51';
12  
13  
14 2 docker rx_errors => Int, wire => 'rx_errors', since => '1.51';
15  
16  
17 2 docker rx_dropped => Int, wire => 'rx_dropped', since => '1.51';
18  
19  
20 2 docker tx_bytes => Int, wire => 'tx_bytes', since => '1.51';
21  
22  
23 2 docker tx_packets => Int, wire => 'tx_packets', since => '1.51';
24  
25  
26 2 docker tx_errors => Int, wire => 'tx_errors', since => '1.51';
27  
28  
29 2 docker tx_dropped => Int, wire => 'tx_dropped', since => '1.51';
30  
31  
32 2 docker endpoint_id => Str, wire => 'endpoint_id', since => '1.51';
33  
34  
35 2 docker instance_id => Str, wire => 'instance_id', since => '1.51';
36  
37  
38 2 1;
39  
40 __END__
« Docker/Type/ContainerMemoryStats.pm ↑ Summary Docker/Type/ContainerPidsStats.pm »