Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

Commit 8cb6929

Browse files
committed
Generate 1.32 version
1 parent e5eae79 commit 8cb6929

File tree

92 files changed

+8224
-2837
lines changed

Some content is hidden

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

92 files changed

+8224
-2837
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"extra": {
2626
"branch-alias": {
27-
"4.1.31": "4.1.31.x-dev"
27+
"4.1.32": "4.1.32.x-dev"
2828
}
2929
},
3030
"minimum-stability": "dev",

docker-swagger.yaml

Lines changed: 1508 additions & 524 deletions
Large diffs are not rendered by default.

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static function create($httpClient = null)
3434
if (null === $httpClient) {
3535
$httpClient = \Http\Discovery\HttpClientDiscovery::find();
3636
$plugins = [];
37-
$uri = \Http\Discovery\UriFactoryDiscovery::find()->createUri('v1.31');
37+
$uri = \Http\Discovery\UriFactoryDiscovery::find()->createUri('v1.32');
3838
$plugins[] = new \Http\Client\Common\Plugin\AddPathPlugin($uri);
3939
$httpClient = new \Http\Client\Common\PluginClient($httpClient, $plugins);
4040
}

src/Exception/ContainerCreateNotAcceptableException.php

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/Model/Address.php

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* This file has been auto generated by Jane,
7+
*
8+
* Do no edit it directly.
9+
*/
10+
11+
namespace Docker\API\Model;
12+
13+
class Address
14+
{
15+
/**
16+
* IP address.
17+
*
18+
* @var string
19+
*/
20+
protected $addr;
21+
/**
22+
* Mask length of the IP address.
23+
*
24+
* @var int
25+
*/
26+
protected $prefixLen;
27+
28+
/**
29+
* IP address.
30+
*
31+
* @return string
32+
*/
33+
public function getAddr(): ?string
34+
{
35+
return $this->addr;
36+
}
37+
38+
/**
39+
* IP address.
40+
*
41+
* @param string $addr
42+
*
43+
* @return self
44+
*/
45+
public function setAddr(?string $addr): self
46+
{
47+
$this->addr = $addr;
48+
49+
return $this;
50+
}
51+
52+
/**
53+
* Mask length of the IP address.
54+
*
55+
* @return int
56+
*/
57+
public function getPrefixLen(): ?int
58+
{
59+
return $this->prefixLen;
60+
}
61+
62+
/**
63+
* Mask length of the IP address.
64+
*
65+
* @param int $prefixLen
66+
*
67+
* @return self
68+
*/
69+
public function setPrefixLen(?int $prefixLen): self
70+
{
71+
$this->prefixLen = $prefixLen;
72+
73+
return $this;
74+
}
75+
}

src/Model/ClusterInfo.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,18 @@ class ClusterInfo
3232
*/
3333
protected $version;
3434
/**
35+
* Date and time at which the swarm was initialised in.
36+
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
37+
38+
*
3539
* @var string
3640
*/
3741
protected $createdAt;
3842
/**
43+
* Date and time at which the swarm was last updated in.
44+
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
45+
46+
*
3947
* @var string
4048
*/
4149
protected $updatedAt;
@@ -121,6 +129,10 @@ public function setVersion(?ObjectVersion $version): self
121129
}
122130

123131
/**
132+
* Date and time at which the swarm was initialised in.
133+
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
134+
135+
*
124136
* @return string
125137
*/
126138
public function getCreatedAt(): ?string
@@ -129,6 +141,10 @@ public function getCreatedAt(): ?string
129141
}
130142

131143
/**
144+
* Date and time at which the swarm was initialised in.
145+
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
146+
147+
*
132148
* @param string $createdAt
133149
*
134150
* @return self
@@ -141,6 +157,10 @@ public function setCreatedAt(?string $createdAt): self
141157
}
142158

143159
/**
160+
* Date and time at which the swarm was last updated in.
161+
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
162+
163+
*
144164
* @return string
145165
*/
146166
public function getUpdatedAt(): ?string
@@ -149,6 +169,10 @@ public function getUpdatedAt(): ?string
149169
}
150170

151171
/**
172+
* Date and time at which the swarm was last updated in.
173+
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
174+
175+
*
152176
* @param string $updatedAt
153177
*
154178
* @return self

src/Model/Commit.php

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* This file has been auto generated by Jane,
7+
*
8+
* Do no edit it directly.
9+
*/
10+
11+
namespace Docker\API\Model;
12+
13+
class Commit
14+
{
15+
/**
16+
* Actual commit ID of external tool.
17+
*
18+
* @var string
19+
*/
20+
protected $iD;
21+
/**
22+
* Commit ID of external tool expected by dockerd as set at build time.
23+
*
24+
* @var string
25+
*/
26+
protected $expected;
27+
28+
/**
29+
* Actual commit ID of external tool.
30+
*
31+
* @return string
32+
*/
33+
public function getID(): ?string
34+
{
35+
return $this->iD;
36+
}
37+
38+
/**
39+
* Actual commit ID of external tool.
40+
*
41+
* @param string $iD
42+
*
43+
* @return self
44+
*/
45+
public function setID(?string $iD): self
46+
{
47+
$this->iD = $iD;
48+
49+
return $this;
50+
}
51+
52+
/**
53+
* Commit ID of external tool expected by dockerd as set at build time.
54+
*
55+
* @return string
56+
*/
57+
public function getExpected(): ?string
58+
{
59+
return $this->expected;
60+
}
61+
62+
/**
63+
* Commit ID of external tool expected by dockerd as set at build time.
64+
*
65+
* @param string $expected
66+
*
67+
* @return self
68+
*/
69+
public function setExpected(?string $expected): self
70+
{
71+
$this->expected = $expected;
72+
73+
return $this;
74+
}
75+
}

src/Model/ContainersCreatePostResponse201.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ContainersCreatePostResponse201
2121
/**
2222
* Warnings encountered when creating the container.
2323
*
24-
* @var string[]
24+
* @var string[]|null
2525
*/
2626
protected $warnings;
2727

@@ -52,7 +52,7 @@ public function setId(?string $id): self
5252
/**
5353
* Warnings encountered when creating the container.
5454
*
55-
* @return string[]
55+
* @return string[]|null
5656
*/
5757
public function getWarnings(): ?array
5858
{
@@ -62,7 +62,7 @@ public function getWarnings(): ?array
6262
/**
6363
* Warnings encountered when creating the container.
6464
*
65-
* @param string[] $warnings
65+
* @param string[]|null $warnings
6666
*
6767
* @return self
6868
*/

src/Model/ContainersIdJsonGetResponse200.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ class ContainersIdJsonGetResponse200
133133
*/
134134
protected $config;
135135
/**
136-
* TODO: check is correct.
136+
* NetworkSettings exposes the network settings in the API.
137137
*
138-
* @var NetworkConfig
138+
* @var NetworkSettings
139139
*/
140140
protected $networkSettings;
141141

@@ -668,23 +668,23 @@ public function setConfig(?ContainerConfig $config): self
668668
}
669669

670670
/**
671-
* TODO: check is correct.
671+
* NetworkSettings exposes the network settings in the API.
672672
*
673-
* @return NetworkConfig
673+
* @return NetworkSettings
674674
*/
675-
public function getNetworkSettings(): ?NetworkConfig
675+
public function getNetworkSettings(): ?NetworkSettings
676676
{
677677
return $this->networkSettings;
678678
}
679679

680680
/**
681-
* TODO: check is correct.
681+
* NetworkSettings exposes the network settings in the API.
682682
*
683-
* @param NetworkConfig $networkSettings
683+
* @param NetworkSettings $networkSettings
684684
*
685685
* @return self
686686
*/
687-
public function setNetworkSettings(?NetworkConfig $networkSettings): self
687+
public function setNetworkSettings(?NetworkSettings $networkSettings): self
688688
{
689689
$this->networkSettings = $networkSettings;
690690

src/Model/EndpointSettingsIPAMConfig.php renamed to src/Model/EndpointIPAMConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace Docker\API\Model;
1212

13-
class EndpointSettingsIPAMConfig
13+
class EndpointIPAMConfig
1414
{
1515
/**
1616
* @var string

0 commit comments

Comments
 (0)