Docker/Type/RestartPolicy.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/Resources/Ulimit.pm ↑ Summary Docker/Type/Runtime.pm »
1 package API::Docker::Type::RestartPolicy;
2 # ABSTRACT: The behavior to apply when the container exits
3 55 our $VERSION = '0.006';
4 55 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 55 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 55 docker name => Str,
9 enum => [ '', 'no', 'always', 'unless-stopped', 'on-failure' ];
10  
11  
12 55 docker maximum_retry_count => Int;
13  
14  
15 55 1;
16  
17 __END__
« Docker/Type/Resources/Ulimit.pm ↑ Summary Docker/Type/Runtime.pm »