Docker/Type/TaskStatus.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/TaskSpec/RestartPolicy.pm ↑ Summary Docker/Type/ThrottleDevice.pm »
1 package API::Docker::Type::TaskStatus;
2 # ABSTRACT: represents the status of a task
3 1 our $VERSION = '0.006';
4 1 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use API::Docker::Type::ContainerStatus;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use API::Docker::Type::PortStatus;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9  
10 1 docker timestamp => Str, since => '1.44';
11  
12  
13 1 docker state => Str, since => '1.44',
14 enum => [qw(
15 new allocated pending assigned accepted preparing ready starting running
16 complete shutdown failed rejected remove orphaned
17 )];
18  
19  
20 1 docker message => Str, since => '1.44';
21  
22  
23 1 docker err => Str, since => '1.44';
24  
25  
26 1 docker container_status => 'ContainerStatus', since => '1.44';
27  
28  
29 1 docker port_status => 'PortStatus', since => '1.44';
30  
31  
32 1 1;
33  
34 __END__
« Docker/Type/TaskSpec/RestartPolicy.pm ↑ Summary Docker/Type/ThrottleDevice.pm »