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 1 our $VERSION = '0.006';
4 1 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 1 docker rx_bytes => Int, wire => 'rx_bytes', since => '1.51';
9  
10  
11 1 docker rx_packets => Int, wire => 'rx_packets', since => '1.51';
12  
13  
14 1 docker rx_errors => Int, wire => 'rx_errors', since => '1.51';
15  
16  
17 1 docker rx_dropped => Int, wire => 'rx_dropped', since => '1.51';
18  
19  
20 1 docker tx_bytes => Int, wire => 'tx_bytes', since => '1.51';
21  
22  
23 1 docker tx_packets => Int, wire => 'tx_packets', since => '1.51';
24  
25  
26 1 docker tx_errors => Int, wire => 'tx_errors', since => '1.51';
27  
28  
29 1 docker tx_dropped => Int, wire => 'tx_dropped', since => '1.51';
30  
31  
32 1 docker endpoint_id => Str, wire => 'endpoint_id', since => '1.51';
33  
34  
35 1 docker instance_id => Str, wire => 'instance_id', since => '1.51';
36  
37  
38 1 1;
39  
40 __END__
« Docker/Type/ContainerMemoryStats.pm ↑ Summary Docker/Type/ContainerPidsStats.pm »