summaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/docker/api/swagger.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/docker/docker/api/swagger.yaml')
-rw-r--r--vendor/github.com/docker/docker/api/swagger.yaml32
1 files changed, 28 insertions, 4 deletions
diff --git a/vendor/github.com/docker/docker/api/swagger.yaml b/vendor/github.com/docker/docker/api/swagger.yaml
index cc2451f03..0698bba52 100644
--- a/vendor/github.com/docker/docker/api/swagger.yaml
+++ b/vendor/github.com/docker/docker/api/swagger.yaml
@@ -3369,6 +3369,27 @@ definitions:
format: "dateTime"
Message:
type: "string"
+ ServiceStatus:
+ description: |
+ The status of the service's tasks. Provided only when requested as
+ part of a ServiceList operation.
+ type: "object"
+ properties:
+ RunningTasks:
+ description: "The number of tasks for the service currently in the Running state"
+ type: "integer"
+ format: "uint64"
+ example: 7
+ DesiredTasks:
+ description: |
+ The number of tasks for the service desired to be running.
+ For replicated services, this is the replica count from the
+ service spec. For global services, this is computed by taking
+ count of all tasks for the service with a Desired State other
+ than Shutdown.
+ type: "integer"
+ format: "uint64"
+ example: 10
example:
ID: "9mnpnzenvg8p8tdbtq4wvbkcz"
Version:
@@ -4924,6 +4945,8 @@ paths:
type: "integer"
Driver:
type: "string"
+ Platform:
+ type: "string"
MountLabel:
type: "string"
ProcessLabel:
@@ -9316,6 +9339,10 @@ paths:
- `label=<service label>`
- `mode=["replicated"|"global"]`
- `name=<service name>`
+ - name: "status"
+ in: "query"
+ type: "boolean"
+ description: "Include service status, with count of running and desired tasks"
tags: ["Service"]
/services/create:
post:
@@ -10414,9 +10441,6 @@ paths:
description: |
Start a new interactive session with a server. Session allows server to call back to the client for advanced capabilities.
- > **Note**: This endpoint is *experimental* and only available if the daemon is started with experimental
- > features enabled. The specifications for this endpoint may still change in a future version of the API.
-
### Hijacking
This endpoint hijacks the HTTP connection to HTTP2 transport that allows the client to expose gPRC services on that connection.
@@ -10450,4 +10474,4 @@ paths:
description: "server error"
schema:
$ref: "#/definitions/ErrorResponse"
- tags: ["Session (experimental)"]
+ tags: ["Session"]