Docker/Type/ResourceObject.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/RegistryServiceConfig.pm ↑ Summary Docker/Type/Resources.pm »
1 package API::Docker::Type::ResourceObject;
2 # ABSTRACT: An object describing the resources which can be advertised by a node and requested by 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::GenericResource;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8  
9 1 docker nano_cpus => Int, wire => 'NanoCPUs';
10  
11  
12 1 docker memory_bytes => Int;
13  
14  
15 1 docker generic_resources => [ 'GenericResource' ];
16  
17  
18 1 1;
19  
20 __END__
« Docker/Type/RegistryServiceConfig.pm ↑ Summary Docker/Type/Resources.pm »