Skip to content

Commit 275c8e5

Browse files
committed
chore v1.52
1 parent 2a62b12 commit 275c8e5

File tree

15 files changed

+85
-74
lines changed

15 files changed

+85
-74
lines changed

api-model-v1-52/docker-engine-api-v1.52.yaml

Lines changed: 39 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ definitions:
856856
description: |
857857
Health stores information about the container's healthcheck results.
858858
type: "object"
859-
x-nullable: true
859+
# x-nullable: true
860860
properties:
861861
Status:
862862
description: |
@@ -882,13 +882,14 @@ definitions:
882882
description: |
883883
Log contains the last few results (oldest first)
884884
items:
885+
x-nullable: true
885886
$ref: "#/definitions/HealthcheckResult"
886887

887888
HealthcheckResult:
888889
description: |
889890
HealthcheckResult stores information about a single run of a healthcheck probe
890891
type: "object"
891-
x-nullable: true
892+
# x-nullable: true
892893
properties:
893894
Start:
894895
description: |
@@ -1307,7 +1308,7 @@ definitions:
13071308
13081309
`{"<port>/<tcp|udp|sctp>": {}}`
13091310
type: "object"
1310-
x-nullable: true
1311+
# x-nullable: true
13111312
additionalProperties:
13121313
type: "object"
13131314
enum:
@@ -1352,9 +1353,9 @@ definitions:
13521353
ArgsEscaped:
13531354
description: "Command is already escaped (Windows only)"
13541355
type: "boolean"
1355-
default: false
1356+
# default: false
13561357
example: false
1357-
x-nullable: true
1358+
# x-nullable: true
13581359
Image:
13591360
description: |
13601361
The name (or reference) of the image to use when creating the container,
@@ -1389,12 +1390,12 @@ definitions:
13891390
NetworkDisabled:
13901391
description: "Disable networking for the container."
13911392
type: "boolean"
1392-
x-nullable: true
1393+
# x-nullable: true
13931394
OnBuild:
13941395
description: |
13951396
`ONBUILD` metadata that were defined in the image's `Dockerfile`.
13961397
type: "array"
1397-
x-nullable: true
1398+
# x-nullable: true
13981399
items:
13991400
type: "string"
14001401
example: []
@@ -1410,18 +1411,19 @@ definitions:
14101411
description: |
14111412
Signal to stop a container as a string or unsigned integer.
14121413
type: "string"
1414+
default: "SIGTERM"
14131415
example: "SIGTERM"
1414-
x-nullable: true
1416+
# x-nullable: true
14151417
StopTimeout:
14161418
description: "Timeout to stop a container in seconds."
14171419
type: "integer"
14181420
default: 10
1419-
x-nullable: true
1421+
# x-nullable: true
14201422
Shell:
14211423
description: |
14221424
Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell.
14231425
type: "array"
1424-
x-nullable: true
1426+
# x-nullable: true
14251427
items:
14261428
type: "string"
14271429
example: ["/bin/sh", "-c"]
@@ -1661,7 +1663,8 @@ definitions:
16611663
Information about the storage driver used to store the container's and
16621664
image's filesystem.
16631665
type: "object"
1664-
required: [Name, Data]
1666+
required: [Name]
1667+
# required: [Name, Data]
16651668
properties:
16661669
Name:
16671670
description: "Name of the storage driver."
@@ -1675,7 +1678,7 @@ definitions:
16751678
This information is driver-specific, and depends on the storage-driver
16761679
in use, and should be used for informational purposes only.
16771680
type: "object"
1678-
x-nullable: false
1681+
# x-nullable: false
16791682
additionalProperties:
16801683
type: "string"
16811684
example: {
@@ -1746,6 +1749,7 @@ definitions:
17461749
type: "integer"
17471750
format: "uint8"
17481751
enum: [0, 1, 2]
1752+
x-enum-varnames: ["T0", "T1", "T2"]
17491753
x-nullable: false
17501754

17511755
ImageInspect:
@@ -1828,7 +1832,7 @@ definitions:
18281832
description: |
18291833
Optional message that was set when committing or importing the image.
18301834
type: "string"
1831-
x-nullable: true
1835+
x-nullable: false
18321836
example: ""
18331837
Created:
18341838
description: |
@@ -1839,14 +1843,14 @@ definitions:
18391843
and omitted otherwise.
18401844
type: "string"
18411845
format: "dateTime"
1842-
x-nullable: true
1846+
x-nullable: false
18431847
example: "2022-02-04T21:20:12.497794809Z"
18441848
Author:
18451849
description: |
18461850
Name of the author that was specified when committing the image, or as
18471851
specified through MAINTAINER (deprecated) in the Dockerfile.
18481852
type: "string"
1849-
x-nullable: true
1853+
x-nullable: false
18501854
example: ""
18511855
Config:
18521856
$ref: "#/definitions/ImageConfig"
@@ -1874,7 +1878,7 @@ definitions:
18741878
for Windows).
18751879
type: "string"
18761880
example: ""
1877-
x-nullable: true
1881+
# x-nullable: true
18781882
Size:
18791883
description: |
18801884
Total size of the image including all layers it is composed of.
@@ -1918,20 +1922,20 @@ definitions:
19181922
type: "string"
19191923
format: "dateTime"
19201924
example: "2022-02-28T14:40:02.623929178Z"
1921-
x-nullable: true
1925+
# x-nullable: true
19221926

19231927
ImageSummary:
19241928
type: "object"
19251929
x-go-name: "Summary"
19261930
required:
19271931
- Id
19281932
- ParentId
1929-
- RepoTags
1930-
- RepoDigests
1933+
# - RepoTags
1934+
# - RepoDigests
19311935
- Created
19321936
- Size
19331937
- SharedSize
1934-
- Labels
1938+
# - Labels
19351939
- Containers
19361940
properties:
19371941
Id:
@@ -1966,7 +1970,7 @@ definitions:
19661970
empty if no tags reference the image, in which case the image is
19671971
"untagged", in which case it can still be referenced by its ID.
19681972
type: "array"
1969-
x-nullable: false
1973+
# x-nullable: false
19701974
items:
19711975
type: "string"
19721976
example:
@@ -1984,7 +1988,7 @@ definitions:
19841988
from a registry, or if the image was pushed to a registry, which is when
19851989
the manifest is generated and its digest calculated.
19861990
type: "array"
1987-
x-nullable: false
1991+
# x-nullable: false
19881992
items:
19891993
type: "string"
19901994
example:
@@ -2018,7 +2022,7 @@ definitions:
20182022
Labels:
20192023
description: "User-defined key/value metadata."
20202024
type: "object"
2021-
x-nullable: false
2025+
# x-nullable: false
20222026
additionalProperties:
20232027
type: "string"
20242028
example:
@@ -2148,7 +2152,8 @@ definitions:
21482152

21492153
Volume:
21502154
type: "object"
2151-
required: [Name, Driver, Mountpoint, Labels, Scope, Options]
2155+
required: [Name, Driver, Mountpoint, Options]
2156+
# required: [Name, Driver, Mountpoint, Labels, Scope, Options]
21522157
x-nullable: false
21532158
properties:
21542159
Name:
@@ -2187,7 +2192,7 @@ definitions:
21872192
Labels:
21882193
type: "object"
21892194
description: "User-defined key/value metadata."
2190-
x-nullable: false
2195+
# x-nullable: false
21912196
additionalProperties:
21922197
type: "string"
21932198
example:
@@ -2199,13 +2204,14 @@ definitions:
21992204
The level at which the volume exists. Either `global` for cluster-wide,
22002205
or `local` for machine level.
22012206
default: "local"
2202-
x-nullable: false
2207+
# x-nullable: false
22032208
enum: ["local", "global"]
22042209
example: "local"
22052210
ClusterVolume:
22062211
$ref: "#/definitions/ClusterVolume"
22072212
Options:
22082213
type: "object"
2214+
x-nullable: true
22092215
description: |
22102216
The driver specific options used when creating the volume.
22112217
additionalProperties:
@@ -5732,7 +5738,7 @@ definitions:
57325738
ContainerState stores container's running state. It's part of ContainerJSONBase
57335739
and will be returned by the "inspect" command.
57345740
type: "object"
5735-
x-nullable: true
5741+
# x-nullable: true
57365742
properties:
57375743
Status:
57385744
description: |
@@ -5791,14 +5797,16 @@ definitions:
57915797
type: "string"
57925798
example: "2020-01-06T09:07:59.461876391Z"
57935799
Health:
5800+
x-nullable: true
57945801
$ref: "#/definitions/Health"
57955802

57965803
ContainerCreateResponse:
57975804
description: "OK response to ContainerCreate operation"
57985805
type: "object"
57995806
title: "ContainerCreateResponse"
58005807
x-go-name: "CreateResponse"
5801-
required: [Id, Warnings]
5808+
required: [Id]
5809+
# required: [Id, Warnings]
58025810
properties:
58035811
Id:
58045812
description: "The ID of the created container"
@@ -6440,6 +6448,7 @@ definitions:
64406448
x-go-name: "WaitResponse"
64416449
title: "ContainerWaitResponse"
64426450
required: [StatusCode]
6451+
# required: [StatusCode, Error]
64436452
properties:
64446453
StatusCode:
64456454
description: "Exit code of the container"
@@ -6715,6 +6724,7 @@ definitions:
67156724
The version of the cgroup.
67166725
type: "string"
67176726
enum: ["1", "2"]
6727+
x-enum-varnames: ["V1", "V2"]
67186728
default: "1"
67196729
example: "1"
67206730
NEventsListener:
@@ -9838,6 +9848,7 @@ paths:
98389848
type: "array"
98399849
items:
98409850
type: "string"
9851+
x-nullable: true
98419852
Size:
98429853
type: "integer"
98439854
format: "int64"

api-model-v1-52/docs/ChangeType.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
## Enum
55

66

7-
* `_0` (value: `0`)
7+
* `T0` (value: `0`)
88

9-
* `_1` (value: `1`)
9+
* `T1` (value: `1`)
1010

11-
* `_2` (value: `2`)
11+
* `T2` (value: `2`)
1212

1313

1414

api-model-v1-52/docs/ContainerCreateResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
| Name | Type | Description | Notes |
66
| ------------ | ------------- | ------------- | ------------- |
77
| **id** | **kotlin.String** | The ID of the created container | |
8-
| **warnings** | **kotlin.collections.MutableList&lt;kotlin.String&gt;** | Warnings encountered when creating the container | |
8+
| **warnings** | **kotlin.collections.MutableList&lt;kotlin.String&gt;** | Warnings encountered when creating the container | [optional] |
99

1010

1111

api-model-v1-52/docs/DriverData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
| Name | Type | Description | Notes |
66
| ------------ | ------------- | ------------- | ------------- |
77
| **name** | **kotlin.String** | Name of the storage driver. | |
8-
| **&#x60;data&#x60;** | **kotlin.collections.MutableMap&lt;kotlin.String, kotlin.String&gt;** | Low-level storage metadata, provided as key/value pairs. This information is driver-specific, and depends on the storage-driver in use, and should be used for informational purposes only. | |
8+
| **&#x60;data&#x60;** | **kotlin.collections.MutableMap&lt;kotlin.String, kotlin.String&gt;** | Low-level storage metadata, provided as key/value pairs. This information is driver-specific, and depends on the storage-driver in use, and should be used for informational purposes only. | [optional] |
99

1010

1111

api-model-v1-52/docs/ImageSummary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
| ------------ | ------------- | ------------- | ------------- |
77
| **id** | **kotlin.String** | ID is the content-addressable ID of an image. This identifier is a content-addressable digest calculated from the image&#39;s configuration (which includes the digests of layers used by the image). Note that this digest differs from the &#x60;RepoDigests&#x60; below, which holds digests of image manifests that reference the image. | |
88
| **parentId** | **kotlin.String** | ID of the parent image. Depending on how the image was created, this field may be empty and is only set for images that were built/created locally. This field is empty if the image was pulled from an image registry. | |
9-
| **repoTags** | **kotlin.collections.MutableList&lt;kotlin.String&gt;** | List of image names/tags in the local image cache that reference this image. Multiple image tags can refer to the same image, and this list may be empty if no tags reference the image, in which case the image is \&quot;untagged\&quot;, in which case it can still be referenced by its ID. | |
10-
| **repoDigests** | **kotlin.collections.MutableList&lt;kotlin.String&gt;** | List of content-addressable digests of locally available image manifests that the image is referenced from. Multiple manifests can refer to the same image. These digests are usually only available if the image was either pulled from a registry, or if the image was pushed to a registry, which is when the manifest is generated and its digest calculated. | |
119
| **created** | **kotlin.Int** | Date and time at which the image was created as a Unix timestamp (number of seconds since EPOCH). | |
1210
| **propertySize** | **kotlin.Long** | Total size of the image including all layers it is composed of. | |
1311
| **sharedSize** | **kotlin.Long** | Total size of image layers that are shared between this image and other images. This size is not calculated by default. &#x60;-1&#x60; indicates that the value has not been set / calculated. | |
14-
| **labels** | **kotlin.collections.MutableMap&lt;kotlin.String, kotlin.String&gt;** | User-defined key/value metadata. | |
1512
| **containers** | **kotlin.Int** | Number of containers using this image. Includes both stopped and running containers. &#x60;-1&#x60; indicates that the value has not been set / calculated. | |
13+
| **repoTags** | **kotlin.collections.MutableList&lt;kotlin.String&gt;** | List of image names/tags in the local image cache that reference this image. Multiple image tags can refer to the same image, and this list may be empty if no tags reference the image, in which case the image is \&quot;untagged\&quot;, in which case it can still be referenced by its ID. | [optional] |
14+
| **repoDigests** | **kotlin.collections.MutableList&lt;kotlin.String&gt;** | List of content-addressable digests of locally available image manifests that the image is referenced from. Multiple manifests can refer to the same image. These digests are usually only available if the image was either pulled from a registry, or if the image was pushed to a registry, which is when the manifest is generated and its digest calculated. | [optional] |
15+
| **labels** | **kotlin.collections.MutableMap&lt;kotlin.String, kotlin.String&gt;** | User-defined key/value metadata. | [optional] |
1616
| **manifests** | [**kotlin.collections.MutableList&lt;ImageManifestSummary&gt;**](ImageManifestSummary.md) | Manifests is a list of manifests available in this image. It provides a more detailed view of the platform-specific image manifests or other image-attached data like build attestations. WARNING: This is experimental and may change at any time without any backward compatibility. | [optional] |
1717
| **descriptor** | [**OCIDescriptor**](OCIDescriptor.md) | | [optional] |
1818

api-model-v1-52/docs/Volume.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
| **name** | **kotlin.String** | Name of the volume. | |
88
| **driver** | **kotlin.String** | Name of the volume driver used by the volume. | |
99
| **mountpoint** | **kotlin.String** | Mount path of the volume on the host. | |
10-
| **labels** | **kotlin.collections.MutableMap&lt;kotlin.String, kotlin.String&gt;** | User-defined key/value metadata. | |
11-
| **scope** | [**inline**](#Scope) | The level at which the volume exists. Either &#x60;global&#x60; for cluster-wide, or &#x60;local&#x60; for machine level. | |
1210
| **options** | **kotlin.collections.MutableMap&lt;kotlin.String, kotlin.String&gt;** | The driver specific options used when creating the volume. | |
1311
| **createdAt** | **kotlin.String** | Date/Time the volume was created. | [optional] |
1412
| **status** | [**kotlin.collections.MutableMap&lt;kotlin.String, kotlin.Any&gt;**](kotlin.Any.md) | Low-level details about the volume, provided by the volume driver. Details are returned as a map with key/value pairs: &#x60;{\&quot;key\&quot;:\&quot;value\&quot;,\&quot;key2\&quot;:\&quot;value2\&quot;}&#x60;. The &#x60;Status&#x60; field is optional, and is omitted if the volume driver does not support this feature. | [optional] |
13+
| **labels** | **kotlin.collections.MutableMap&lt;kotlin.String, kotlin.String&gt;** | User-defined key/value metadata. | [optional] |
14+
| **scope** | [**inline**](#Scope) | The level at which the volume exists. Either &#x60;global&#x60; for cluster-wide, or &#x60;local&#x60; for machine level. | [optional] |
1515
| **clusterVolume** | [**ClusterVolume**](ClusterVolume.md) | | [optional] |
1616
| **usageData** | [**VolumeUsageData**](VolumeUsageData.md) | | [optional] |
1717

api-model-v1-52/src/main/kotlin/de/gesellix/docker/remote/api/ChangeType.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ import com.squareup.moshi.JsonClass
2121
/**
2222
* Kind of change Can be one of: - `0`: Modified (\"C\") - `1`: Added (\"A\") - `2`: Deleted (\"D\")
2323
*
24-
* Values: _0,_1,_2
24+
* Values: T0,T1,T2
2525
*/
2626

2727
@JsonClass(generateAdapter = false)
2828
enum class ChangeType(val value: kotlin.Int) {
2929
@Json(name = "0")
30-
_0(0),
30+
T0(0),
3131

3232
@Json(name = "1")
33-
_1(1),
33+
T1(1),
3434

3535
@Json(name = "2")
36-
_2(2),
36+
T2(2),
3737
;
3838

3939
/**

api-model-v1-52/src/main/kotlin/de/gesellix/docker/remote/api/ContainerConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ data class ContainerConfig(
8888
var healthcheck: HealthConfig? = null,
8989
// Command is already escaped (Windows only)
9090
@Json(name = "ArgsEscaped")
91-
var argsEscaped: kotlin.Boolean? = false,
91+
var argsEscaped: kotlin.Boolean? = null,
9292
// The name (or reference) of the image to use when creating the container, or which was used when the container was created.
9393
@Json(name = "Image")
9494
var image: kotlin.String? = null,
@@ -112,7 +112,7 @@ data class ContainerConfig(
112112
var labels: kotlin.collections.MutableMap<kotlin.String, kotlin.String>? = null,
113113
// Signal to stop a container as a string or unsigned integer.
114114
@Json(name = "StopSignal")
115-
var stopSignal: kotlin.String? = null,
115+
var stopSignal: kotlin.String? = "SIGTERM",
116116
// Timeout to stop a container in seconds.
117117
@Json(name = "StopTimeout")
118118
var stopTimeout: kotlin.Int? = null,

0 commit comments

Comments
 (0)