Skip to content

Commit 1b87500

Browse files
committed
Update api to 1.22
1 parent 5021a0d commit 1b87500

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2782
-418
lines changed

docker-swagger.json

+267-6
Large diffs are not rendered by default.

generated/Model/AuthConfig.php

+24
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ class AuthConfig
2020
* @var string
2121
*/
2222
protected $serveraddress;
23+
/**
24+
* @var string
25+
*/
26+
protected $registrytoken;
2327

2428
/**
2529
* @return string
@@ -100,4 +104,24 @@ public function setServeraddress($serveraddress = null)
100104

101105
return $this;
102106
}
107+
108+
/**
109+
* @return string
110+
*/
111+
public function getRegistrytoken()
112+
{
113+
return $this->registrytoken;
114+
}
115+
116+
/**
117+
* @param string $registrytoken
118+
*
119+
* @return self
120+
*/
121+
public function setRegistrytoken($registrytoken = null)
122+
{
123+
$this->registrytoken = $registrytoken;
124+
125+
return $this;
126+
}
103127
}

generated/Model/ContainerConfig.php

+24
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ class ContainerConfig
112112
* @var mixed[]
113113
*/
114114
protected $exposedPorts;
115+
/**
116+
* @var NetworkConfig
117+
*/
118+
protected $networkSettings;
115119
/**
116120
* @var HostConfig
117121
*/
@@ -657,6 +661,26 @@ public function setExposedPorts(\ArrayObject $exposedPorts = null)
657661
return $this;
658662
}
659663

664+
/**
665+
* @return NetworkConfig
666+
*/
667+
public function getNetworkSettings()
668+
{
669+
return $this->networkSettings;
670+
}
671+
672+
/**
673+
* @param NetworkConfig $networkSettings
674+
*
675+
* @return self
676+
*/
677+
public function setNetworkSettings(NetworkConfig $networkSettings = null)
678+
{
679+
$this->networkSettings = $networkSettings;
680+
681+
return $this;
682+
}
683+
660684
/**
661685
* @return HostConfig
662686
*/

generated/Model/ContainerConnect.php

+24
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ class ContainerConnect
88
* @var string
99
*/
1010
protected $container;
11+
/**
12+
* @var EndpointConfig[]
13+
*/
14+
protected $endpointConfig;
1115

1216
/**
1317
* @return string
@@ -28,4 +32,24 @@ public function setContainer($container = null)
2832

2933
return $this;
3034
}
35+
36+
/**
37+
* @return EndpointConfig[]
38+
*/
39+
public function getEndpointConfig()
40+
{
41+
return $this->endpointConfig;
42+
}
43+
44+
/**
45+
* @param EndpointConfig[] $endpointConfig
46+
*
47+
* @return self
48+
*/
49+
public function setEndpointConfig(\ArrayObject $endpointConfig = null)
50+
{
51+
$this->endpointConfig = $endpointConfig;
52+
53+
return $this;
54+
}
3155
}
+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<?php
2+
3+
namespace Docker\API\Model;
4+
5+
class ContainerDisconnect
6+
{
7+
/**
8+
* @var string
9+
*/
10+
protected $container;
11+
/**
12+
* @var bool
13+
*/
14+
protected $force;
15+
16+
/**
17+
* @return string
18+
*/
19+
public function getContainer()
20+
{
21+
return $this->container;
22+
}
23+
24+
/**
25+
* @param string $container
26+
*
27+
* @return self
28+
*/
29+
public function setContainer($container = null)
30+
{
31+
$this->container = $container;
32+
33+
return $this;
34+
}
35+
36+
/**
37+
* @return bool
38+
*/
39+
public function getForce()
40+
{
41+
return $this->force;
42+
}
43+
44+
/**
45+
* @param bool $force
46+
*
47+
* @return self
48+
*/
49+
public function setForce($force = null)
50+
{
51+
$this->force = $force;
52+
53+
return $this;
54+
}
55+
}

generated/Model/ContainerNetwork.php

+223
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,223 @@
1+
<?php
2+
3+
namespace Docker\API\Model;
4+
5+
class ContainerNetwork
6+
{
7+
/**
8+
* @var string
9+
*/
10+
protected $networkID;
11+
/**
12+
* @var string
13+
*/
14+
protected $endpointID;
15+
/**
16+
* @var string
17+
*/
18+
protected $gateway;
19+
/**
20+
* @var string
21+
*/
22+
protected $iPAddress;
23+
/**
24+
* @var int
25+
*/
26+
protected $iPPrefixLen;
27+
/**
28+
* @var string
29+
*/
30+
protected $iPv6Gateway;
31+
/**
32+
* @var string
33+
*/
34+
protected $globalIPv6Address;
35+
/**
36+
* @var int
37+
*/
38+
protected $globalIPv6PrefixLen;
39+
/**
40+
* @var string
41+
*/
42+
protected $macAddress;
43+
44+
/**
45+
* @return string
46+
*/
47+
public function getNetworkID()
48+
{
49+
return $this->networkID;
50+
}
51+
52+
/**
53+
* @param string $networkID
54+
*
55+
* @return self
56+
*/
57+
public function setNetworkID($networkID = null)
58+
{
59+
$this->networkID = $networkID;
60+
61+
return $this;
62+
}
63+
64+
/**
65+
* @return string
66+
*/
67+
public function getEndpointID()
68+
{
69+
return $this->endpointID;
70+
}
71+
72+
/**
73+
* @param string $endpointID
74+
*
75+
* @return self
76+
*/
77+
public function setEndpointID($endpointID = null)
78+
{
79+
$this->endpointID = $endpointID;
80+
81+
return $this;
82+
}
83+
84+
/**
85+
* @return string
86+
*/
87+
public function getGateway()
88+
{
89+
return $this->gateway;
90+
}
91+
92+
/**
93+
* @param string $gateway
94+
*
95+
* @return self
96+
*/
97+
public function setGateway($gateway = null)
98+
{
99+
$this->gateway = $gateway;
100+
101+
return $this;
102+
}
103+
104+
/**
105+
* @return string
106+
*/
107+
public function getIPAddress()
108+
{
109+
return $this->iPAddress;
110+
}
111+
112+
/**
113+
* @param string $iPAddress
114+
*
115+
* @return self
116+
*/
117+
public function setIPAddress($iPAddress = null)
118+
{
119+
$this->iPAddress = $iPAddress;
120+
121+
return $this;
122+
}
123+
124+
/**
125+
* @return int
126+
*/
127+
public function getIPPrefixLen()
128+
{
129+
return $this->iPPrefixLen;
130+
}
131+
132+
/**
133+
* @param int $iPPrefixLen
134+
*
135+
* @return self
136+
*/
137+
public function setIPPrefixLen($iPPrefixLen = null)
138+
{
139+
$this->iPPrefixLen = $iPPrefixLen;
140+
141+
return $this;
142+
}
143+
144+
/**
145+
* @return string
146+
*/
147+
public function getIPv6Gateway()
148+
{
149+
return $this->iPv6Gateway;
150+
}
151+
152+
/**
153+
* @param string $iPv6Gateway
154+
*
155+
* @return self
156+
*/
157+
public function setIPv6Gateway($iPv6Gateway = null)
158+
{
159+
$this->iPv6Gateway = $iPv6Gateway;
160+
161+
return $this;
162+
}
163+
164+
/**
165+
* @return string
166+
*/
167+
public function getGlobalIPv6Address()
168+
{
169+
return $this->globalIPv6Address;
170+
}
171+
172+
/**
173+
* @param string $globalIPv6Address
174+
*
175+
* @return self
176+
*/
177+
public function setGlobalIPv6Address($globalIPv6Address = null)
178+
{
179+
$this->globalIPv6Address = $globalIPv6Address;
180+
181+
return $this;
182+
}
183+
184+
/**
185+
* @return int
186+
*/
187+
public function getGlobalIPv6PrefixLen()
188+
{
189+
return $this->globalIPv6PrefixLen;
190+
}
191+
192+
/**
193+
* @param int $globalIPv6PrefixLen
194+
*
195+
* @return self
196+
*/
197+
public function setGlobalIPv6PrefixLen($globalIPv6PrefixLen = null)
198+
{
199+
$this->globalIPv6PrefixLen = $globalIPv6PrefixLen;
200+
201+
return $this;
202+
}
203+
204+
/**
205+
* @return string
206+
*/
207+
public function getMacAddress()
208+
{
209+
return $this->macAddress;
210+
}
211+
212+
/**
213+
* @param string $macAddress
214+
*
215+
* @return self
216+
*/
217+
public function setMacAddress($macAddress = null)
218+
{
219+
$this->macAddress = $macAddress;
220+
221+
return $this;
222+
}
223+
}

0 commit comments

Comments
 (0)