Docker/Type/ContainerStatsResponse.pm

filter: Statementstmt 100% 38 / 38 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 46 / 46 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/ContainerState.pm ↑ Summary Docker/Type/ContainerStatus.pm »
1 package API::Docker::Type::ContainerStatsResponse;
2 # ABSTRACT: Statistics sample for a container
3 2 our $VERSION = '0.005';
4 2 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use API::Docker::Type::ContainerBlkioStats;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use API::Docker::Type::ContainerCPUStats;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use API::Docker::Type::ContainerMemoryStats;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use API::Docker::Type::ContainerNetworkStats;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 ▶use API::Docker::Type::ContainerPidsStats;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 ▶use API::Docker::Type::ContainerStorageStats;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 2 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13  
14 2 docker name => Str, wire => 'name', since => '1.51';
15  
16  
17 2 docker id => Str, wire => 'id', since => '1.51';
18  
19  
20 2 docker read => Str, wire => 'read', since => '1.51';
21  
22  
23 2 docker preread => Str, wire => 'preread', since => '1.51';
24  
25  
26 2 docker pids_stats => 'ContainerPidsStats',
27 wire => 'pids_stats', since => '1.51';
28  
29  
30 2 docker blkio_stats => 'ContainerBlkioStats',
31 wire => 'blkio_stats', since => '1.51';
32  
33  
34 2 docker num_procs => Int, wire => 'num_procs', since => '1.51';
35  
36  
37 2 docker storage_stats => 'ContainerStorageStats',
38 wire => 'storage_stats', since => '1.51';
39  
40  
41 2 docker cpu_stats => 'ContainerCPUStats', wire => 'cpu_stats', since => '1.51';
42  
43  
44 2 docker precpu_stats => 'ContainerCPUStats',
45 wire => 'precpu_stats', since => '1.51';
46  
47  
48 2 docker memory_stats => 'ContainerMemoryStats',
49 wire => 'memory_stats', since => '1.51';
50  
51  
52 2 docker networks => { Str, 'ContainerNetworkStats' },
53 wire => 'networks', since => '1.51';
54  
55  
56 2 1;
57  
58 __END__
« Docker/Type/ContainerState.pm ↑ Summary Docker/Type/ContainerStatus.pm »