Docker/Type/Health.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/GenericResource/NamedResourceSpec.pm ↑ Summary Docker/Type/HealthConfig.pm »
1 package API::Docker::Type::Health;
2 # ABSTRACT: Information about the container's healthcheck results
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::HealthcheckResult;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 55 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8  
9 55 docker status => Str, enum => [qw( none starting healthy unhealthy )];
10  
11  
12 55 docker failing_streak => Int;
13  
14  
15 55 docker log => [ 'HealthcheckResult' ];
16  
17  
18 55 1;
19  
20 __END__
« Docker/Type/GenericResource/NamedResourceSpec.pm ↑ Summary Docker/Type/HealthConfig.pm »