From 147a71bc08a9c5c29e845935afbcd9c7c66cfd78 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 May 2022 22:07:50 +0000 Subject: [PATCH 1/2] Bump org.openapi.generator from 5.4.0 to 6.0.0 Bumps org.openapi.generator from 5.4.0 to 6.0.0. --- updated-dependencies: - dependency-name: org.openapi.generator dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 17c81427..fe380c60 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ plugins { id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("org.jetbrains.kotlin.jvm") version "1.6.21" apply false id("com.google.devtools.ksp") version "1.6.21-1.0.5" apply false - id("org.openapi.generator") version "5.4.0" apply false + id("org.openapi.generator") version "6.0.0" apply false id("org.jlleitschuh.gradle.ktlint") version "10.3.0" apply false } From 29b082f96a77fec8ffc26f3c7b81db05a5f388ef Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Tue, 31 May 2022 00:19:32 +0200 Subject: [PATCH 2/2] updateApiModelSources --- api-model-v1-41/.openapi-generator/FILES | 74 ++++++++++++------- api-model-v1-41/.openapi-generator/VERSION | 2 +- api-model-v1-41/README.md | 37 ++++++---- api-model-v1-41/docs/ConfigCreateRequest.md | 13 ++++ .../docs/ContainerCreateRequest.md | 36 +++++++++ .../docs/ContainerCreateRequestAllOf.md | 11 +++ .../docs/ContainerUpdateRequest.md | 41 ++++++++++ .../docs/ContainerUpdateRequestAllOf.md | 10 +++ api-model-v1-41/docs/EngineDescription.md | 2 +- .../docs/EngineDescriptionPluginsInner.md | 11 +++ api-model-v1-41/docs/GenericResourcesInner.md | 11 +++ ...nericResourcesInnerDiscreteResourceSpec.md | 11 +++ .../GenericResourcesInnerNamedResourceSpec.md | 11 +++ api-model-v1-41/docs/HostConfig.md | 4 +- api-model-v1-41/docs/ResourceObject.md | 2 +- api-model-v1-41/docs/Resources.md | 4 +- .../docs/ResourcesBlkioWeightDeviceInner.md | 11 +++ api-model-v1-41/docs/ResourcesUlimitsInner.md | 12 +++ api-model-v1-41/docs/SecretCreateRequest.md | 14 ++++ api-model-v1-41/docs/ServiceCreateRequest.md | 17 +++++ api-model-v1-41/docs/ServiceEndpoint.md | 2 +- .../docs/ServiceEndpointVirtualIPsInner.md | 11 +++ api-model-v1-41/docs/ServiceUpdateRequest.md | 17 +++++ api-model-v1-41/docs/SwarmSpecCAConfig.md | 2 +- .../docs/SwarmSpecCAConfigExternalCAsInner.md | 20 +++++ api-model-v1-41/docs/SystemInfo.md | 4 +- .../SystemInfoDefaultAddressPoolsInner.md | 11 +++ api-model-v1-41/docs/SystemVersion.md | 2 +- .../docs/SystemVersionComponentsInner.md | 12 +++ api-model-v1-41/docs/Task.md | 2 +- api-model-v1-41/docs/TaskSpecContainerSpec.md | 6 +- .../docs/TaskSpecContainerSpecConfigsInner.md | 13 ++++ .../TaskSpecContainerSpecConfigsInnerFile.md | 13 ++++ .../docs/TaskSpecContainerSpecSecretsInner.md | 12 +++ .../TaskSpecContainerSpecSecretsInnerFile.md | 13 ++++ api-model-v1-41/docs/TaskSpecPlacement.md | 2 +- .../docs/TaskSpecPlacementPreferencesInner.md | 10 +++ ...TaskSpecPlacementPreferencesInnerSpread.md | 10 +++ .../docker/remote/api/ConfigCreateRequest.kt | 52 +++++++++++++ .../remote/api/ContainerCreateRequest.kt | 21 +++--- .../remote/api/ContainerCreateRequestAllOf.kt | 41 ++++++++++ .../remote/api/ContainerUpdateRequest.kt | 17 ++--- .../remote/api/ContainerUpdateRequestAllOf.kt | 37 ++++++++++ .../docker/remote/api/EngineDescription.kt | 2 +- ...ns.kt => EngineDescriptionPluginsInner.kt} | 2 +- .../remote/api/GenericResourcesInner.kt | 41 ++++++++++ ...nericResourcesInnerDiscreteResourceSpec.kt | 41 ++++++++++ .../GenericResourcesInnerNamedResourceSpec.kt | 41 ++++++++++ .../gesellix/docker/remote/api/HostConfig.kt | 4 +- .../docker/remote/api/ResourceObject.kt | 2 +- .../gesellix/docker/remote/api/Resources.kt | 4 +- ....kt => ResourcesBlkioWeightDeviceInner.kt} | 2 +- ...cesUlimits.kt => ResourcesUlimitsInner.kt} | 2 +- .../docker/remote/api/SecretCreateRequest.kt | 56 ++++++++++++++ .../docker/remote/api/ServiceCreateRequest.kt | 68 +++++++++++++++++ .../docker/remote/api/ServiceEndpoint.kt | 2 +- ...s.kt => ServiceEndpointVirtualIPsInner.kt} | 2 +- .../docker/remote/api/ServiceUpdateRequest.kt | 68 +++++++++++++++++ .../docker/remote/api/SwarmSpecCAConfig.kt | 2 +- ...t => SwarmSpecCAConfigExternalCAsInner.kt} | 4 +- .../gesellix/docker/remote/api/SystemInfo.kt | 4 +- ... => SystemInfoDefaultAddressPoolsInner.kt} | 2 +- .../docker/remote/api/SystemVersion.kt | 2 +- ...nts.kt => SystemVersionComponentsInner.kt} | 2 +- .../de/gesellix/docker/remote/api/Task.kt | 2 +- .../remote/api/TaskSpecContainerSpec.kt | 6 +- ...t => TaskSpecContainerSpecConfigsInner.kt} | 4 +- .../TaskSpecContainerSpecConfigsInnerFile.kt | 53 +++++++++++++ ...t => TaskSpecContainerSpecSecretsInner.kt} | 4 +- .../TaskSpecContainerSpecSecretsInnerFile.kt | 53 +++++++++++++ .../docker/remote/api/TaskSpecPlacement.kt | 2 +- ...t => TaskSpecPlacementPreferencesInner.kt} | 4 +- ...TaskSpecPlacementPreferencesInnerSpread.kt | 38 ++++++++++ 73 files changed, 1077 insertions(+), 106 deletions(-) create mode 100644 api-model-v1-41/docs/ConfigCreateRequest.md create mode 100644 api-model-v1-41/docs/ContainerCreateRequest.md create mode 100644 api-model-v1-41/docs/ContainerCreateRequestAllOf.md create mode 100644 api-model-v1-41/docs/ContainerUpdateRequest.md create mode 100644 api-model-v1-41/docs/ContainerUpdateRequestAllOf.md create mode 100644 api-model-v1-41/docs/EngineDescriptionPluginsInner.md create mode 100644 api-model-v1-41/docs/GenericResourcesInner.md create mode 100644 api-model-v1-41/docs/GenericResourcesInnerDiscreteResourceSpec.md create mode 100644 api-model-v1-41/docs/GenericResourcesInnerNamedResourceSpec.md create mode 100644 api-model-v1-41/docs/ResourcesBlkioWeightDeviceInner.md create mode 100644 api-model-v1-41/docs/ResourcesUlimitsInner.md create mode 100644 api-model-v1-41/docs/SecretCreateRequest.md create mode 100644 api-model-v1-41/docs/ServiceCreateRequest.md create mode 100644 api-model-v1-41/docs/ServiceEndpointVirtualIPsInner.md create mode 100644 api-model-v1-41/docs/ServiceUpdateRequest.md create mode 100644 api-model-v1-41/docs/SwarmSpecCAConfigExternalCAsInner.md create mode 100644 api-model-v1-41/docs/SystemInfoDefaultAddressPoolsInner.md create mode 100644 api-model-v1-41/docs/SystemVersionComponentsInner.md create mode 100644 api-model-v1-41/docs/TaskSpecContainerSpecConfigsInner.md create mode 100644 api-model-v1-41/docs/TaskSpecContainerSpecConfigsInnerFile.md create mode 100644 api-model-v1-41/docs/TaskSpecContainerSpecSecretsInner.md create mode 100644 api-model-v1-41/docs/TaskSpecContainerSpecSecretsInnerFile.md create mode 100644 api-model-v1-41/docs/TaskSpecPlacementPreferencesInner.md create mode 100644 api-model-v1-41/docs/TaskSpecPlacementPreferencesInnerSpread.md create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ConfigCreateRequest.kt create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequestAllOf.kt create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequestAllOf.kt rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{EngineDescriptionPlugins.kt => EngineDescriptionPluginsInner.kt} (98%) create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInner.kt create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerDiscreteResourceSpec.kt create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerNamedResourceSpec.kt rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{ResourcesBlkioWeightDevice.kt => ResourcesBlkioWeightDeviceInner.kt} (98%) rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{ResourcesUlimits.kt => ResourcesUlimitsInner.kt} (98%) create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SecretCreateRequest.kt create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceCreateRequest.kt rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{ServiceEndpointVirtualIPs.kt => ServiceEndpointVirtualIPsInner.kt} (98%) create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceUpdateRequest.kt rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{SwarmSpecCAConfigExternalCAs.kt => SwarmSpecCAConfigExternalCAsInner.kt} (97%) rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{SystemInfoDefaultAddressPools.kt => SystemInfoDefaultAddressPoolsInner.kt} (98%) rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{SystemVersionComponents.kt => SystemVersionComponentsInner.kt} (98%) rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{TaskSpecContainerSpecConfigs.kt => TaskSpecContainerSpecConfigsInner.kt} (97%) create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigsInnerFile.kt rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{TaskSpecContainerSpecSecrets.kt => TaskSpecContainerSpecSecretsInner.kt} (97%) create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecretsInnerFile.kt rename api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/{TaskSpecPlacementPreferences.kt => TaskSpecPlacementPreferencesInner.kt} (96%) create mode 100644 api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferencesInnerSpread.kt diff --git a/api-model-v1-41/.openapi-generator/FILES b/api-model-v1-41/.openapi-generator/FILES index f10cc969..28aed666 100644 --- a/api-model-v1-41/.openapi-generator/FILES +++ b/api-model-v1-41/.openapi-generator/FILES @@ -9,10 +9,13 @@ docs/ClusterInfo.md docs/Commit.md docs/Config.md docs/ConfigApi.md +docs/ConfigCreateRequest.md docs/ConfigSpec.md docs/ContainerApi.md docs/ContainerChangeResponseItem.md docs/ContainerConfig.md +docs/ContainerCreateRequest.md +docs/ContainerCreateRequestAllOf.md docs/ContainerCreateResponse.md docs/ContainerInspectResponse.md docs/ContainerPruneResponse.md @@ -21,6 +24,8 @@ docs/ContainerSummary.md docs/ContainerSummaryHostConfig.md docs/ContainerSummaryNetworkSettings.md docs/ContainerTopResponse.md +docs/ContainerUpdateRequest.md +docs/ContainerUpdateRequestAllOf.md docs/ContainerUpdateResponse.md docs/ContainerWaitExitError.md docs/ContainerWaitResponse.md @@ -35,7 +40,7 @@ docs/EndpointPortConfig.md docs/EndpointSettings.md docs/EndpointSpec.md docs/EngineDescription.md -docs/EngineDescriptionPlugins.md +docs/EngineDescriptionPluginsInner.md docs/ErrorDetail.md docs/ErrorResponse.md docs/EventActor.md @@ -44,6 +49,9 @@ docs/ExecApi.md docs/ExecConfig.md docs/ExecInspectResponse.md docs/ExecStartConfig.md +docs/GenericResourcesInner.md +docs/GenericResourcesInnerDiscreteResourceSpec.md +docs/GenericResourcesInnerNamedResourceSpec.md docs/GraphDriverData.md docs/Health.md docs/HealthConfig.md @@ -122,18 +130,20 @@ docs/Reachability.md docs/RegistryServiceConfig.md docs/ResourceObject.md docs/Resources.md -docs/ResourcesBlkioWeightDevice.md -docs/ResourcesUlimits.md +docs/ResourcesBlkioWeightDeviceInner.md +docs/ResourcesUlimitsInner.md docs/RestartPolicy.md docs/Runtime.md docs/Secret.md docs/SecretApi.md +docs/SecretCreateRequest.md docs/SecretSpec.md docs/Service.md docs/ServiceApi.md +docs/ServiceCreateRequest.md docs/ServiceCreateResponse.md docs/ServiceEndpoint.md -docs/ServiceEndpointVirtualIPs.md +docs/ServiceEndpointVirtualIPsInner.md docs/ServiceJobStatus.md docs/ServiceServiceStatus.md docs/ServiceSpec.md @@ -142,6 +152,7 @@ docs/ServiceSpecModeReplicated.md docs/ServiceSpecModeReplicatedJob.md docs/ServiceSpecRollbackConfig.md docs/ServiceSpecUpdateConfig.md +docs/ServiceUpdateRequest.md docs/ServiceUpdateResponse.md docs/ServiceUpdateStatus.md docs/SessionApi.md @@ -153,7 +164,7 @@ docs/SwarmInitRequest.md docs/SwarmJoinRequest.md docs/SwarmSpec.md docs/SwarmSpecCAConfig.md -docs/SwarmSpecCAConfigExternalCAs.md +docs/SwarmSpecCAConfigExternalCAsInner.md docs/SwarmSpecDispatcher.md docs/SwarmSpecEncryptionConfig.md docs/SwarmSpecOrchestration.md @@ -165,28 +176,28 @@ docs/SystemApi.md docs/SystemAuthResponse.md docs/SystemDataUsageResponse.md docs/SystemInfo.md -docs/SystemInfoDefaultAddressPools.md +docs/SystemInfoDefaultAddressPoolsInner.md docs/SystemVersion.md -docs/SystemVersionComponents.md +docs/SystemVersionComponentsInner.md docs/SystemVersionPlatform.md docs/TLSInfo.md docs/Task.md docs/TaskApi.md docs/TaskSpec.md docs/TaskSpecContainerSpec.md -docs/TaskSpecContainerSpecConfigs.md +docs/TaskSpecContainerSpecConfigsInner.md +docs/TaskSpecContainerSpecConfigsInnerFile.md docs/TaskSpecContainerSpecDNSConfig.md -docs/TaskSpecContainerSpecFile.md -docs/TaskSpecContainerSpecFile1.md docs/TaskSpecContainerSpecPrivileges.md docs/TaskSpecContainerSpecPrivilegesCredentialSpec.md docs/TaskSpecContainerSpecPrivilegesSELinuxContext.md -docs/TaskSpecContainerSpecSecrets.md +docs/TaskSpecContainerSpecSecretsInner.md +docs/TaskSpecContainerSpecSecretsInnerFile.md docs/TaskSpecLogDriver.md docs/TaskSpecNetworkAttachmentSpec.md docs/TaskSpecPlacement.md -docs/TaskSpecPlacementPreferences.md -docs/TaskSpecPlacementSpread.md +docs/TaskSpecPlacementPreferencesInner.md +docs/TaskSpecPlacementPreferencesInnerSpread.md docs/TaskSpecPluginSpec.md docs/TaskSpecResources.md docs/TaskSpecRestartPolicy.md @@ -214,9 +225,12 @@ src/main/kotlin/de/gesellix/docker/remote/api/BuildPruneResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/ClusterInfo.kt src/main/kotlin/de/gesellix/docker/remote/api/Commit.kt src/main/kotlin/de/gesellix/docker/remote/api/Config.kt +src/main/kotlin/de/gesellix/docker/remote/api/ConfigCreateRequest.kt src/main/kotlin/de/gesellix/docker/remote/api/ConfigSpec.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerChangeResponseItem.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerConfig.kt +src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequest.kt +src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequestAllOf.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerInspectResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerPruneResponse.kt @@ -225,6 +239,8 @@ src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummary.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryHostConfig.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryNetworkSettings.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerTopResponse.kt +src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequest.kt +src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequestAllOf.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitExitError.kt src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitResponse.kt @@ -238,7 +254,7 @@ src/main/kotlin/de/gesellix/docker/remote/api/EndpointPortConfig.kt src/main/kotlin/de/gesellix/docker/remote/api/EndpointSettings.kt src/main/kotlin/de/gesellix/docker/remote/api/EndpointSpec.kt src/main/kotlin/de/gesellix/docker/remote/api/EngineDescription.kt -src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPlugins.kt +src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPluginsInner.kt src/main/kotlin/de/gesellix/docker/remote/api/ErrorDetail.kt src/main/kotlin/de/gesellix/docker/remote/api/ErrorResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/EventActor.kt @@ -246,6 +262,9 @@ src/main/kotlin/de/gesellix/docker/remote/api/EventMessage.kt src/main/kotlin/de/gesellix/docker/remote/api/ExecConfig.kt src/main/kotlin/de/gesellix/docker/remote/api/ExecInspectResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/ExecStartConfig.kt +src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInner.kt +src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerDiscreteResourceSpec.kt +src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerNamedResourceSpec.kt src/main/kotlin/de/gesellix/docker/remote/api/GraphDriverData.kt src/main/kotlin/de/gesellix/docker/remote/api/Health.kt src/main/kotlin/de/gesellix/docker/remote/api/HealthConfig.kt @@ -320,16 +339,18 @@ src/main/kotlin/de/gesellix/docker/remote/api/Reachability.kt src/main/kotlin/de/gesellix/docker/remote/api/RegistryServiceConfig.kt src/main/kotlin/de/gesellix/docker/remote/api/ResourceObject.kt src/main/kotlin/de/gesellix/docker/remote/api/Resources.kt -src/main/kotlin/de/gesellix/docker/remote/api/ResourcesBlkioWeightDevice.kt -src/main/kotlin/de/gesellix/docker/remote/api/ResourcesUlimits.kt +src/main/kotlin/de/gesellix/docker/remote/api/ResourcesBlkioWeightDeviceInner.kt +src/main/kotlin/de/gesellix/docker/remote/api/ResourcesUlimitsInner.kt src/main/kotlin/de/gesellix/docker/remote/api/RestartPolicy.kt src/main/kotlin/de/gesellix/docker/remote/api/Runtime.kt src/main/kotlin/de/gesellix/docker/remote/api/Secret.kt +src/main/kotlin/de/gesellix/docker/remote/api/SecretCreateRequest.kt src/main/kotlin/de/gesellix/docker/remote/api/SecretSpec.kt src/main/kotlin/de/gesellix/docker/remote/api/Service.kt +src/main/kotlin/de/gesellix/docker/remote/api/ServiceCreateRequest.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceCreateResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpoint.kt -src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpointVirtualIPs.kt +src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpointVirtualIPsInner.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceJobStatus.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceServiceStatus.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpec.kt @@ -338,6 +359,7 @@ src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecModeReplicated.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecModeReplicatedJob.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecRollbackConfig.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecUpdateConfig.kt +src/main/kotlin/de/gesellix/docker/remote/api/ServiceUpdateRequest.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceUpdateResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/ServiceUpdateStatus.kt src/main/kotlin/de/gesellix/docker/remote/api/Swarm.kt @@ -347,7 +369,7 @@ src/main/kotlin/de/gesellix/docker/remote/api/SwarmInitRequest.kt src/main/kotlin/de/gesellix/docker/remote/api/SwarmJoinRequest.kt src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpec.kt src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfig.kt -src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfigExternalCAs.kt +src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfigExternalCAsInner.kt src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecDispatcher.kt src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecEncryptionConfig.kt src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecOrchestration.kt @@ -358,27 +380,27 @@ src/main/kotlin/de/gesellix/docker/remote/api/SwarmUnlockRequest.kt src/main/kotlin/de/gesellix/docker/remote/api/SystemAuthResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/SystemDataUsageResponse.kt src/main/kotlin/de/gesellix/docker/remote/api/SystemInfo.kt -src/main/kotlin/de/gesellix/docker/remote/api/SystemInfoDefaultAddressPools.kt +src/main/kotlin/de/gesellix/docker/remote/api/SystemInfoDefaultAddressPoolsInner.kt src/main/kotlin/de/gesellix/docker/remote/api/SystemVersion.kt -src/main/kotlin/de/gesellix/docker/remote/api/SystemVersionComponents.kt +src/main/kotlin/de/gesellix/docker/remote/api/SystemVersionComponentsInner.kt src/main/kotlin/de/gesellix/docker/remote/api/SystemVersionPlatform.kt src/main/kotlin/de/gesellix/docker/remote/api/TLSInfo.kt src/main/kotlin/de/gesellix/docker/remote/api/Task.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpec.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpec.kt -src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigs.kt +src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigsInner.kt +src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigsInnerFile.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecDNSConfig.kt -src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecFile.kt -src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecFile1.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecPrivileges.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecPrivilegesCredentialSpec.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecPrivilegesSELinuxContext.kt -src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecrets.kt +src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecretsInner.kt +src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecretsInnerFile.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecLogDriver.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecNetworkAttachmentSpec.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacement.kt -src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferences.kt -src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementSpread.kt +src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferencesInner.kt +src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferencesInnerSpread.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPluginSpec.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecResources.kt src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecRestartPolicy.kt diff --git a/api-model-v1-41/.openapi-generator/VERSION b/api-model-v1-41/.openapi-generator/VERSION index 1e20ec35..f4965a31 100644 --- a/api-model-v1-41/.openapi-generator/VERSION +++ b/api-model-v1-41/.openapi-generator/VERSION @@ -1 +1 @@ -5.4.0 \ No newline at end of file +6.0.0 \ No newline at end of file diff --git a/api-model-v1-41/README.md b/api-model-v1-41/README.md index 0cd18243..35990b19 100644 --- a/api-model-v1-41/README.md +++ b/api-model-v1-41/README.md @@ -154,9 +154,12 @@ Class | Method | HTTP request | Description - [de.gesellix.docker.remote.api.ClusterInfo](docs/ClusterInfo.md) - [de.gesellix.docker.remote.api.Commit](docs/Commit.md) - [de.gesellix.docker.remote.api.Config](docs/Config.md) + - [de.gesellix.docker.remote.api.ConfigCreateRequest](docs/ConfigCreateRequest.md) - [de.gesellix.docker.remote.api.ConfigSpec](docs/ConfigSpec.md) - [de.gesellix.docker.remote.api.ContainerChangeResponseItem](docs/ContainerChangeResponseItem.md) - [de.gesellix.docker.remote.api.ContainerConfig](docs/ContainerConfig.md) + - [de.gesellix.docker.remote.api.ContainerCreateRequest](docs/ContainerCreateRequest.md) + - [de.gesellix.docker.remote.api.ContainerCreateRequestAllOf](docs/ContainerCreateRequestAllOf.md) - [de.gesellix.docker.remote.api.ContainerCreateResponse](docs/ContainerCreateResponse.md) - [de.gesellix.docker.remote.api.ContainerInspectResponse](docs/ContainerInspectResponse.md) - [de.gesellix.docker.remote.api.ContainerPruneResponse](docs/ContainerPruneResponse.md) @@ -165,6 +168,8 @@ Class | Method | HTTP request | Description - [de.gesellix.docker.remote.api.ContainerSummaryHostConfig](docs/ContainerSummaryHostConfig.md) - [de.gesellix.docker.remote.api.ContainerSummaryNetworkSettings](docs/ContainerSummaryNetworkSettings.md) - [de.gesellix.docker.remote.api.ContainerTopResponse](docs/ContainerTopResponse.md) + - [de.gesellix.docker.remote.api.ContainerUpdateRequest](docs/ContainerUpdateRequest.md) + - [de.gesellix.docker.remote.api.ContainerUpdateRequestAllOf](docs/ContainerUpdateRequestAllOf.md) - [de.gesellix.docker.remote.api.ContainerUpdateResponse](docs/ContainerUpdateResponse.md) - [de.gesellix.docker.remote.api.ContainerWaitExitError](docs/ContainerWaitExitError.md) - [de.gesellix.docker.remote.api.ContainerWaitResponse](docs/ContainerWaitResponse.md) @@ -178,7 +183,7 @@ Class | Method | HTTP request | Description - [de.gesellix.docker.remote.api.EndpointSettings](docs/EndpointSettings.md) - [de.gesellix.docker.remote.api.EndpointSpec](docs/EndpointSpec.md) - [de.gesellix.docker.remote.api.EngineDescription](docs/EngineDescription.md) - - [de.gesellix.docker.remote.api.EngineDescriptionPlugins](docs/EngineDescriptionPlugins.md) + - [de.gesellix.docker.remote.api.EngineDescriptionPluginsInner](docs/EngineDescriptionPluginsInner.md) - [de.gesellix.docker.remote.api.ErrorDetail](docs/ErrorDetail.md) - [de.gesellix.docker.remote.api.ErrorResponse](docs/ErrorResponse.md) - [de.gesellix.docker.remote.api.EventActor](docs/EventActor.md) @@ -186,6 +191,9 @@ Class | Method | HTTP request | Description - [de.gesellix.docker.remote.api.ExecConfig](docs/ExecConfig.md) - [de.gesellix.docker.remote.api.ExecInspectResponse](docs/ExecInspectResponse.md) - [de.gesellix.docker.remote.api.ExecStartConfig](docs/ExecStartConfig.md) + - [de.gesellix.docker.remote.api.GenericResourcesInner](docs/GenericResourcesInner.md) + - [de.gesellix.docker.remote.api.GenericResourcesInnerDiscreteResourceSpec](docs/GenericResourcesInnerDiscreteResourceSpec.md) + - [de.gesellix.docker.remote.api.GenericResourcesInnerNamedResourceSpec](docs/GenericResourcesInnerNamedResourceSpec.md) - [de.gesellix.docker.remote.api.GraphDriverData](docs/GraphDriverData.md) - [de.gesellix.docker.remote.api.Health](docs/Health.md) - [de.gesellix.docker.remote.api.HealthConfig](docs/HealthConfig.md) @@ -260,16 +268,18 @@ Class | Method | HTTP request | Description - [de.gesellix.docker.remote.api.RegistryServiceConfig](docs/RegistryServiceConfig.md) - [de.gesellix.docker.remote.api.ResourceObject](docs/ResourceObject.md) - [de.gesellix.docker.remote.api.Resources](docs/Resources.md) - - [de.gesellix.docker.remote.api.ResourcesBlkioWeightDevice](docs/ResourcesBlkioWeightDevice.md) - - [de.gesellix.docker.remote.api.ResourcesUlimits](docs/ResourcesUlimits.md) + - [de.gesellix.docker.remote.api.ResourcesBlkioWeightDeviceInner](docs/ResourcesBlkioWeightDeviceInner.md) + - [de.gesellix.docker.remote.api.ResourcesUlimitsInner](docs/ResourcesUlimitsInner.md) - [de.gesellix.docker.remote.api.RestartPolicy](docs/RestartPolicy.md) - [de.gesellix.docker.remote.api.Runtime](docs/Runtime.md) - [de.gesellix.docker.remote.api.Secret](docs/Secret.md) + - [de.gesellix.docker.remote.api.SecretCreateRequest](docs/SecretCreateRequest.md) - [de.gesellix.docker.remote.api.SecretSpec](docs/SecretSpec.md) - [de.gesellix.docker.remote.api.Service](docs/Service.md) + - [de.gesellix.docker.remote.api.ServiceCreateRequest](docs/ServiceCreateRequest.md) - [de.gesellix.docker.remote.api.ServiceCreateResponse](docs/ServiceCreateResponse.md) - [de.gesellix.docker.remote.api.ServiceEndpoint](docs/ServiceEndpoint.md) - - [de.gesellix.docker.remote.api.ServiceEndpointVirtualIPs](docs/ServiceEndpointVirtualIPs.md) + - [de.gesellix.docker.remote.api.ServiceEndpointVirtualIPsInner](docs/ServiceEndpointVirtualIPsInner.md) - [de.gesellix.docker.remote.api.ServiceJobStatus](docs/ServiceJobStatus.md) - [de.gesellix.docker.remote.api.ServiceServiceStatus](docs/ServiceServiceStatus.md) - [de.gesellix.docker.remote.api.ServiceSpec](docs/ServiceSpec.md) @@ -278,6 +288,7 @@ Class | Method | HTTP request | Description - [de.gesellix.docker.remote.api.ServiceSpecModeReplicatedJob](docs/ServiceSpecModeReplicatedJob.md) - [de.gesellix.docker.remote.api.ServiceSpecRollbackConfig](docs/ServiceSpecRollbackConfig.md) - [de.gesellix.docker.remote.api.ServiceSpecUpdateConfig](docs/ServiceSpecUpdateConfig.md) + - [de.gesellix.docker.remote.api.ServiceUpdateRequest](docs/ServiceUpdateRequest.md) - [de.gesellix.docker.remote.api.ServiceUpdateResponse](docs/ServiceUpdateResponse.md) - [de.gesellix.docker.remote.api.ServiceUpdateStatus](docs/ServiceUpdateStatus.md) - [de.gesellix.docker.remote.api.Swarm](docs/Swarm.md) @@ -287,7 +298,7 @@ Class | Method | HTTP request | Description - [de.gesellix.docker.remote.api.SwarmJoinRequest](docs/SwarmJoinRequest.md) - [de.gesellix.docker.remote.api.SwarmSpec](docs/SwarmSpec.md) - [de.gesellix.docker.remote.api.SwarmSpecCAConfig](docs/SwarmSpecCAConfig.md) - - [de.gesellix.docker.remote.api.SwarmSpecCAConfigExternalCAs](docs/SwarmSpecCAConfigExternalCAs.md) + - [de.gesellix.docker.remote.api.SwarmSpecCAConfigExternalCAsInner](docs/SwarmSpecCAConfigExternalCAsInner.md) - [de.gesellix.docker.remote.api.SwarmSpecDispatcher](docs/SwarmSpecDispatcher.md) - [de.gesellix.docker.remote.api.SwarmSpecEncryptionConfig](docs/SwarmSpecEncryptionConfig.md) - [de.gesellix.docker.remote.api.SwarmSpecOrchestration](docs/SwarmSpecOrchestration.md) @@ -298,27 +309,27 @@ Class | Method | HTTP request | Description - [de.gesellix.docker.remote.api.SystemAuthResponse](docs/SystemAuthResponse.md) - [de.gesellix.docker.remote.api.SystemDataUsageResponse](docs/SystemDataUsageResponse.md) - [de.gesellix.docker.remote.api.SystemInfo](docs/SystemInfo.md) - - [de.gesellix.docker.remote.api.SystemInfoDefaultAddressPools](docs/SystemInfoDefaultAddressPools.md) + - [de.gesellix.docker.remote.api.SystemInfoDefaultAddressPoolsInner](docs/SystemInfoDefaultAddressPoolsInner.md) - [de.gesellix.docker.remote.api.SystemVersion](docs/SystemVersion.md) - - [de.gesellix.docker.remote.api.SystemVersionComponents](docs/SystemVersionComponents.md) + - [de.gesellix.docker.remote.api.SystemVersionComponentsInner](docs/SystemVersionComponentsInner.md) - [de.gesellix.docker.remote.api.SystemVersionPlatform](docs/SystemVersionPlatform.md) - [de.gesellix.docker.remote.api.TLSInfo](docs/TLSInfo.md) - [de.gesellix.docker.remote.api.Task](docs/Task.md) - [de.gesellix.docker.remote.api.TaskSpec](docs/TaskSpec.md) - [de.gesellix.docker.remote.api.TaskSpecContainerSpec](docs/TaskSpecContainerSpec.md) - - [de.gesellix.docker.remote.api.TaskSpecContainerSpecConfigs](docs/TaskSpecContainerSpecConfigs.md) + - [de.gesellix.docker.remote.api.TaskSpecContainerSpecConfigsInner](docs/TaskSpecContainerSpecConfigsInner.md) + - [de.gesellix.docker.remote.api.TaskSpecContainerSpecConfigsInnerFile](docs/TaskSpecContainerSpecConfigsInnerFile.md) - [de.gesellix.docker.remote.api.TaskSpecContainerSpecDNSConfig](docs/TaskSpecContainerSpecDNSConfig.md) - - [de.gesellix.docker.remote.api.TaskSpecContainerSpecFile](docs/TaskSpecContainerSpecFile.md) - - [de.gesellix.docker.remote.api.TaskSpecContainerSpecFile1](docs/TaskSpecContainerSpecFile1.md) - [de.gesellix.docker.remote.api.TaskSpecContainerSpecPrivileges](docs/TaskSpecContainerSpecPrivileges.md) - [de.gesellix.docker.remote.api.TaskSpecContainerSpecPrivilegesCredentialSpec](docs/TaskSpecContainerSpecPrivilegesCredentialSpec.md) - [de.gesellix.docker.remote.api.TaskSpecContainerSpecPrivilegesSELinuxContext](docs/TaskSpecContainerSpecPrivilegesSELinuxContext.md) - - [de.gesellix.docker.remote.api.TaskSpecContainerSpecSecrets](docs/TaskSpecContainerSpecSecrets.md) + - [de.gesellix.docker.remote.api.TaskSpecContainerSpecSecretsInner](docs/TaskSpecContainerSpecSecretsInner.md) + - [de.gesellix.docker.remote.api.TaskSpecContainerSpecSecretsInnerFile](docs/TaskSpecContainerSpecSecretsInnerFile.md) - [de.gesellix.docker.remote.api.TaskSpecLogDriver](docs/TaskSpecLogDriver.md) - [de.gesellix.docker.remote.api.TaskSpecNetworkAttachmentSpec](docs/TaskSpecNetworkAttachmentSpec.md) - [de.gesellix.docker.remote.api.TaskSpecPlacement](docs/TaskSpecPlacement.md) - - [de.gesellix.docker.remote.api.TaskSpecPlacementPreferences](docs/TaskSpecPlacementPreferences.md) - - [de.gesellix.docker.remote.api.TaskSpecPlacementSpread](docs/TaskSpecPlacementSpread.md) + - [de.gesellix.docker.remote.api.TaskSpecPlacementPreferencesInner](docs/TaskSpecPlacementPreferencesInner.md) + - [de.gesellix.docker.remote.api.TaskSpecPlacementPreferencesInnerSpread](docs/TaskSpecPlacementPreferencesInnerSpread.md) - [de.gesellix.docker.remote.api.TaskSpecPluginSpec](docs/TaskSpecPluginSpec.md) - [de.gesellix.docker.remote.api.TaskSpecResources](docs/TaskSpecResources.md) - [de.gesellix.docker.remote.api.TaskSpecRestartPolicy](docs/TaskSpecRestartPolicy.md) diff --git a/api-model-v1-41/docs/ConfigCreateRequest.md b/api-model-v1-41/docs/ConfigCreateRequest.md new file mode 100644 index 00000000..fe14855f --- /dev/null +++ b/api-model-v1-41/docs/ConfigCreateRequest.md @@ -0,0 +1,13 @@ + +# ConfigCreateRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **kotlin.String** | User-defined name of the config. | [optional] +**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional] +**`data`** | **kotlin.String** | Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) config data. | [optional] +**templating** | [**Driver**](Driver.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/ContainerCreateRequest.md b/api-model-v1-41/docs/ContainerCreateRequest.md new file mode 100644 index 00000000..9bf7ec9b --- /dev/null +++ b/api-model-v1-41/docs/ContainerCreateRequest.md @@ -0,0 +1,36 @@ + +# ContainerCreateRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hostname** | **kotlin.String** | The hostname to use for the container, as a valid RFC 1123 hostname. | [optional] +**domainname** | **kotlin.String** | The domain name to use for the container. | [optional] +**user** | **kotlin.String** | The user that commands are run as inside the container. | [optional] +**attachStdin** | **kotlin.Boolean** | Whether to attach to `stdin`. | [optional] +**attachStdout** | **kotlin.Boolean** | Whether to attach to `stdout`. | [optional] +**attachStderr** | **kotlin.Boolean** | Whether to attach to `stderr`. | [optional] +**exposedPorts** | [**kotlin.collections.MutableMap<kotlin.String, kotlin.Any>**](kotlin.Any.md) | An object mapping ports to an empty object in the form: `{\"<port>/<tcp|udp|sctp>\": {}}` | [optional] +**tty** | **kotlin.Boolean** | Attach standard streams to a TTY, including `stdin` if it is not closed. | [optional] +**openStdin** | **kotlin.Boolean** | Open `stdin` | [optional] +**stdinOnce** | **kotlin.Boolean** | Close `stdin` after one attached client disconnects | [optional] +**env** | **kotlin.collections.MutableList<kotlin.String>** | A list of environment variables to set inside the container in the form `[\"VAR=value\", ...]`. A variable without `=` is removed from the environment, rather than to have an empty value. | [optional] +**cmd** | **kotlin.collections.MutableList<kotlin.String>** | Command to run specified as a string or an array of strings. | [optional] +**healthcheck** | [**HealthConfig**](HealthConfig.md) | | [optional] +**argsEscaped** | **kotlin.Boolean** | Command is already escaped (Windows only) | [optional] +**image** | **kotlin.String** | The name (or reference) of the image to use when creating the container, or which was used when the container was created. | [optional] +**volumes** | [**kotlin.collections.MutableMap<kotlin.String, kotlin.Any>**](kotlin.Any.md) | An object mapping mount point paths inside the container to empty objects. | [optional] +**workingDir** | **kotlin.String** | The working directory for commands to run in. | [optional] +**entrypoint** | **kotlin.collections.MutableList<kotlin.String>** | The entry point for the container as a string or an array of strings. If the array consists of exactly one empty string (`[\"\"]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`). | [optional] +**networkDisabled** | **kotlin.Boolean** | Disable networking for the container. | [optional] +**macAddress** | **kotlin.String** | MAC address of the container. | [optional] +**onBuild** | **kotlin.collections.MutableList<kotlin.String>** | `ONBUILD` metadata that were defined in the image's `Dockerfile`. | [optional] +**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional] +**stopSignal** | **kotlin.String** | Signal to stop a container as a string or unsigned integer. | [optional] +**stopTimeout** | **kotlin.Int** | Timeout to stop a container in seconds. | [optional] +**shell** | **kotlin.collections.MutableList<kotlin.String>** | Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell. | [optional] +**hostConfig** | [**HostConfig**](HostConfig.md) | | [optional] +**networkingConfig** | [**NetworkingConfig**](NetworkingConfig.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/ContainerCreateRequestAllOf.md b/api-model-v1-41/docs/ContainerCreateRequestAllOf.md new file mode 100644 index 00000000..5fa112d7 --- /dev/null +++ b/api-model-v1-41/docs/ContainerCreateRequestAllOf.md @@ -0,0 +1,11 @@ + +# ContainerCreateRequestAllOf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hostConfig** | [**HostConfig**](HostConfig.md) | | [optional] +**networkingConfig** | [**NetworkingConfig**](NetworkingConfig.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/ContainerUpdateRequest.md b/api-model-v1-41/docs/ContainerUpdateRequest.md new file mode 100644 index 00000000..8afa71a5 --- /dev/null +++ b/api-model-v1-41/docs/ContainerUpdateRequest.md @@ -0,0 +1,41 @@ + +# ContainerUpdateRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cpuShares** | **kotlin.Int** | An integer value representing this container's relative CPU weight versus other containers. | [optional] +**memory** | **kotlin.Long** | Memory limit in bytes. | [optional] +**cgroupParent** | **kotlin.String** | Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. | [optional] +**blkioWeight** | **kotlin.Int** | Block IO weight (relative weight). | [optional] +**blkioWeightDevice** | [**kotlin.collections.MutableList<ResourcesBlkioWeightDeviceInner>**](ResourcesBlkioWeightDeviceInner.md) | Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` | [optional] +**blkioDeviceReadBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] +**blkioDeviceWriteBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] +**blkioDeviceReadIOps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] +**blkioDeviceWriteIOps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (IO per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] +**cpuPeriod** | **kotlin.Long** | The length of a CPU period in microseconds. | [optional] +**cpuQuota** | **kotlin.Long** | Microseconds of CPU time that the container can get in a CPU period. | [optional] +**cpuRealtimePeriod** | **kotlin.Long** | The length of a CPU real-time period in microseconds. Set to 0 to allocate no time allocated to real-time tasks. | [optional] +**cpuRealtimeRuntime** | **kotlin.Long** | The length of a CPU real-time runtime in microseconds. Set to 0 to allocate no time allocated to real-time tasks. | [optional] +**cpusetCpus** | **kotlin.String** | CPUs in which to allow execution (e.g., `0-3`, `0,1`). | [optional] +**cpusetMems** | **kotlin.String** | Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems. | [optional] +**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] +**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] +**memorySwappiness** | **kotlin.Long** | Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100. | [optional] +**nanoCpus** | **kotlin.Long** | CPU quota in units of 10<sup>-9</sup> CPUs. | [optional] +**oomKillDisable** | **kotlin.Boolean** | Disable OOM Killer for the container. | [optional] +**`init`** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional] +**pidsLimit** | **kotlin.Long** | Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change. | [optional] +**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimitsInner>**](ResourcesUlimitsInner.md) | A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` | [optional] +**cpuCount** | **kotlin.Long** | The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional] +**cpuPercent** | **kotlin.Long** | The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional] +**ioMaximumIOps** | **kotlin.Long** | Maximum IOps for the container system drive (Windows only) | [optional] +**ioMaximumBandwidth** | **kotlin.Long** | Maximum IO in bytes per second for the container system drive (Windows only). | [optional] +**restartPolicy** | [**RestartPolicy**](RestartPolicy.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/ContainerUpdateRequestAllOf.md b/api-model-v1-41/docs/ContainerUpdateRequestAllOf.md new file mode 100644 index 00000000..d595b2a5 --- /dev/null +++ b/api-model-v1-41/docs/ContainerUpdateRequestAllOf.md @@ -0,0 +1,10 @@ + +# ContainerUpdateRequestAllOf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**restartPolicy** | [**RestartPolicy**](RestartPolicy.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/EngineDescription.md b/api-model-v1-41/docs/EngineDescription.md index 6e35d480..07445e46 100644 --- a/api-model-v1-41/docs/EngineDescription.md +++ b/api-model-v1-41/docs/EngineDescription.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **engineVersion** | **kotlin.String** | | [optional] **labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | | [optional] -**plugins** | [**kotlin.collections.MutableList<EngineDescriptionPlugins>**](EngineDescriptionPlugins.md) | | [optional] +**plugins** | [**kotlin.collections.MutableList<EngineDescriptionPluginsInner>**](EngineDescriptionPluginsInner.md) | | [optional] diff --git a/api-model-v1-41/docs/EngineDescriptionPluginsInner.md b/api-model-v1-41/docs/EngineDescriptionPluginsInner.md new file mode 100644 index 00000000..b2a8035c --- /dev/null +++ b/api-model-v1-41/docs/EngineDescriptionPluginsInner.md @@ -0,0 +1,11 @@ + +# EngineDescriptionPluginsInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **kotlin.String** | | [optional] +**name** | **kotlin.String** | | [optional] + + + diff --git a/api-model-v1-41/docs/GenericResourcesInner.md b/api-model-v1-41/docs/GenericResourcesInner.md new file mode 100644 index 00000000..7e222a3e --- /dev/null +++ b/api-model-v1-41/docs/GenericResourcesInner.md @@ -0,0 +1,11 @@ + +# GenericResourcesInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**namedResourceSpec** | [**GenericResourcesInnerNamedResourceSpec**](GenericResourcesInnerNamedResourceSpec.md) | | [optional] +**discreteResourceSpec** | [**GenericResourcesInnerDiscreteResourceSpec**](GenericResourcesInnerDiscreteResourceSpec.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/GenericResourcesInnerDiscreteResourceSpec.md b/api-model-v1-41/docs/GenericResourcesInnerDiscreteResourceSpec.md new file mode 100644 index 00000000..d19edea6 --- /dev/null +++ b/api-model-v1-41/docs/GenericResourcesInnerDiscreteResourceSpec.md @@ -0,0 +1,11 @@ + +# GenericResourcesInnerDiscreteResourceSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kind** | **kotlin.String** | | [optional] +**`value`** | **kotlin.Long** | | [optional] + + + diff --git a/api-model-v1-41/docs/GenericResourcesInnerNamedResourceSpec.md b/api-model-v1-41/docs/GenericResourcesInnerNamedResourceSpec.md new file mode 100644 index 00000000..75459921 --- /dev/null +++ b/api-model-v1-41/docs/GenericResourcesInnerNamedResourceSpec.md @@ -0,0 +1,11 @@ + +# GenericResourcesInnerNamedResourceSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kind** | **kotlin.String** | | [optional] +**`value`** | **kotlin.String** | | [optional] + + + diff --git a/api-model-v1-41/docs/HostConfig.md b/api-model-v1-41/docs/HostConfig.md index 95e1c87e..68bba925 100644 --- a/api-model-v1-41/docs/HostConfig.md +++ b/api-model-v1-41/docs/HostConfig.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **memory** | **kotlin.Long** | Memory limit in bytes. | [optional] **cgroupParent** | **kotlin.String** | Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. | [optional] **blkioWeight** | **kotlin.Int** | Block IO weight (relative weight). | [optional] -**blkioWeightDevice** | [**kotlin.collections.MutableList<ResourcesBlkioWeightDevice>**](ResourcesBlkioWeightDevice.md) | Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` | [optional] +**blkioWeightDevice** | [**kotlin.collections.MutableList<ResourcesBlkioWeightDeviceInner>**](ResourcesBlkioWeightDeviceInner.md) | Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` | [optional] **blkioDeviceReadBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] **blkioDeviceWriteBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] **blkioDeviceReadIOps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] @@ -30,7 +30,7 @@ Name | Type | Description | Notes **oomKillDisable** | **kotlin.Boolean** | Disable OOM Killer for the container. | [optional] **`init`** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional] **pidsLimit** | **kotlin.Long** | Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change. | [optional] -**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimits>**](ResourcesUlimits.md) | A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` | [optional] +**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimitsInner>**](ResourcesUlimitsInner.md) | A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` | [optional] **cpuCount** | **kotlin.Long** | The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional] **cpuPercent** | **kotlin.Long** | The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional] **ioMaximumIOps** | **kotlin.Long** | Maximum IOps for the container system drive (Windows only) | [optional] diff --git a/api-model-v1-41/docs/ResourceObject.md b/api-model-v1-41/docs/ResourceObject.md index ef6d3b71..044d53a5 100644 --- a/api-model-v1-41/docs/ResourceObject.md +++ b/api-model-v1-41/docs/ResourceObject.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **nanoCPUs** | **kotlin.Long** | | [optional] **memoryBytes** | **kotlin.Long** | | [optional] -**genericResources** | [**kotlin.collections.MutableList<kotlin.Any>**](kotlin.Any.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional] +**genericResources** | [**kotlin.collections.MutableList<GenericResourcesInner>**](GenericResourcesInner.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional] diff --git a/api-model-v1-41/docs/Resources.md b/api-model-v1-41/docs/Resources.md index 5e64ab16..f83e46c8 100644 --- a/api-model-v1-41/docs/Resources.md +++ b/api-model-v1-41/docs/Resources.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **memory** | **kotlin.Long** | Memory limit in bytes. | [optional] **cgroupParent** | **kotlin.String** | Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. | [optional] **blkioWeight** | **kotlin.Int** | Block IO weight (relative weight). | [optional] -**blkioWeightDevice** | [**kotlin.collections.MutableList<ResourcesBlkioWeightDevice>**](ResourcesBlkioWeightDevice.md) | Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` | [optional] +**blkioWeightDevice** | [**kotlin.collections.MutableList<ResourcesBlkioWeightDeviceInner>**](ResourcesBlkioWeightDeviceInner.md) | Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` | [optional] **blkioDeviceReadBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] **blkioDeviceWriteBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] **blkioDeviceReadIOps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional] @@ -30,7 +30,7 @@ Name | Type | Description | Notes **oomKillDisable** | **kotlin.Boolean** | Disable OOM Killer for the container. | [optional] **`init`** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional] **pidsLimit** | **kotlin.Long** | Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change. | [optional] -**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimits>**](ResourcesUlimits.md) | A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` | [optional] +**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimitsInner>**](ResourcesUlimitsInner.md) | A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` | [optional] **cpuCount** | **kotlin.Long** | The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional] **cpuPercent** | **kotlin.Long** | The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional] **ioMaximumIOps** | **kotlin.Long** | Maximum IOps for the container system drive (Windows only) | [optional] diff --git a/api-model-v1-41/docs/ResourcesBlkioWeightDeviceInner.md b/api-model-v1-41/docs/ResourcesBlkioWeightDeviceInner.md new file mode 100644 index 00000000..2160bf09 --- /dev/null +++ b/api-model-v1-41/docs/ResourcesBlkioWeightDeviceInner.md @@ -0,0 +1,11 @@ + +# ResourcesBlkioWeightDeviceInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**path** | **kotlin.String** | | [optional] +**weight** | **kotlin.Int** | | [optional] + + + diff --git a/api-model-v1-41/docs/ResourcesUlimitsInner.md b/api-model-v1-41/docs/ResourcesUlimitsInner.md new file mode 100644 index 00000000..312c7956 --- /dev/null +++ b/api-model-v1-41/docs/ResourcesUlimitsInner.md @@ -0,0 +1,12 @@ + +# ResourcesUlimitsInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **kotlin.String** | Name of ulimit | [optional] +**soft** | **kotlin.Int** | Soft limit | [optional] +**hard** | **kotlin.Int** | Hard limit | [optional] + + + diff --git a/api-model-v1-41/docs/SecretCreateRequest.md b/api-model-v1-41/docs/SecretCreateRequest.md new file mode 100644 index 00000000..97257bdb --- /dev/null +++ b/api-model-v1-41/docs/SecretCreateRequest.md @@ -0,0 +1,14 @@ + +# SecretCreateRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **kotlin.String** | User-defined name of the secret. | [optional] +**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional] +**`data`** | **kotlin.String** | Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) data to store as secret. This field is only used to _create_ a secret, and is not returned by other endpoints. | [optional] +**driver** | [**Driver**](Driver.md) | | [optional] +**templating** | [**Driver**](Driver.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/ServiceCreateRequest.md b/api-model-v1-41/docs/ServiceCreateRequest.md new file mode 100644 index 00000000..a2f93741 --- /dev/null +++ b/api-model-v1-41/docs/ServiceCreateRequest.md @@ -0,0 +1,17 @@ + +# ServiceCreateRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **kotlin.String** | Name of the service. | [optional] +**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional] +**taskTemplate** | [**TaskSpec**](TaskSpec.md) | | [optional] +**mode** | [**ServiceSpecMode**](ServiceSpecMode.md) | | [optional] +**updateConfig** | [**ServiceSpecUpdateConfig**](ServiceSpecUpdateConfig.md) | | [optional] +**rollbackConfig** | [**ServiceSpecRollbackConfig**](ServiceSpecRollbackConfig.md) | | [optional] +**networks** | [**kotlin.collections.MutableList<NetworkAttachmentConfig>**](NetworkAttachmentConfig.md) | Specifies which networks the service should attach to. | [optional] +**endpointSpec** | [**EndpointSpec**](EndpointSpec.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/ServiceEndpoint.md b/api-model-v1-41/docs/ServiceEndpoint.md index ca527f64..b3e08c5d 100644 --- a/api-model-v1-41/docs/ServiceEndpoint.md +++ b/api-model-v1-41/docs/ServiceEndpoint.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **spec** | [**EndpointSpec**](EndpointSpec.md) | | [optional] **ports** | [**kotlin.collections.MutableList<EndpointPortConfig>**](EndpointPortConfig.md) | | [optional] -**virtualIPs** | [**kotlin.collections.MutableList<ServiceEndpointVirtualIPs>**](ServiceEndpointVirtualIPs.md) | | [optional] +**virtualIPs** | [**kotlin.collections.MutableList<ServiceEndpointVirtualIPsInner>**](ServiceEndpointVirtualIPsInner.md) | | [optional] diff --git a/api-model-v1-41/docs/ServiceEndpointVirtualIPsInner.md b/api-model-v1-41/docs/ServiceEndpointVirtualIPsInner.md new file mode 100644 index 00000000..52b7db86 --- /dev/null +++ b/api-model-v1-41/docs/ServiceEndpointVirtualIPsInner.md @@ -0,0 +1,11 @@ + +# ServiceEndpointVirtualIPsInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**networkID** | **kotlin.String** | | [optional] +**addr** | **kotlin.String** | | [optional] + + + diff --git a/api-model-v1-41/docs/ServiceUpdateRequest.md b/api-model-v1-41/docs/ServiceUpdateRequest.md new file mode 100644 index 00000000..16c99840 --- /dev/null +++ b/api-model-v1-41/docs/ServiceUpdateRequest.md @@ -0,0 +1,17 @@ + +# ServiceUpdateRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **kotlin.String** | Name of the service. | [optional] +**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional] +**taskTemplate** | [**TaskSpec**](TaskSpec.md) | | [optional] +**mode** | [**ServiceSpecMode**](ServiceSpecMode.md) | | [optional] +**updateConfig** | [**ServiceSpecUpdateConfig**](ServiceSpecUpdateConfig.md) | | [optional] +**rollbackConfig** | [**ServiceSpecRollbackConfig**](ServiceSpecRollbackConfig.md) | | [optional] +**networks** | [**kotlin.collections.MutableList<NetworkAttachmentConfig>**](NetworkAttachmentConfig.md) | Specifies which networks the service should attach to. | [optional] +**endpointSpec** | [**EndpointSpec**](EndpointSpec.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/SwarmSpecCAConfig.md b/api-model-v1-41/docs/SwarmSpecCAConfig.md index 172ee698..9834a10b 100644 --- a/api-model-v1-41/docs/SwarmSpecCAConfig.md +++ b/api-model-v1-41/docs/SwarmSpecCAConfig.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **nodeCertExpiry** | **kotlin.Long** | The duration node certificates are issued for. | [optional] -**externalCAs** | [**kotlin.collections.MutableList<SwarmSpecCAConfigExternalCAs>**](SwarmSpecCAConfigExternalCAs.md) | Configuration for forwarding signing requests to an external certificate authority. | [optional] +**externalCAs** | [**kotlin.collections.MutableList<SwarmSpecCAConfigExternalCAsInner>**](SwarmSpecCAConfigExternalCAsInner.md) | Configuration for forwarding signing requests to an external certificate authority. | [optional] **signingCACert** | **kotlin.String** | The desired signing CA certificate for all swarm node TLS leaf certificates, in PEM format. | [optional] **signingCAKey** | **kotlin.String** | The desired signing CA key for all swarm node TLS leaf certificates, in PEM format. | [optional] **forceRotate** | **kotlin.Int** | An integer whose purpose is to force swarm to generate a new signing CA certificate and key, if none have been specified in `SigningCACert` and `SigningCAKey` | [optional] diff --git a/api-model-v1-41/docs/SwarmSpecCAConfigExternalCAsInner.md b/api-model-v1-41/docs/SwarmSpecCAConfigExternalCAsInner.md new file mode 100644 index 00000000..76fef75d --- /dev/null +++ b/api-model-v1-41/docs/SwarmSpecCAConfigExternalCAsInner.md @@ -0,0 +1,20 @@ + +# SwarmSpecCAConfigExternalCAsInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**protocol** | [**inline**](#Protocol) | Protocol for communication with the external CA (currently only `cfssl` is supported). | [optional] +**URL** | **kotlin.String** | URL where certificate signing requests should be sent. | [optional] +**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | An object with key/value pairs that are interpreted as protocol-specific options for the external CA driver. | [optional] +**caCert** | **kotlin.String** | The root CA certificate (in PEM format) this external CA uses to issue TLS certificates (assumed to be to the current swarm root CA certificate if not provided). | [optional] + + + +## Enum: Protocol +Name | Value +---- | ----- +protocol | cfssl + + + diff --git a/api-model-v1-41/docs/SystemInfo.md b/api-model-v1-41/docs/SystemInfo.md index 6f4e0ad8..ec56b02b 100644 --- a/api-model-v1-41/docs/SystemInfo.md +++ b/api-model-v1-41/docs/SystemInfo.md @@ -43,7 +43,7 @@ Name | Type | Description | Notes **memTotal** | **kotlin.Long** | Total amount of physical memory available on the host, in bytes. | [optional] **indexServerAddress** | **kotlin.String** | Address / URL of the index server that is used for image search, and as a default for user authentication for Docker Hub and Docker Cloud. | [optional] **registryConfig** | [**RegistryServiceConfig**](RegistryServiceConfig.md) | | [optional] -**genericResources** | [**kotlin.collections.MutableList<kotlin.Any>**](kotlin.Any.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional] +**genericResources** | [**kotlin.collections.MutableList<GenericResourcesInner>**](GenericResourcesInner.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional] **httpProxy** | **kotlin.String** | HTTP-proxy configured for the daemon. This value is obtained from the [`HTTP_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html) environment variable. Credentials ([user info component](https://tools.ietf.org/html/rfc3986#section-3.2.1)) in the proxy URL are masked in the API response. Containers do not automatically inherit this configuration. | [optional] **httpsProxy** | **kotlin.String** | HTTPS-proxy configured for the daemon. This value is obtained from the [`HTTPS_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html) environment variable. Credentials ([user info component](https://tools.ietf.org/html/rfc3986#section-3.2.1)) in the proxy URL are masked in the API response. Containers do not automatically inherit this configuration. | [optional] **noProxy** | **kotlin.String** | Comma-separated list of domain extensions for which no proxy should be used. This value is obtained from the [`NO_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html) environment variable. Containers do not automatically inherit this configuration. | [optional] @@ -64,7 +64,7 @@ Name | Type | Description | Notes **initCommit** | [**Commit**](Commit.md) | | [optional] **securityOptions** | **kotlin.collections.MutableList<kotlin.String>** | List of security features that are enabled on the daemon, such as apparmor, seccomp, SELinux, user-namespaces (userns), and rootless. Additional configuration options for each security feature may be present, and are included as a comma-separated list of key/value pairs. | [optional] **productLicense** | **kotlin.String** | Reports a summary of the product license on the daemon. If a commercial license has been applied to the daemon, information such as number of nodes, and expiration are included. | [optional] -**defaultAddressPools** | [**kotlin.collections.MutableList<SystemInfoDefaultAddressPools>**](SystemInfoDefaultAddressPools.md) | List of custom default address pools for local networks, which can be specified in the daemon.json file or dockerd option. Example: a Base \"10.10.0.0/16\" with Size 24 will define the set of 256 10.10.[0-255].0/24 address pools. | [optional] +**defaultAddressPools** | [**kotlin.collections.MutableList<SystemInfoDefaultAddressPoolsInner>**](SystemInfoDefaultAddressPoolsInner.md) | List of custom default address pools for local networks, which can be specified in the daemon.json file or dockerd option. Example: a Base \"10.10.0.0/16\" with Size 24 will define the set of 256 10.10.[0-255].0/24 address pools. | [optional] **warnings** | **kotlin.collections.MutableList<kotlin.String>** | List of warnings / informational messages about missing features, or issues related to the daemon configuration. These messages can be printed by the client as information to the user. | [optional] diff --git a/api-model-v1-41/docs/SystemInfoDefaultAddressPoolsInner.md b/api-model-v1-41/docs/SystemInfoDefaultAddressPoolsInner.md new file mode 100644 index 00000000..d24cff78 --- /dev/null +++ b/api-model-v1-41/docs/SystemInfoDefaultAddressPoolsInner.md @@ -0,0 +1,11 @@ + +# SystemInfoDefaultAddressPoolsInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**base** | **kotlin.String** | The network address in CIDR format | [optional] +**propertySize** | **kotlin.Int** | The network pool size | [optional] + + + diff --git a/api-model-v1-41/docs/SystemVersion.md b/api-model-v1-41/docs/SystemVersion.md index ec211bc4..ec9c592d 100644 --- a/api-model-v1-41/docs/SystemVersion.md +++ b/api-model-v1-41/docs/SystemVersion.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **platform** | [**SystemVersionPlatform**](SystemVersionPlatform.md) | | [optional] -**components** | [**kotlin.collections.MutableList<SystemVersionComponents>**](SystemVersionComponents.md) | Information about system components | [optional] +**components** | [**kotlin.collections.MutableList<SystemVersionComponentsInner>**](SystemVersionComponentsInner.md) | Information about system components | [optional] **version** | **kotlin.String** | The version of the daemon | [optional] **apiVersion** | **kotlin.String** | The default (and highest) API version that is supported by the daemon | [optional] **minAPIVersion** | **kotlin.String** | The minimum API version that is supported by the daemon | [optional] diff --git a/api-model-v1-41/docs/SystemVersionComponentsInner.md b/api-model-v1-41/docs/SystemVersionComponentsInner.md new file mode 100644 index 00000000..d9a2c88f --- /dev/null +++ b/api-model-v1-41/docs/SystemVersionComponentsInner.md @@ -0,0 +1,12 @@ + +# SystemVersionComponentsInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **kotlin.String** | Name of the component | +**version** | **kotlin.String** | Version of the component | +**details** | [**kotlin.Any**](.md) | Key/value pairs of strings with additional information about the component. These values are intended for informational purposes only, and their content is not defined, and not part of the API specification. These messages can be printed by the client as information to the user. | [optional] + + + diff --git a/api-model-v1-41/docs/Task.md b/api-model-v1-41/docs/Task.md index 0ce2dcc2..87037581 100644 --- a/api-model-v1-41/docs/Task.md +++ b/api-model-v1-41/docs/Task.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **serviceID** | **kotlin.String** | The ID of the service this task is part of. | [optional] **slot** | **kotlin.Int** | | [optional] **nodeID** | **kotlin.String** | The ID of the node that this task is on. | [optional] -**assignedGenericResources** | [**kotlin.collections.MutableList<kotlin.Any>**](kotlin.Any.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional] +**assignedGenericResources** | [**kotlin.collections.MutableList<GenericResourcesInner>**](GenericResourcesInner.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional] **status** | [**TaskStatus**](TaskStatus.md) | | [optional] **desiredState** | [**TaskState**](TaskState.md) | | [optional] **jobIteration** | [**ObjectVersion**](ObjectVersion.md) | | [optional] diff --git a/api-model-v1-41/docs/TaskSpecContainerSpec.md b/api-model-v1-41/docs/TaskSpecContainerSpec.md index 9df6c027..d38d5e31 100644 --- a/api-model-v1-41/docs/TaskSpecContainerSpec.md +++ b/api-model-v1-41/docs/TaskSpecContainerSpec.md @@ -23,14 +23,14 @@ Name | Type | Description | Notes **healthCheck** | [**HealthConfig**](HealthConfig.md) | | [optional] **hosts** | **kotlin.collections.MutableList<kotlin.String>** | A list of hostname/IP mappings to add to the container's `hosts` file. The format of extra hosts is specified in the [hosts(5)](http://man7.org/linux/man-pages/man5/hosts.5.html) man page: IP_address canonical_hostname [aliases] | [optional] **dnSConfig** | [**TaskSpecContainerSpecDNSConfig**](TaskSpecContainerSpecDNSConfig.md) | | [optional] -**secrets** | [**kotlin.collections.MutableList<TaskSpecContainerSpecSecrets>**](TaskSpecContainerSpecSecrets.md) | Secrets contains references to zero or more secrets that will be exposed to the service. | [optional] -**configs** | [**kotlin.collections.MutableList<TaskSpecContainerSpecConfigs>**](TaskSpecContainerSpecConfigs.md) | Configs contains references to zero or more configs that will be exposed to the service. | [optional] +**secrets** | [**kotlin.collections.MutableList<TaskSpecContainerSpecSecretsInner>**](TaskSpecContainerSpecSecretsInner.md) | Secrets contains references to zero or more secrets that will be exposed to the service. | [optional] +**configs** | [**kotlin.collections.MutableList<TaskSpecContainerSpecConfigsInner>**](TaskSpecContainerSpecConfigsInner.md) | Configs contains references to zero or more configs that will be exposed to the service. | [optional] **isolation** | [**inline**](#Isolation) | Isolation technology of the containers running the service. (Windows only) | [optional] **`init`** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional] **sysctls** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Set kernel namedspaced parameters (sysctls) in the container. The Sysctls option on services accepts the same sysctls as the are supported on containers. Note that while the same sysctls are supported, no guarantees or checks are made about their suitability for a clustered environment, and it's up to the user to determine whether a given sysctl will work properly in a Service. | [optional] **capabilityAdd** | **kotlin.collections.MutableList<kotlin.String>** | A list of kernel capabilities to add to the default set for the container. | [optional] **capabilityDrop** | **kotlin.collections.MutableList<kotlin.String>** | A list of kernel capabilities to drop from the default set for the container. | [optional] -**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimits>**](ResourcesUlimits.md) | A list of resource limits to set in the container. For example: `{\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048}`\" | [optional] +**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimitsInner>**](ResourcesUlimitsInner.md) | A list of resource limits to set in the container. For example: `{\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048}`\" | [optional] diff --git a/api-model-v1-41/docs/TaskSpecContainerSpecConfigsInner.md b/api-model-v1-41/docs/TaskSpecContainerSpecConfigsInner.md new file mode 100644 index 00000000..ce88a95c --- /dev/null +++ b/api-model-v1-41/docs/TaskSpecContainerSpecConfigsInner.md @@ -0,0 +1,13 @@ + +# TaskSpecContainerSpecConfigsInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**file** | [**TaskSpecContainerSpecConfigsInnerFile**](TaskSpecContainerSpecConfigsInnerFile.md) | | [optional] +**runtime** | [**kotlin.Any**](.md) | Runtime represents a target that is not mounted into the container but is used by the task <p><br /><p> > **Note**: `Configs.File` and `Configs.Runtime` are mutually > exclusive | [optional] +**configID** | **kotlin.String** | ConfigID represents the ID of the specific config that we're referencing. | [optional] +**configName** | **kotlin.String** | ConfigName is the name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID. | [optional] + + + diff --git a/api-model-v1-41/docs/TaskSpecContainerSpecConfigsInnerFile.md b/api-model-v1-41/docs/TaskSpecContainerSpecConfigsInnerFile.md new file mode 100644 index 00000000..7013e04f --- /dev/null +++ b/api-model-v1-41/docs/TaskSpecContainerSpecConfigsInnerFile.md @@ -0,0 +1,13 @@ + +# TaskSpecContainerSpecConfigsInnerFile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **kotlin.String** | Name represents the final filename in the filesystem. | [optional] +**UID** | **kotlin.String** | UID represents the file UID. | [optional] +**GID** | **kotlin.String** | GID represents the file GID. | [optional] +**mode** | **kotlin.Int** | Mode represents the FileMode of the file. | [optional] + + + diff --git a/api-model-v1-41/docs/TaskSpecContainerSpecSecretsInner.md b/api-model-v1-41/docs/TaskSpecContainerSpecSecretsInner.md new file mode 100644 index 00000000..e20b3a06 --- /dev/null +++ b/api-model-v1-41/docs/TaskSpecContainerSpecSecretsInner.md @@ -0,0 +1,12 @@ + +# TaskSpecContainerSpecSecretsInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**file** | [**TaskSpecContainerSpecSecretsInnerFile**](TaskSpecContainerSpecSecretsInnerFile.md) | | [optional] +**secretID** | **kotlin.String** | SecretID represents the ID of the specific secret that we're referencing. | [optional] +**secretName** | **kotlin.String** | SecretName is the name of the secret that this references, but this is just provided for lookup/display purposes. The secret in the reference will be identified by its ID. | [optional] + + + diff --git a/api-model-v1-41/docs/TaskSpecContainerSpecSecretsInnerFile.md b/api-model-v1-41/docs/TaskSpecContainerSpecSecretsInnerFile.md new file mode 100644 index 00000000..af42e3f3 --- /dev/null +++ b/api-model-v1-41/docs/TaskSpecContainerSpecSecretsInnerFile.md @@ -0,0 +1,13 @@ + +# TaskSpecContainerSpecSecretsInnerFile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **kotlin.String** | Name represents the final filename in the filesystem. | [optional] +**UID** | **kotlin.String** | UID represents the file UID. | [optional] +**GID** | **kotlin.String** | GID represents the file GID. | [optional] +**mode** | **kotlin.Int** | Mode represents the FileMode of the file. | [optional] + + + diff --git a/api-model-v1-41/docs/TaskSpecPlacement.md b/api-model-v1-41/docs/TaskSpecPlacement.md index 2839b8c5..8477a6fe 100644 --- a/api-model-v1-41/docs/TaskSpecPlacement.md +++ b/api-model-v1-41/docs/TaskSpecPlacement.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **constraints** | **kotlin.collections.MutableList<kotlin.String>** | An array of constraint expressions to limit the set of nodes where a task can be scheduled. Constraint expressions can either use a _match_ (`==`) or _exclude_ (`!=`) rule. Multiple constraints find nodes that satisfy every expression (AND match). Constraints can match node or Docker Engine labels as follows: node attribute | matches | example ---------------------|--------------------------------|----------------------------------------------- `node.id` | Node ID | `node.id==2ivku8v2gvtg4` `node.hostname` | Node hostname | `node.hostname!=node-2` `node.role` | Node role (`manager`/`worker`) | `node.role==manager` `node.platform.os` | Node operating system | `node.platform.os==windows` `node.platform.arch` | Node architecture | `node.platform.arch==x86_64` `node.labels` | User-defined node labels | `node.labels.security==high` `engine.labels` | Docker Engine's labels | `engine.labels.operatingsystem==ubuntu-14.04` `engine.labels` apply to Docker Engine labels like operating system, drivers, etc. Swarm administrators add `node.labels` for operational purposes by using the [`node update endpoint`](#operation/NodeUpdate). | [optional] -**preferences** | [**kotlin.collections.MutableList<TaskSpecPlacementPreferences>**](TaskSpecPlacementPreferences.md) | Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence. | [optional] +**preferences** | [**kotlin.collections.MutableList<TaskSpecPlacementPreferencesInner>**](TaskSpecPlacementPreferencesInner.md) | Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence. | [optional] **maxReplicas** | **kotlin.Long** | Maximum number of replicas for per node (default value is 0, which is unlimited) | [optional] **platforms** | [**kotlin.collections.MutableList<Platform>**](Platform.md) | Platforms stores all the platforms that the service's image can run on. This field is used in the platform filter for scheduling. If empty, then the platform filter is off, meaning there are no scheduling restrictions. | [optional] diff --git a/api-model-v1-41/docs/TaskSpecPlacementPreferencesInner.md b/api-model-v1-41/docs/TaskSpecPlacementPreferencesInner.md new file mode 100644 index 00000000..a5f6f559 --- /dev/null +++ b/api-model-v1-41/docs/TaskSpecPlacementPreferencesInner.md @@ -0,0 +1,10 @@ + +# TaskSpecPlacementPreferencesInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**spread** | [**TaskSpecPlacementPreferencesInnerSpread**](TaskSpecPlacementPreferencesInnerSpread.md) | | [optional] + + + diff --git a/api-model-v1-41/docs/TaskSpecPlacementPreferencesInnerSpread.md b/api-model-v1-41/docs/TaskSpecPlacementPreferencesInnerSpread.md new file mode 100644 index 00000000..c1d686b6 --- /dev/null +++ b/api-model-v1-41/docs/TaskSpecPlacementPreferencesInnerSpread.md @@ -0,0 +1,10 @@ + +# TaskSpecPlacementPreferencesInnerSpread + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**spreadDescriptor** | **kotlin.String** | label descriptor, such as `engine.labels.az`. | [optional] + + + diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ConfigCreateRequest.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ConfigCreateRequest.kt new file mode 100644 index 00000000..3a5cdd7a --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ConfigCreateRequest.kt @@ -0,0 +1,52 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param name User-defined name of the config. + * @param labels User-defined key/value metadata. + * @param `data` Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) config data. + * @param templating + */ +@JsonClass(generateAdapter = true) +data class ConfigCreateRequest( + + /* User-defined name of the config. */ + @Json(name = "Name") + var name: kotlin.String? = null, + + /* User-defined key/value metadata. */ + @Json(name = "Labels") + var labels: kotlin.collections.MutableMap? = null, + + /* Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) config data. */ + @Json(name = "Data") + var `data`: kotlin.String? = null, + + @Json(name = "Templating") + var templating: Driver? = null + +) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequest.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequest.kt index 498964b6..37675794 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequest.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequest.kt @@ -1,7 +1,7 @@ /** * Docker Engine API * - * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` * * The version of the OpenAPI document: 1.41 * @@ -23,12 +23,8 @@ package de.gesellix.docker.remote.api import com.squareup.moshi.Json import com.squareup.moshi.JsonClass -// Merged from: -// - ContainerConfig (embedded) -// - HostConfig -// - NetworkingConfig /** - * Configuration for a container that is portable between hosts + * * * @param hostname The hostname to use for the container, as a valid RFC 1123 hostname. * @param domainname The domain name to use for the container. @@ -44,7 +40,7 @@ import com.squareup.moshi.JsonClass * @param cmd Command to run specified as a string or an array of strings. * @param healthcheck * @param argsEscaped Command is already escaped (Windows only) - * @param image The name of the image to use when creating the container/ + * @param image The name (or reference) of the image to use when creating the container, or which was used when the container was created. * @param volumes An object mapping mount point paths inside the container to empty objects. * @param workingDir The working directory for commands to run in. * @param entrypoint The entry point for the container as a string or an array of strings. If the array consists of exactly one empty string (`[\"\"]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`). @@ -55,15 +51,17 @@ import com.squareup.moshi.JsonClass * @param stopSignal Signal to stop a container as a string or unsigned integer. * @param stopTimeout Timeout to stop a container in seconds. * @param shell Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell. + * @param hostConfig + * @param networkingConfig */ @JsonClass(generateAdapter = true) data class ContainerCreateRequest( - /* The hostname to use for the container, as a valid RFC 1123 hostname. */ + /* The hostname to use for the container, as a valid RFC 1123 hostname. */ @Json(name = "Hostname") var hostname: kotlin.String? = null, - /* The domain name to use for the container. */ + /* The domain name to use for the container. */ @Json(name = "Domainname") var domainname: kotlin.String? = null, @@ -114,7 +112,7 @@ data class ContainerCreateRequest( @Json(name = "ArgsEscaped") var argsEscaped: kotlin.Boolean? = null, - /* The name of the image to use when creating the container/ */ + /* The name (or reference) of the image to use when creating the container, or which was used when the container was created. */ @Json(name = "Image") var image: kotlin.String? = null, @@ -162,5 +160,6 @@ data class ContainerCreateRequest( var hostConfig: HostConfig? = null, @Json(name = "NetworkingConfig") - var networkingConfig: NetworkingConfig? = null, + var networkingConfig: NetworkingConfig? = null + ) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequestAllOf.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequestAllOf.kt new file mode 100644 index 00000000..1c445a94 --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequestAllOf.kt @@ -0,0 +1,41 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param hostConfig + * @param networkingConfig + */ +@JsonClass(generateAdapter = true) +data class ContainerCreateRequestAllOf( + + @Json(name = "HostConfig") + var hostConfig: HostConfig? = null, + + @Json(name = "NetworkingConfig") + var networkingConfig: NetworkingConfig? = null + +) 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 1599144a..4d4fbd37 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 @@ -1,7 +1,7 @@ /** * Docker Engine API * - * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` * * The version of the OpenAPI document: 1.41 * @@ -23,17 +23,14 @@ package de.gesellix.docker.remote.api import com.squareup.moshi.Json import com.squareup.moshi.JsonClass -// Merged from: -// - Resources (embedded) -// - RestartPolicy /** - * A container's resources (cgroups config, ulimits, etc) + * * * @param cpuShares An integer value representing this container's relative CPU weight versus other containers. * @param memory Memory limit in bytes. * @param cgroupParent Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. * @param blkioWeight Block IO weight (relative weight). - * @param blkioWeightDevice Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` + * @param blkioWeightDevice Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` * @param blkioDeviceReadBps Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` * @param blkioDeviceWriteBps Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` * @param blkioDeviceReadIOps Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` @@ -60,6 +57,7 @@ import com.squareup.moshi.JsonClass * @param cpuPercent The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. * @param ioMaximumIOps Maximum IOps for the container system drive (Windows only) * @param ioMaximumBandwidth Maximum IO in bytes per second for the container system drive (Windows only). + * @param restartPolicy */ @JsonClass(generateAdapter = true) data class ContainerUpdateRequest( @@ -82,7 +80,7 @@ data class ContainerUpdateRequest( /* Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` */ @Json(name = "BlkioWeightDevice") - var blkioWeightDevice: kotlin.collections.MutableList? = null, + var blkioWeightDevice: kotlin.collections.MutableList? = null, /* Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */ @Json(name = "BlkioDeviceReadBps") @@ -170,7 +168,7 @@ data class ContainerUpdateRequest( /* A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` */ @Json(name = "Ulimits") - var ulimits: kotlin.collections.MutableList? = null, + var ulimits: kotlin.collections.MutableList? = null, /* The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. */ @Json(name = "CpuCount") @@ -189,5 +187,6 @@ data class ContainerUpdateRequest( var ioMaximumBandwidth: kotlin.Long? = null, @Json(name = "RestartPolicy") - var restartPolicy: RestartPolicy? = null, + var restartPolicy: RestartPolicy? = null + ) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequestAllOf.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequestAllOf.kt new file mode 100644 index 00000000..967fa4c7 --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequestAllOf.kt @@ -0,0 +1,37 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param restartPolicy + */ +@JsonClass(generateAdapter = true) +data class ContainerUpdateRequestAllOf( + + @Json(name = "RestartPolicy") + var restartPolicy: RestartPolicy? = null + +) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescription.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescription.kt index 1f9574da..1d08d4f4 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescription.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescription.kt @@ -40,6 +40,6 @@ data class EngineDescription( var labels: kotlin.collections.MutableMap? = null, @Json(name = "Plugins") - var plugins: kotlin.collections.MutableList? = null + var plugins: kotlin.collections.MutableList? = null ) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPlugins.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPluginsInner.kt similarity index 98% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPlugins.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPluginsInner.kt index c055faf8..9933e6c8 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPlugins.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPluginsInner.kt @@ -30,7 +30,7 @@ import com.squareup.moshi.JsonClass * @param name */ @JsonClass(generateAdapter = true) -data class EngineDescriptionPlugins( +data class EngineDescriptionPluginsInner( @Json(name = "Type") var type: kotlin.String? = null, diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInner.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInner.kt new file mode 100644 index 00000000..4aa49c82 --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInner.kt @@ -0,0 +1,41 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param namedResourceSpec + * @param discreteResourceSpec + */ +@JsonClass(generateAdapter = true) +data class GenericResourcesInner( + + @Json(name = "NamedResourceSpec") + var namedResourceSpec: GenericResourcesInnerNamedResourceSpec? = null, + + @Json(name = "DiscreteResourceSpec") + var discreteResourceSpec: GenericResourcesInnerDiscreteResourceSpec? = null + +) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerDiscreteResourceSpec.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerDiscreteResourceSpec.kt new file mode 100644 index 00000000..d6b50925 --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerDiscreteResourceSpec.kt @@ -0,0 +1,41 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param kind + * @param `value` + */ +@JsonClass(generateAdapter = true) +data class GenericResourcesInnerDiscreteResourceSpec( + + @Json(name = "Kind") + var kind: kotlin.String? = null, + + @Json(name = "Value") + var `value`: kotlin.Long? = null + +) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerNamedResourceSpec.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerNamedResourceSpec.kt new file mode 100644 index 00000000..fc3095fd --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GenericResourcesInnerNamedResourceSpec.kt @@ -0,0 +1,41 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param kind + * @param `value` + */ +@JsonClass(generateAdapter = true) +data class GenericResourcesInnerNamedResourceSpec( + + @Json(name = "Kind") + var kind: kotlin.String? = null, + + @Json(name = "Value") + var `value`: kotlin.String? = 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 72dfa786..1f835917 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 @@ -117,7 +117,7 @@ data class HostConfig( /* Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` */ @Json(name = "BlkioWeightDevice") - var blkioWeightDevice: kotlin.collections.MutableList? = null, + var blkioWeightDevice: kotlin.collections.MutableList? = null, /* Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */ @Json(name = "BlkioDeviceReadBps") @@ -205,7 +205,7 @@ data class HostConfig( /* A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` */ @Json(name = "Ulimits") - var ulimits: kotlin.collections.MutableList? = null, + var ulimits: kotlin.collections.MutableList? = null, /* The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. */ @Json(name = "CpuCount") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourceObject.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourceObject.kt index ce87395d..57060a19 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourceObject.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourceObject.kt @@ -41,6 +41,6 @@ data class ResourceObject( /* User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). */ @Json(name = "GenericResources") - var genericResources: kotlin.collections.MutableList? = null + var genericResources: 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 2fdaa24f..427fdd12 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 @@ -79,7 +79,7 @@ data class Resources( /* Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` */ @Json(name = "BlkioWeightDevice") - var blkioWeightDevice: kotlin.collections.MutableList? = null, + var blkioWeightDevice: kotlin.collections.MutableList? = null, /* Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */ @Json(name = "BlkioDeviceReadBps") @@ -167,7 +167,7 @@ data class Resources( /* A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` */ @Json(name = "Ulimits") - var ulimits: kotlin.collections.MutableList? = null, + var ulimits: kotlin.collections.MutableList? = null, /* The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. */ @Json(name = "CpuCount") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesBlkioWeightDevice.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesBlkioWeightDeviceInner.kt similarity index 98% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesBlkioWeightDevice.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesBlkioWeightDeviceInner.kt index f5134096..f139ea7c 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesBlkioWeightDevice.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesBlkioWeightDeviceInner.kt @@ -30,7 +30,7 @@ import com.squareup.moshi.JsonClass * @param weight */ @JsonClass(generateAdapter = true) -data class ResourcesBlkioWeightDevice( +data class ResourcesBlkioWeightDeviceInner( @Json(name = "Path") var path: kotlin.String? = null, diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesUlimits.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesUlimitsInner.kt similarity index 98% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesUlimits.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesUlimitsInner.kt index c9b2c7ae..a2107fcd 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesUlimits.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ResourcesUlimitsInner.kt @@ -31,7 +31,7 @@ import com.squareup.moshi.JsonClass * @param hard Hard limit */ @JsonClass(generateAdapter = true) -data class ResourcesUlimits( +data class ResourcesUlimitsInner( /* Name of ulimit */ @Json(name = "Name") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SecretCreateRequest.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SecretCreateRequest.kt new file mode 100644 index 00000000..5bd28844 --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SecretCreateRequest.kt @@ -0,0 +1,56 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param name User-defined name of the secret. + * @param labels User-defined key/value metadata. + * @param `data` Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) data to store as secret. This field is only used to _create_ a secret, and is not returned by other endpoints. + * @param driver + * @param templating + */ +@JsonClass(generateAdapter = true) +data class SecretCreateRequest( + + /* User-defined name of the secret. */ + @Json(name = "Name") + var name: kotlin.String? = null, + + /* User-defined key/value metadata. */ + @Json(name = "Labels") + var labels: kotlin.collections.MutableMap? = null, + + /* Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) data to store as secret. This field is only used to _create_ a secret, and is not returned by other endpoints. */ + @Json(name = "Data") + var `data`: kotlin.String? = null, + + @Json(name = "Driver") + var driver: Driver? = null, + + @Json(name = "Templating") + var templating: Driver? = null + +) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceCreateRequest.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceCreateRequest.kt new file mode 100644 index 00000000..64a63c26 --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceCreateRequest.kt @@ -0,0 +1,68 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param name Name of the service. + * @param labels User-defined key/value metadata. + * @param taskTemplate + * @param mode + * @param updateConfig + * @param rollbackConfig + * @param networks Specifies which networks the service should attach to. + * @param endpointSpec + */ +@JsonClass(generateAdapter = true) +data class ServiceCreateRequest( + + /* Name of the service. */ + @Json(name = "Name") + var name: kotlin.String? = null, + + /* User-defined key/value metadata. */ + @Json(name = "Labels") + var labels: kotlin.collections.MutableMap? = null, + + @Json(name = "TaskTemplate") + var taskTemplate: TaskSpec? = null, + + @Json(name = "Mode") + var mode: ServiceSpecMode? = null, + + @Json(name = "UpdateConfig") + var updateConfig: ServiceSpecUpdateConfig? = null, + + @Json(name = "RollbackConfig") + var rollbackConfig: ServiceSpecRollbackConfig? = null, + + /* Specifies which networks the service should attach to. */ + @Json(name = "Networks") + var networks: kotlin.collections.MutableList? = null, + + @Json(name = "EndpointSpec") + var endpointSpec: EndpointSpec? = null + +) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpoint.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpoint.kt index 3ef08f64..d735bceb 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpoint.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpoint.kt @@ -40,6 +40,6 @@ data class ServiceEndpoint( var ports: kotlin.collections.MutableList? = null, @Json(name = "VirtualIPs") - var virtualIPs: kotlin.collections.MutableList? = null + var virtualIPs: kotlin.collections.MutableList? = null ) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpointVirtualIPs.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpointVirtualIPsInner.kt similarity index 98% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpointVirtualIPs.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpointVirtualIPsInner.kt index 22b56a80..40f3c912 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpointVirtualIPs.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceEndpointVirtualIPsInner.kt @@ -30,7 +30,7 @@ import com.squareup.moshi.JsonClass * @param addr */ @JsonClass(generateAdapter = true) -data class ServiceEndpointVirtualIPs( +data class ServiceEndpointVirtualIPsInner( @Json(name = "NetworkID") var networkID: kotlin.String? = null, diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceUpdateRequest.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceUpdateRequest.kt new file mode 100644 index 00000000..9eb50a06 --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceUpdateRequest.kt @@ -0,0 +1,68 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param name Name of the service. + * @param labels User-defined key/value metadata. + * @param taskTemplate + * @param mode + * @param updateConfig + * @param rollbackConfig + * @param networks Specifies which networks the service should attach to. + * @param endpointSpec + */ +@JsonClass(generateAdapter = true) +data class ServiceUpdateRequest( + + /* Name of the service. */ + @Json(name = "Name") + var name: kotlin.String? = null, + + /* User-defined key/value metadata. */ + @Json(name = "Labels") + var labels: kotlin.collections.MutableMap? = null, + + @Json(name = "TaskTemplate") + var taskTemplate: TaskSpec? = null, + + @Json(name = "Mode") + var mode: ServiceSpecMode? = null, + + @Json(name = "UpdateConfig") + var updateConfig: ServiceSpecUpdateConfig? = null, + + @Json(name = "RollbackConfig") + var rollbackConfig: ServiceSpecRollbackConfig? = null, + + /* Specifies which networks the service should attach to. */ + @Json(name = "Networks") + var networks: kotlin.collections.MutableList? = null, + + @Json(name = "EndpointSpec") + var endpointSpec: EndpointSpec? = null + +) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfig.kt index b7c53705..1c26e351 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfig.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfig.kt @@ -41,7 +41,7 @@ data class SwarmSpecCAConfig( /* Configuration for forwarding signing requests to an external certificate authority. */ @Json(name = "ExternalCAs") - var externalCAs: kotlin.collections.MutableList? = null, + var externalCAs: kotlin.collections.MutableList? = null, /* The desired signing CA certificate for all swarm node TLS leaf certificates, in PEM format. */ @Json(name = "SigningCACert") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfigExternalCAs.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfigExternalCAsInner.kt similarity index 97% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfigExternalCAs.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfigExternalCAsInner.kt index a4e7902c..2a01eee1 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfigExternalCAs.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SwarmSpecCAConfigExternalCAsInner.kt @@ -32,11 +32,11 @@ import com.squareup.moshi.JsonClass * @param caCert The root CA certificate (in PEM format) this external CA uses to issue TLS certificates (assumed to be to the current swarm root CA certificate if not provided). */ @JsonClass(generateAdapter = true) -data class SwarmSpecCAConfigExternalCAs( +data class SwarmSpecCAConfigExternalCAsInner( /* Protocol for communication with the external CA (currently only `cfssl` is supported). */ @Json(name = "Protocol") - var protocol: SwarmSpecCAConfigExternalCAs.Protocol? = Protocol.Cfssl, + var protocol: SwarmSpecCAConfigExternalCAsInner.Protocol? = Protocol.Cfssl, /* URL where certificate signing requests should be sent. */ @Json(name = "URL") 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 62c267c1..b1ed877f 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 @@ -248,7 +248,7 @@ data class SystemInfo( /* User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). */ @Json(name = "GenericResources") - var genericResources: kotlin.collections.MutableList? = null, + var genericResources: kotlin.collections.MutableList? = null, /* HTTP-proxy configured for the daemon. This value is obtained from the [`HTTP_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html) environment variable. Credentials ([user info component](https://tools.ietf.org/html/rfc3986#section-3.2.1)) in the proxy URL are masked in the API response. Containers do not automatically inherit this configuration. */ @Json(name = "HttpProxy") @@ -328,7 +328,7 @@ data class SystemInfo( /* List of custom default address pools for local networks, which can be specified in the daemon.json file or dockerd option. Example: a Base \"10.10.0.0/16\" with Size 24 will define the set of 256 10.10.[0-255].0/24 address pools. */ @Json(name = "DefaultAddressPools") - var defaultAddressPools: kotlin.collections.MutableList? = null, + var defaultAddressPools: kotlin.collections.MutableList? = null, /* List of warnings / informational messages about missing features, or issues related to the daemon configuration. These messages can be printed by the client as information to the user. */ @Json(name = "Warnings") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfoDefaultAddressPools.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfoDefaultAddressPoolsInner.kt similarity index 98% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfoDefaultAddressPools.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfoDefaultAddressPoolsInner.kt index e1841dc5..9def69d8 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfoDefaultAddressPools.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemInfoDefaultAddressPoolsInner.kt @@ -30,7 +30,7 @@ import com.squareup.moshi.JsonClass * @param propertySize The network pool size */ @JsonClass(generateAdapter = true) -data class SystemInfoDefaultAddressPools( +data class SystemInfoDefaultAddressPoolsInner( /* The network address in CIDR format */ @Json(name = "Base") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersion.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersion.kt index ec4b200e..f9830a8e 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersion.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersion.kt @@ -47,7 +47,7 @@ data class SystemVersion( /* Information about system components */ @Json(name = "Components") - var components: kotlin.collections.MutableList? = null, + var components: kotlin.collections.MutableList? = null, /* The version of the daemon */ @Json(name = "Version") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersionComponents.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersionComponentsInner.kt similarity index 98% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersionComponents.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersionComponentsInner.kt index b4bdc6ba..b9798354 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersionComponents.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/SystemVersionComponentsInner.kt @@ -31,7 +31,7 @@ import com.squareup.moshi.JsonClass * @param details Key/value pairs of strings with additional information about the component. These values are intended for informational purposes only, and their content is not defined, and not part of the API specification. These messages can be printed by the client as information to the user. */ @JsonClass(generateAdapter = true) -data class SystemVersionComponents( +data class SystemVersionComponentsInner( /* Name of the component */ @Json(name = "Name") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Task.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Task.kt index b3798d98..4a78e72b 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Task.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Task.kt @@ -81,7 +81,7 @@ data class Task( /* User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). */ @Json(name = "AssignedGenericResources") - var assignedGenericResources: kotlin.collections.MutableList? = null, + var assignedGenericResources: kotlin.collections.MutableList? = null, @Json(name = "Status") var status: TaskStatus? = null, diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpec.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpec.kt index 73fcd608..d405090c 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpec.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpec.kt @@ -132,11 +132,11 @@ data class TaskSpecContainerSpec( /* Secrets contains references to zero or more secrets that will be exposed to the service. */ @Json(name = "Secrets") - var secrets: kotlin.collections.MutableList? = null, + var secrets: kotlin.collections.MutableList? = null, /* Configs contains references to zero or more configs that will be exposed to the service. */ @Json(name = "Configs") - var configs: kotlin.collections.MutableList? = null, + var configs: kotlin.collections.MutableList? = null, /* Isolation technology of the containers running the service. (Windows only) */ @Json(name = "Isolation") @@ -160,7 +160,7 @@ data class TaskSpecContainerSpec( /* A list of resource limits to set in the container. For example: `{\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048}`\" */ @Json(name = "Ulimits") - var ulimits: kotlin.collections.MutableList? = null + var ulimits: kotlin.collections.MutableList? = null ) { diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigs.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigsInner.kt similarity index 97% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigs.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigsInner.kt index 7ac3c91a..9f3081a2 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigs.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigsInner.kt @@ -32,10 +32,10 @@ import com.squareup.moshi.JsonClass * @param configName ConfigName is the name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID. */ @JsonClass(generateAdapter = true) -data class TaskSpecContainerSpecConfigs( +data class TaskSpecContainerSpecConfigsInner( @Json(name = "File") - var file: TaskSpecContainerSpecFile1? = null, + var file: TaskSpecContainerSpecConfigsInnerFile? = null, /* Runtime represents a target that is not mounted into the container but is used by the task


> **Note**: `Configs.File` and `Configs.Runtime` are mutually > exclusive */ @Json(name = "Runtime") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigsInnerFile.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigsInnerFile.kt new file mode 100644 index 00000000..255df888 --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecConfigsInnerFile.kt @@ -0,0 +1,53 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * File represents a specific target that is backed by a file.


> **Note**: `Configs.File` and `Configs.Runtime` are mutually exclusive + * + * @param name Name represents the final filename in the filesystem. + * @param UID UID represents the file UID. + * @param GID GID represents the file GID. + * @param mode Mode represents the FileMode of the file. + */ +@JsonClass(generateAdapter = true) +data class TaskSpecContainerSpecConfigsInnerFile( + + /* Name represents the final filename in the filesystem. */ + @Json(name = "Name") + var name: kotlin.String? = null, + + /* UID represents the file UID. */ + @Json(name = "UID") + var UID: kotlin.String? = null, + + /* GID represents the file GID. */ + @Json(name = "GID") + var GID: kotlin.String? = null, + + /* Mode represents the FileMode of the file. */ + @Json(name = "Mode") + var mode: kotlin.Int? = null + +) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecrets.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecretsInner.kt similarity index 97% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecrets.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecretsInner.kt index bb23dafa..8b6759f5 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecrets.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecretsInner.kt @@ -31,10 +31,10 @@ import com.squareup.moshi.JsonClass * @param secretName SecretName is the name of the secret that this references, but this is just provided for lookup/display purposes. The secret in the reference will be identified by its ID. */ @JsonClass(generateAdapter = true) -data class TaskSpecContainerSpecSecrets( +data class TaskSpecContainerSpecSecretsInner( @Json(name = "File") - var file: TaskSpecContainerSpecFile? = null, + var file: TaskSpecContainerSpecSecretsInnerFile? = null, /* SecretID represents the ID of the specific secret that we're referencing. */ @Json(name = "SecretID") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecretsInnerFile.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecretsInnerFile.kt new file mode 100644 index 00000000..1840f9a6 --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecContainerSpecSecretsInnerFile.kt @@ -0,0 +1,53 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * File represents a specific target that is backed by a file. + * + * @param name Name represents the final filename in the filesystem. + * @param UID UID represents the file UID. + * @param GID GID represents the file GID. + * @param mode Mode represents the FileMode of the file. + */ +@JsonClass(generateAdapter = true) +data class TaskSpecContainerSpecSecretsInnerFile( + + /* Name represents the final filename in the filesystem. */ + @Json(name = "Name") + var name: kotlin.String? = null, + + /* UID represents the file UID. */ + @Json(name = "UID") + var UID: kotlin.String? = null, + + /* GID represents the file GID. */ + @Json(name = "GID") + var GID: kotlin.String? = null, + + /* Mode represents the FileMode of the file. */ + @Json(name = "Mode") + var mode: kotlin.Int? = null + +) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacement.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacement.kt index a2f400a7..66b4d6c5 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacement.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacement.kt @@ -40,7 +40,7 @@ data class TaskSpecPlacement( /* Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence. */ @Json(name = "Preferences") - var preferences: kotlin.collections.MutableList? = null, + var preferences: kotlin.collections.MutableList? = null, /* Maximum number of replicas for per node (default value is 0, which is unlimited) */ @Json(name = "MaxReplicas") diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferences.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferencesInner.kt similarity index 96% rename from api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferences.kt rename to api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferencesInner.kt index 79382dc2..a330f771 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferences.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferencesInner.kt @@ -29,9 +29,9 @@ import com.squareup.moshi.JsonClass * @param spread */ @JsonClass(generateAdapter = true) -data class TaskSpecPlacementPreferences( +data class TaskSpecPlacementPreferencesInner( @Json(name = "Spread") - var spread: TaskSpecPlacementSpread? = null + var spread: TaskSpecPlacementPreferencesInnerSpread? = null ) diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferencesInnerSpread.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferencesInnerSpread.kt new file mode 100644 index 00000000..dd02424a --- /dev/null +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecPlacementPreferencesInnerSpread.kt @@ -0,0 +1,38 @@ +/** + * Docker Engine API + * + * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ``` + * + * The version of the OpenAPI document: 1.41 + * + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package de.gesellix.docker.remote.api + +import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass + +/** + * + * + * @param spreadDescriptor label descriptor, such as `engine.labels.az`. + */ +@JsonClass(generateAdapter = true) +data class TaskSpecPlacementPreferencesInnerSpread( + + /* label descriptor, such as `engine.labels.az`. */ + @Json(name = "SpreadDescriptor") + var spreadDescriptor: kotlin.String? = null + +)