diff --git a/api-model-v1-41/docker-engine-api-v1.41.yaml b/api-model-v1-41/docker-engine-api-v1.41.yaml index 131e92b8..42f00e2e 100644 --- a/api-model-v1-41/docker-engine-api-v1.41.yaml +++ b/api-model-v1-41/docker-engine-api-v1.41.yaml @@ -577,17 +577,6 @@ definitions: type: "array" items: $ref: "#/definitions/DeviceRequest" - KernelMemory: - description: | - Kernel memory limit in bytes. - -


- - > **Deprecated**: This field is deprecated as the kernel 5.4 deprecated - > `kmem.limit_in_bytes`. - type: "integer" - format: "int64" - example: 209715200 KernelMemoryTCP: description: | Hard limit for kernel TCP buffer memory (in bytes). Depending on the @@ -1116,6 +1105,7 @@ definitions: remapping option is enabled. ShmSize: type: "integer" + format: "int64" description: | Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. minimum: 0 @@ -1720,6 +1710,12 @@ definitions: type: "string" x-nullable: false example: "arm" + Variant: + description: | + CPU architecture variant (presently ARM-only). + type: "string" + x-nullable: true + example: "v7" Os: description: | Operating System the image is built to run on. @@ -1835,7 +1831,7 @@ definitions: 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 + 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 "untagged", in which case it can still be referenced by its ID. type: "array" @@ -2042,6 +2038,7 @@ definitions: x-nullable: false RefCount: type: "integer" + format: "int64" default: -1 description: | The number of containers referencing this volume. This field @@ -2086,6 +2083,25 @@ definitions: com.example.some-label: "some-value" com.example.some-other-label: "some-other-value" + VolumeListResponse: + type: "object" + title: "VolumeListResponse" + x-go-name: "VolumeListOKBody" + description: "Volume list response" + properties: + Volumes: + type: "array" + description: "List of volumes" + items: + $ref: "#/definitions/Volume" + Warnings: + type: "array" + description: | + Warnings that occurred when fetching the list of volumes. + items: + type: "string" + example: [] + Network: type: "object" properties: @@ -3693,7 +3709,7 @@ definitions: Limits: description: "Define resources limits." $ref: "#/definitions/Limit" - Reservation: + Reservations: description: "Define resources reservation." $ref: "#/definitions/ResourceObject" RestartPolicy: @@ -4821,14 +4837,13 @@ definitions: description: "Indicates if the host has memory swap limit support enabled." type: "boolean" example: true - KernelMemory: + KernelMemoryTCP: description: | - Indicates if the host has kernel memory limit support enabled. - -


+ Indicates if the host has kernel memory TCP limit support enabled. This + field is omitted if not supported. - > **Deprecated**: This field is deprecated as the kernel 5.4 deprecated - > `kmem.limit_in_bytes`. + Kernel memory TCP limits are not supported when using cgroups v2, which + does not support the corresponding `memory.kmem.tcp.limit_in_bytes` cgroup. type: "boolean" example: true CpuCfsPeriod: @@ -6281,7 +6296,6 @@ paths: property1: "string" property2: "string" IpcMode: "" - LxcConf: [] Memory: 0 MemorySwap: 0 MemoryReservation: 0 @@ -6483,6 +6497,9 @@ paths: Note: This endpoint works only for containers with the `json-file` or `journald` logging driver. + produces: + - "application/vnd.docker.raw-stream" + - "application/vnd.docker.multiplexed-stream" operationId: "ContainerLogs" responses: 200: @@ -7185,7 +7202,8 @@ paths: ### Stream format When the TTY setting is disabled in [`POST /containers/create`](#operation/ContainerCreate), - the stream over the hijacked connected is multiplexed to separate out + the HTTP Content-Type header is set to application/vnd.docker.multiplexed-stream + and the stream over the hijacked connected is multiplexed to separate out `stdout` and `stderr`. The stream consists of a series of frames, each containing a header and a payload. @@ -7229,6 +7247,7 @@ paths: operationId: "ContainerAttach" produces: - "application/vnd.docker.raw-stream" + - "application/vnd.docker.multiplexed-stream" responses: 101: description: "no error, hints proxy about hijacking" @@ -8983,6 +9002,7 @@ paths: - "application/json" produces: - "application/vnd.docker.raw-stream" + - "application/vnd.docker.multiplexed-stream" responses: 200: description: "No error" @@ -9137,24 +9157,7 @@ paths: 200: description: "Summary volume data that matches the query" schema: - type: "object" - title: "VolumeListResponse" - description: "Volume list response" - required: [Volumes, Warnings] - properties: - Volumes: - type: "array" - x-nullable: false - description: "List of volumes" - items: - $ref: "#/definitions/Volume" - Warnings: - type: "array" - x-nullable: true - description: | - Warnings that occurred when fetching the list of volumes. - items: - type: "string" + $ref: "#/definitions/VolumeListResponse" 500: description: "Server error" schema: @@ -10900,6 +10903,9 @@ paths: **Note**: This endpoint works only for services with the `local`, `json-file` or `journald` logging drivers. + produces: + - "application/vnd.docker.raw-stream" + - "application/vnd.docker.multiplexed-stream" operationId: "ServiceLogs" responses: 200: @@ -11155,6 +11161,9 @@ paths: **Note**: This endpoint works only for services with the `local`, `json-file` or `journald` logging drivers. operationId: "TaskLogs" + produces: + - "application/vnd.docker.raw-stream" + - "application/vnd.docker.multiplexed-stream" responses: 200: description: "logs returned as a stream in response body" diff --git a/api-model-v1-41/docs/HostConfig.md b/api-model-v1-41/docs/HostConfig.md index 146a472a..95e1c87e 100644 --- a/api-model-v1-41/docs/HostConfig.md +++ b/api-model-v1-41/docs/HostConfig.md @@ -22,7 +22,6 @@ Name | Type | Description | Notes **devices** | [**kotlin.collections.MutableList<DeviceMapping>**](DeviceMapping.md) | A list of devices to add to the container. | [optional] **deviceCgroupRules** | **kotlin.collections.MutableList<kotlin.String>** | a list of cgroup rules to apply to the container | [optional] **deviceRequests** | [**kotlin.collections.MutableList<DeviceRequest>**](DeviceRequest.md) | A list of requests for devices to be sent to device drivers. | [optional] -**kernelMemory** | **kotlin.Long** | Kernel memory limit in bytes. <p><br /></p> > **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. | [optional] **kernelMemoryTCP** | **kotlin.Long** | Hard limit for kernel TCP buffer memory (in bytes). Depending on the OCI runtime in use, this option may be ignored. It is no longer supported by the default (runc) runtime. This field is omitted when empty. | [optional] **memoryReservation** | **kotlin.Long** | Memory soft limit in bytes. | [optional] **memorySwap** | **kotlin.Long** | Total memory limit (memory + swap). Set as `-1` to enable unlimited swap. | [optional] @@ -67,7 +66,7 @@ Name | Type | Description | Notes **tmpfs** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | A map of container directories which should be replaced by tmpfs mounts, and their corresponding mount options. For example: ``` { \"/run\": \"rw,noexec,nosuid,size=65536k\" } ``` | [optional] **utSMode** | **kotlin.String** | UTS namespace to use for the container. | [optional] **usernsMode** | **kotlin.String** | Sets the usernamespace mode for the container when usernamespace remapping option is enabled. | [optional] -**shmSize** | **kotlin.Int** | Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. | [optional] +**shmSize** | **kotlin.Long** | Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. | [optional] **sysctls** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` | [optional] **runtime** | **kotlin.String** | Runtime to use with this container. | [optional] **consoleSize** | **kotlin.collections.MutableList<kotlin.Int>** | Initial console size, as an `[height, width]` array. (Windows only) | [optional] diff --git a/api-model-v1-41/docs/HostConfigAllOf.md b/api-model-v1-41/docs/HostConfigAllOf.md index 123827af..212adc99 100644 --- a/api-model-v1-41/docs/HostConfigAllOf.md +++ b/api-model-v1-41/docs/HostConfigAllOf.md @@ -35,7 +35,7 @@ Name | Type | Description | Notes **tmpfs** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | A map of container directories which should be replaced by tmpfs mounts, and their corresponding mount options. For example: ``` { \"/run\": \"rw,noexec,nosuid,size=65536k\" } ``` | [optional] **utSMode** | **kotlin.String** | UTS namespace to use for the container. | [optional] **usernsMode** | **kotlin.String** | Sets the usernamespace mode for the container when usernamespace remapping option is enabled. | [optional] -**shmSize** | **kotlin.Int** | Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. | [optional] +**shmSize** | **kotlin.Long** | Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. | [optional] **sysctls** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` | [optional] **runtime** | **kotlin.String** | Runtime to use with this container. | [optional] **consoleSize** | **kotlin.collections.MutableList<kotlin.Int>** | Initial console size, as an `[height, width]` array. (Windows only) | [optional] diff --git a/api-model-v1-41/docs/ImageInspect.md b/api-model-v1-41/docs/ImageInspect.md index a4e3da36..35505f6e 100644 --- a/api-model-v1-41/docs/ImageInspect.md +++ b/api-model-v1-41/docs/ImageInspect.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **author** | **kotlin.String** | Name of the author that was specified when committing the image, or as specified through MAINTAINER (deprecated) in the Dockerfile. | [optional] **config** | [**ContainerConfig**](ContainerConfig.md) | | [optional] **architecture** | **kotlin.String** | Hardware CPU architecture that the image runs on. | [optional] +**variant** | **kotlin.String** | CPU architecture variant (presently ARM-only). | [optional] **os** | **kotlin.String** | Operating System the image is built to run on. | [optional] **osVersion** | **kotlin.String** | Operating System version the image is built to run on (especially for Windows). | [optional] **propertySize** | **kotlin.Long** | Total size of the image including all layers it is composed of. | [optional] diff --git a/api-model-v1-41/docs/ImageSummary.md b/api-model-v1-41/docs/ImageSummary.md index 4bfd3463..1bef2055 100644 --- a/api-model-v1-41/docs/ImageSummary.md +++ b/api-model-v1-41/docs/ImageSummary.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **sharedSize** | **kotlin.Long** | Total size of image layers that are shared between this image and other images. This size is not calculated by default. `-1` indicates that the value has not been set / calculated. | **virtualSize** | **kotlin.Long** | Total size of the image including all layers it is composed of. In versions of Docker before v1.10, this field was calculated from the image itself and all of its parent images. Docker v1.10 and up store images self-contained, and no longer use a parent-chain, making this field an equivalent of the Size field. This field is kept for backward compatibility, but may be removed in a future version of the API. | **containers** | **kotlin.Int** | Number of containers using this image. Includes both stopped and running containers. This size is not calculated by default, and depends on which API endpoint is used. `-1` indicates that the value has not been set / calculated. | -**repoTags** | **kotlin.collections.MutableList<kotlin.String>** | 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 \"untagged\", in which case it can still be referenced by its ID. | [optional] +**repoTags** | **kotlin.collections.MutableList<kotlin.String>** | 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 \"untagged\", in which case it can still be referenced by its ID. | [optional] **repoDigests** | **kotlin.collections.MutableList<kotlin.String>** | 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] **labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional] diff --git a/api-model-v1-41/docs/Resources.md b/api-model-v1-41/docs/Resources.md index bab9bf80..5e64ab16 100644 --- a/api-model-v1-41/docs/Resources.md +++ b/api-model-v1-41/docs/Resources.md @@ -22,7 +22,6 @@ Name | Type | Description | Notes **devices** | [**kotlin.collections.MutableList<DeviceMapping>**](DeviceMapping.md) | A list of devices to add to the container. | [optional] **deviceCgroupRules** | **kotlin.collections.MutableList<kotlin.String>** | a list of cgroup rules to apply to the container | [optional] **deviceRequests** | [**kotlin.collections.MutableList<DeviceRequest>**](DeviceRequest.md) | A list of requests for devices to be sent to device drivers. | [optional] -**kernelMemory** | **kotlin.Long** | Kernel memory limit in bytes. <p><br /></p> > **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. | [optional] **kernelMemoryTCP** | **kotlin.Long** | Hard limit for kernel TCP buffer memory (in bytes). Depending on the OCI runtime in use, this option may be ignored. It is no longer supported by the default (runc) runtime. This field is omitted when empty. | [optional] **memoryReservation** | **kotlin.Long** | Memory soft limit in bytes. | [optional] **memorySwap** | **kotlin.Long** | Total memory limit (memory + swap). Set as `-1` to enable unlimited swap. | [optional] diff --git a/api-model-v1-41/docs/SystemInfo.md b/api-model-v1-41/docs/SystemInfo.md index a9c819e7..6f4e0ad8 100644 --- a/api-model-v1-41/docs/SystemInfo.md +++ b/api-model-v1-41/docs/SystemInfo.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **plugins** | [**PluginsInfo**](PluginsInfo.md) | | [optional] **memoryLimit** | **kotlin.Boolean** | Indicates if the host has memory limit support enabled. | [optional] **swapLimit** | **kotlin.Boolean** | Indicates if the host has memory swap limit support enabled. | [optional] -**kernelMemory** | **kotlin.Boolean** | Indicates if the host has kernel memory limit support enabled. <p><br /></p> > **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. | [optional] +**kernelMemoryTCP** | **kotlin.Boolean** | Indicates if the host has kernel memory TCP limit support enabled. This field is omitted if not supported. Kernel memory TCP limits are not supported when using cgroups v2, which does not support the corresponding `memory.kmem.tcp.limit_in_bytes` cgroup. | [optional] **cpuCfsPeriod** | **kotlin.Boolean** | Indicates if CPU CFS(Completely Fair Scheduler) period is supported by the host. | [optional] **cpuCfsQuota** | **kotlin.Boolean** | Indicates if CPU CFS(Completely Fair Scheduler) quota is supported by the host. | [optional] **cpUShares** | **kotlin.Boolean** | Indicates if CPU Shares limiting is supported by the host. | [optional] diff --git a/api-model-v1-41/docs/TaskSpecResources.md b/api-model-v1-41/docs/TaskSpecResources.md index 4d0f795b..7ac6cc70 100644 --- a/api-model-v1-41/docs/TaskSpecResources.md +++ b/api-model-v1-41/docs/TaskSpecResources.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **limits** | [**Limit**](Limit.md) | | [optional] -**reservation** | [**ResourceObject**](ResourceObject.md) | | [optional] +**reservations** | [**ResourceObject**](ResourceObject.md) | | [optional] diff --git a/api-model-v1-41/docs/VolumeListResponse.md b/api-model-v1-41/docs/VolumeListResponse.md index 67337586..55a70700 100644 --- a/api-model-v1-41/docs/VolumeListResponse.md +++ b/api-model-v1-41/docs/VolumeListResponse.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**volumes** | [**kotlin.collections.MutableList<Volume>**](Volume.md) | List of volumes | -**warnings** | **kotlin.collections.MutableList<kotlin.String>** | Warnings that occurred when fetching the list of volumes. | +**volumes** | [**kotlin.collections.MutableList<Volume>**](Volume.md) | List of volumes | [optional] +**warnings** | **kotlin.collections.MutableList<kotlin.String>** | Warnings that occurred when fetching the list of volumes. | [optional] diff --git a/api-model-v1-41/docs/VolumeUsageData.md b/api-model-v1-41/docs/VolumeUsageData.md index b6d7f928..2f9df591 100644 --- a/api-model-v1-41/docs/VolumeUsageData.md +++ b/api-model-v1-41/docs/VolumeUsageData.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **propertySize** | **kotlin.Long** | Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\") | -**refCount** | **kotlin.Int** | The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. | +**refCount** | **kotlin.Long** | The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. | diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequest.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequest.kt index f37ab2eb..1599144a 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequest.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequest.kt @@ -47,8 +47,7 @@ import com.squareup.moshi.JsonClass * @param devices A list of devices to add to the container. * @param deviceCgroupRules a list of cgroup rules to apply to the container * @param deviceRequests A list of requests for devices to be sent to device drivers. - * @param kernelMemory Kernel memory limit in bytes.


> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. - * @param kernelMemoryTCP Hard limit for kernel TCP buffer memory (in bytes). + * @param kernelMemoryTCP Hard limit for kernel TCP buffer memory (in bytes). Depending on the OCI runtime in use, this option may be ignored. It is no longer supported by the default (runc) runtime. This field is omitted when empty. * @param memoryReservation Memory soft limit in bytes. * @param memorySwap Total memory limit (memory + swap). Set as `-1` to enable unlimited swap. * @param memorySwappiness Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100. @@ -137,11 +136,7 @@ data class ContainerUpdateRequest( @Json(name = "DeviceRequests") var deviceRequests: kotlin.collections.MutableList? = null, - /* Kernel memory limit in bytes.


> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. */ - @Json(name = "KernelMemory") - var kernelMemory: kotlin.Long? = null, - - /* Hard limit for kernel TCP buffer memory (in bytes). */ + /* Hard limit for kernel TCP buffer memory (in bytes). Depending on the OCI runtime in use, this option may be ignored. It is no longer supported by the default (runc) runtime. This field is omitted when empty. */ @Json(name = "KernelMemoryTCP") var kernelMemoryTCP: kotlin.Long? = null, diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfig.kt index c81736cc..72dfa786 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfig.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfig.kt @@ -44,7 +44,6 @@ import com.squareup.moshi.JsonClass * @param devices A list of devices to add to the container. * @param deviceCgroupRules a list of cgroup rules to apply to the container * @param deviceRequests A list of requests for devices to be sent to device drivers. - * @param kernelMemory Kernel memory limit in bytes.


> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. * @param kernelMemoryTCP Hard limit for kernel TCP buffer memory (in bytes). Depending on the OCI runtime in use, this option may be ignored. It is no longer supported by the default (runc) runtime. This field is omitted when empty. * @param memoryReservation Memory soft limit in bytes. * @param memorySwap Total memory limit (memory + swap). Set as `-1` to enable unlimited swap. @@ -172,10 +171,6 @@ data class HostConfig( @Json(name = "DeviceRequests") var deviceRequests: kotlin.collections.MutableList? = null, - /* Kernel memory limit in bytes.


> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. */ - @Json(name = "KernelMemory") - var kernelMemory: kotlin.Long? = null, - /* Hard limit for kernel TCP buffer memory (in bytes). Depending on the OCI runtime in use, this option may be ignored. It is no longer supported by the default (runc) runtime. This field is omitted when empty. */ @Json(name = "KernelMemoryTCP") var kernelMemoryTCP: kotlin.Long? = null, @@ -352,7 +347,7 @@ data class HostConfig( /* Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. */ @Json(name = "ShmSize") - var shmSize: kotlin.Int? = null, + var shmSize: kotlin.Long? = null, /* A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` */ @Json(name = "Sysctls") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOf.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOf.kt index f4fefd95..6e096c4e 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOf.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOf.kt @@ -192,7 +192,7 @@ data class HostConfigAllOf( /* Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. */ @Json(name = "ShmSize") - var shmSize: kotlin.Int? = null, + var shmSize: kotlin.Long? = null, /* A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` */ @Json(name = "Sysctls") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageInspect.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageInspect.kt index aeab47b9..c41b4374 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageInspect.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageInspect.kt @@ -38,6 +38,7 @@ import com.squareup.moshi.JsonClass * @param author Name of the author that was specified when committing the image, or as specified through MAINTAINER (deprecated) in the Dockerfile. * @param config * @param architecture Hardware CPU architecture that the image runs on. + * @param variant CPU architecture variant (presently ARM-only). * @param os Operating System the image is built to run on. * @param osVersion Operating System version the image is built to run on (especially for Windows). * @param propertySize Total size of the image including all layers it is composed of. @@ -95,6 +96,10 @@ data class ImageInspect( @Json(name = "Architecture") var architecture: kotlin.String? = null, + /* CPU architecture variant (presently ARM-only). */ + @Json(name = "Variant") + var variant: kotlin.String? = null, + /* Operating System the image is built to run on. */ @Json(name = "Os") var os: kotlin.String? = null, diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageSummary.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageSummary.kt index 76541b10..aad62ad2 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageSummary.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageSummary.kt @@ -33,7 +33,7 @@ import com.squareup.moshi.JsonClass * @param sharedSize Total size of image layers that are shared between this image and other images. This size is not calculated by default. `-1` indicates that the value has not been set / calculated. * @param virtualSize Total size of the image including all layers it is composed of. In versions of Docker before v1.10, this field was calculated from the image itself and all of its parent images. Docker v1.10 and up store images self-contained, and no longer use a parent-chain, making this field an equivalent of the Size field. This field is kept for backward compatibility, but may be removed in a future version of the API. * @param containers Number of containers using this image. Includes both stopped and running containers. This size is not calculated by default, and depends on which API endpoint is used. `-1` indicates that the value has not been set / calculated. - * @param repoTags 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 \"untagged\", in which case it can still be referenced by its ID. + * @param repoTags 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 \"untagged\", in which case it can still be referenced by its ID. * @param repoDigests 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. * @param labels User-defined key/value metadata. */ @@ -68,7 +68,7 @@ data class ImageSummary( @Json(name = "Containers") var containers: kotlin.Int, - /* 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 \"untagged\", in which case it can still be referenced by its ID. */ + /* 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 \"untagged\", in which case it can still be referenced by its ID. */ @Json(name = "RepoTags") var repoTags: kotlin.collections.MutableList? = null, diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Resources.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Resources.kt index 518b7d50..2fdaa24f 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Resources.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Resources.kt @@ -44,7 +44,6 @@ import com.squareup.moshi.JsonClass * @param devices A list of devices to add to the container. * @param deviceCgroupRules a list of cgroup rules to apply to the container * @param deviceRequests A list of requests for devices to be sent to device drivers. - * @param kernelMemory Kernel memory limit in bytes.


> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. * @param kernelMemoryTCP Hard limit for kernel TCP buffer memory (in bytes). Depending on the OCI runtime in use, this option may be ignored. It is no longer supported by the default (runc) runtime. This field is omitted when empty. * @param memoryReservation Memory soft limit in bytes. * @param memorySwap Total memory limit (memory + swap). Set as `-1` to enable unlimited swap. @@ -134,10 +133,6 @@ data class Resources( @Json(name = "DeviceRequests") var deviceRequests: kotlin.collections.MutableList? = null, - /* Kernel memory limit in bytes.


> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. */ - @Json(name = "KernelMemory") - var kernelMemory: kotlin.Long? = null, - /* Hard limit for kernel TCP buffer memory (in bytes). Depending on the OCI runtime in use, this option may be ignored. It is no longer supported by the default (runc) runtime. This field is omitted when empty. */ @Json(name = "KernelMemoryTCP") var kernelMemoryTCP: kotlin.Long? = null, diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfo.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfo.kt index 8d151398..62c267c1 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfo.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfo.kt @@ -38,7 +38,7 @@ import com.squareup.moshi.JsonClass * @param plugins * @param memoryLimit Indicates if the host has memory limit support enabled. * @param swapLimit Indicates if the host has memory swap limit support enabled. - * @param kernelMemory Indicates if the host has kernel memory limit support enabled.


> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. + * @param kernelMemoryTCP Indicates if the host has kernel memory TCP limit support enabled. This field is omitted if not supported. Kernel memory TCP limits are not supported when using cgroups v2, which does not support the corresponding `memory.kmem.tcp.limit_in_bytes` cgroup. * @param cpuCfsPeriod Indicates if CPU CFS(Completely Fair Scheduler) period is supported by the host. * @param cpuCfsQuota Indicates if CPU CFS(Completely Fair Scheduler) quota is supported by the host. * @param cpUShares Indicates if CPU Shares limiting is supported by the host. @@ -139,9 +139,9 @@ data class SystemInfo( @Json(name = "SwapLimit") var swapLimit: kotlin.Boolean? = null, - /* Indicates if the host has kernel memory limit support enabled.


> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. */ - @Json(name = "KernelMemory") - var kernelMemory: kotlin.Boolean? = null, + /* Indicates if the host has kernel memory TCP limit support enabled. This field is omitted if not supported. Kernel memory TCP limits are not supported when using cgroups v2, which does not support the corresponding `memory.kmem.tcp.limit_in_bytes` cgroup. */ + @Json(name = "KernelMemoryTCP") + var kernelMemoryTCP: kotlin.Boolean? = null, /* Indicates if CPU CFS(Completely Fair Scheduler) period is supported by the host. */ @Json(name = "CpuCfsPeriod") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecResources.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecResources.kt index af90bafd..e3787612 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecResources.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecResources.kt @@ -27,7 +27,7 @@ import com.squareup.moshi.JsonClass * Resource requirements which apply to each individual container created as part of the service. * * @param limits - * @param reservation + * @param reservations */ @JsonClass(generateAdapter = true) data class TaskSpecResources( @@ -35,7 +35,7 @@ data class TaskSpecResources( @Json(name = "Limits") var limits: Limit? = null, - @Json(name = "Reservation") - var reservation: ResourceObject? = null + @Json(name = "Reservations") + var reservations: ResourceObject? = null ) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/VolumeListResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/VolumeListResponse.kt index f3210247..87a99976 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/VolumeListResponse.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/VolumeListResponse.kt @@ -34,10 +34,10 @@ data class VolumeListResponse( /* List of volumes */ @Json(name = "Volumes") - var volumes: kotlin.collections.MutableList, + var volumes: kotlin.collections.MutableList? = null, /* Warnings that occurred when fetching the list of volumes. */ @Json(name = "Warnings") - var warnings: kotlin.collections.MutableList? + var warnings: kotlin.collections.MutableList? = null ) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/VolumeUsageData.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/VolumeUsageData.kt index 9d87a843..1608be94 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/VolumeUsageData.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/VolumeUsageData.kt @@ -38,6 +38,6 @@ data class VolumeUsageData( /* The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. */ @Json(name = "RefCount") - var refCount: kotlin.Int + var refCount: kotlin.Long = -1 )