mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add an IDResponse type
Generated from a swagger spec and use it for container exec response Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
bad849fc82
commit
01883c136d
8 changed files with 31 additions and 26 deletions
|
|
@ -37,7 +37,7 @@ type ContainerAPIClient interface {
|
|||
ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, containerName string) (container.ContainerCreateCreatedBody, error)
|
||||
ContainerDiff(ctx context.Context, container string) ([]types.ContainerChange, error)
|
||||
ContainerExecAttach(ctx context.Context, execID string, config types.ExecConfig) (types.HijackedResponse, error)
|
||||
ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.ContainerExecCreateResponse, error)
|
||||
ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error)
|
||||
ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
|
||||
ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
|
||||
ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue