Skip to content

client: separate exec methods to ExecAPIClient interface#50997

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:split_exec_interface
Sep 18, 2025
Merged

client: separate exec methods to ExecAPIClient interface#50997
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:split_exec_interface

Conversation

@thaJeztah
Copy link
Member

- Human readable description for the release notes

client: add `ExecAPIClient` interface for exec methods provided by the client.

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 29.0.0 milestone Sep 17, 2025
@thaJeztah thaJeztah marked this pull request as ready for review September 17, 2025 13:14
Copy link
Member

@akerouanton akerouanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

ContainerExecInspect(ctx context.Context, execID string) (ExecInspect, error)
ContainerExecResize(ctx context.Context, execID string, options ContainerResizeOptions) error
ContainerExecStart(ctx context.Context, execID string, options ExecStartOptions) error
ExecAPIClient
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, also considering removing this here to fully separate them, but I'd have to look at the impact for that, so this PR is just making preparations for some of that.

@thaJeztah thaJeztah merged commit 6441995 into moby:master Sep 18, 2025
263 of 264 checks passed
@thaJeztah thaJeztah deleted the split_exec_interface branch September 18, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants