Docker/Config.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Eixo::Docker::Config;
2  
3 use strict;
4 use warnings;
5  
6 use Eixo::Base::Clase qw(Eixo::Rest::Product);
7  
8 has(
9 AttachStdin => undef,
10 AttachStdout => undef,
11 AttachStderr => undef,
12 Cmd => [],
13 Domainname=>undef,
14 Entrypoint=>undef,
15 Env => undef,
16 ExposedPorts => {},
17 Hostname => "",
18 Image => "",
19 Labels => {},
20 MacAddress => undef,
21 NetworkDisabled => undef,
22 OnBuild => undef,
23 OpenStdin => undef,
24 StdinOnce => undef,
25 Tty => undef,
26 User => "",
27 Volumes => undef,
28 WorkingDir => '',
29 Mounts => [],
30  
31  
32  
33 # Refactorizacion da api para mover a HostConfig os atributos
34 # dependentes dos cgroups
35 #Binds=>[],
36 #Links=>[],
37 #LxcConf=>{},
38 #User => "",
39 #Memory => 0,
40 #MemorySwap=>0,
41 #PortSpecs => undef,
42 #Tty => undef,
43 #Dns => undef,
44 #DnsSearch => [],
45 #Volumes =>{},
46 #WorkingDir => "",
47 #MemorySwap=>undef,
48 #CpuShares=>undef,
49 #Cpuset => '',
50 #NetworkDisabled=>undef,
51 #OnBuild => undef,
52 #PortBindings=>{},
53 #ExtraHosts=>undef,
54 #CapAdd=>[],
55 #CapDrop=>[],
56 #Devices=>[],
57 #Ulimits=>[{}],
58 #SecurityOpt=>[],
59 #VolumesFrom => [],
60
61 );
62  
63 # api_v1.13
64 # 'Entrypoint' => undef,
65 # 'User' => '',
66 # 'ExposedPorts' => {
67 # '8080/tcp' => {}
68 # },
69 # 'Cmd' => [
70 # 'node',
71 # '/src/index.js'
72 # ],
73 # 'Cpuset' => '',
74 # 'MemorySwap' => 0,
75 # 'AttachStdin' => bless( do{\(my $o = 1)}, 'JSON::XS::Boolean' ),
76 # 'AttachStderr' => $VAR1->{'Config'}{'AttachStdin'},
77 # 'CpuShares' => 0,
78 # 'OpenStdin' => $VAR1->{'Config'}{'AttachStdin'},
79 # 'Volumes' => undef,
80 # 'Hostname' => 'my-node-hello',
81 # 'PortSpecs' => undef,
82 # 'Tty' => $VAR1->{'Config'}{'AttachStdin'},
83 # 'Env' => [
84 # 'HOME=/',
85 # 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
86 # ],
87 # 'Image' => 'my-node-hello',
88 # 'StdinOnce' => $VAR1->{'Config'}{'AttachStdin'},
89 # 'Domainname' => 'null',
90 # 'WorkingDir' => '',
91 # 'Memory' => 0,
92 # 'NetworkDisabled' => $VAR1->{'State'}{'Paused'},
93 # 'AttachStdout' => $VAR1->{'Config'}{'AttachStdin'},
94 # 'OnBuild' => undef
95  
96  
97 1;