Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: execConfig remove omitemtpy #1619

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion apis/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2929,50 +2929,67 @@ definitions:
ContainerExecInspect:
type: "object"
description: holds information about a running process started.
required: [ID, Running, ExitCode, ProcessConfig, OpenStdin, OpenStderr, OpenStdout, CanRemove, ContainerID, DetachKeys]
properties:
ID:
x-nullable: false
type: "string"
description: "The ID of this exec"
Running:
x-nullable: false
type: "boolean"
ExitCode:
x-nullable: false
type: "integer"
description: "The last exit code of this container"
ProcessConfig:
x-nullable: false
$ref: "#/definitions/ProcessConfig"
OpenStdin:
x-nullable: false
type: "boolean"
OpenStderr:
x-nullable: false
type: "boolean"
OpenStdout:
x-nullable: false
type: "boolean"
CanRemove:
x-nullable: false
type: "boolean"
ContainerID:
x-nullable: false
type: "string"
description: "The ID of this container"
DetachKeys:
x-nullable: false
type: "string"

ProcessConfig:
type: "object"
description: ExecProcessConfig holds information about the exec process.
required: [privileged, user, tty, entrypoint, arguments]
properties:
privileged:
x-nullable: false
type: "boolean"
user:
x-nullable: false
type: "string"
tty:
x-nullable: false
type: "boolean"
entrypoint:
x-nullable: false
type: "string"
arguments:
x-nullable: false
type: "array"
items:
type: "string"

ContainerJSON:
description: |
description: |
ContainerJSON contains response of Engine API:
GET "/containers/{id}/json"
type: "object"
Expand Down
161 changes: 149 additions & 12 deletions apis/types/container_exec_inspect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 68 additions & 6 deletions apis/types/process_config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading