Skip to content

Commit 3671811

Browse files
committed
Bump Docker Engine API to v1.44
1 parent 6cdbc9d commit 3671811

File tree

414 files changed

+61848
-21210
lines changed

Some content is hidden

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

414 files changed

+61848
-21210
lines changed

spec/v1.44.json

Lines changed: 16801 additions & 0 deletions
Large diffs are not rendered by default.

src/Client.php

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

src/Endpoint/BuildPrune.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
7272
*
7373
* @return \Docker\API\Model\BuildPrunePostResponse200|null
7474
*/
75-
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
75+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
7676
{
7777
$status = $response->getStatusCode();
7878
$body = (string) $response->getBody();

src/Endpoint/ConfigCreate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class ConfigCreate extends \Docker\API\Runtime\Client\BaseEndpoint implements \D
88
{
99
use \Docker\API\Runtime\Client\EndpointTrait;
1010

11-
public function __construct(\Docker\API\Model\ConfigsCreatePostBody $requestBody = null)
11+
public function __construct(?\Docker\API\Model\ConfigsCreatePostBody $requestBody = null)
1212
{
1313
$this->body = $requestBody;
1414
}
@@ -44,7 +44,7 @@ public function getExtraHeaders(): array
4444
*
4545
* @return \Docker\API\Model\IdResponse|null
4646
*/
47-
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
47+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
4848
{
4949
$status = $response->getStatusCode();
5050
$body = (string) $response->getBody();

src/Endpoint/ConfigDelete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getExtraHeaders(): array
4444
*
4545
* @return null
4646
*/
47-
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
47+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
4848
{
4949
$status = $response->getStatusCode();
5050
$body = (string) $response->getBody();

src/Endpoint/ConfigInspect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getExtraHeaders(): array
4444
*
4545
* @return \Docker\API\Model\Config|null
4646
*/
47-
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
47+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
4848
{
4949
$status = $response->getStatusCode();
5050
$body = (string) $response->getBody();

src/Endpoint/ConfigList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
6565
*
6666
* @return \Docker\API\Model\Config[]|null
6767
*/
68-
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
68+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
6969
{
7070
$status = $response->getStatusCode();
7171
$body = (string) $response->getBody();

src/Endpoint/ConfigUpdate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ConfigUpdate extends \Docker\API\Runtime\Client\BaseEndpoint implements \D
2121
*
2222
* @param array $accept Accept content header application/json|text/plain
2323
*/
24-
public function __construct(string $id, \Docker\API\Model\ConfigSpec $requestBody = null, array $queryParameters = [], array $accept = [])
24+
public function __construct(string $id, ?\Docker\API\Model\ConfigSpec $requestBody = null, array $queryParameters = [], array $accept = [])
2525
{
2626
$this->id = $id;
2727
$this->body = $requestBody;
@@ -79,7 +79,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
7979
*
8080
* @return null
8181
*/
82-
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
82+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
8383
{
8484
$status = $response->getStatusCode();
8585
$body = (string) $response->getBody();

src/Endpoint/ContainerArchive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
6868
*
6969
* @return null
7070
*/
71-
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
71+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
7272
{
7373
$status = $response->getStatusCode();
7474
$body = (string) $response->getBody();

src/Endpoint/ContainerArchiveInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
7272
*
7373
* @return null
7474
*/
75-
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
75+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
7676
{
7777
$status = $response->getStatusCode();
7878
$body = (string) $response->getBody();

0 commit comments

Comments
 (0)