Docker/Type/TaskSpec/Resources.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/TaskSpec/PluginSpec.pm ↑ Summary Docker/Type/TaskSpec/RestartPolicy.pm »
1 package API::Docker::Type::TaskSpec::Resources;
2 # ABSTRACT: Resource requirements which apply to each individual container created as part of the service
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::Limit;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use API::Docker::Type::ResourceObject;
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 limits => 'Limit';
11  
12  
13 1 docker reservations => 'ResourceObject';
14  
15  
16 1 1;
17  
18 __END__
« Docker/Type/TaskSpec/PluginSpec.pm ↑ Summary Docker/Type/TaskSpec/RestartPolicy.pm »