Docker/Type/TaskSpec/Placement.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/TaskSpec/NetworkAttachmentSpec.pm ↑ Summary Docker/Type/TaskSpec/Placement/Preference.pm »
1 package API::Docker::Type::TaskSpec::Placement;
2 # ABSTRACT: Where in the swarm a task may be scheduled
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::Platform;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use API::Docker::Type::TaskSpec::Placement::Preference;
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 constraints => [Str];
11  
12  
13 1 docker preferences => [ 'TaskSpec::Placement::Preference' ];
14  
15  
16 1 docker max_replicas => Int;
17  
18  
19 1 docker platforms => [ 'Platform' ];
20  
21  
22 1 1;
23  
24 __END__
« Docker/Type/TaskSpec/NetworkAttachmentSpec.pm ↑ Summary Docker/Type/TaskSpec/Placement/Preference.pm »