Skip to content

Move logdriver interface#50554

Merged
thaJeztah merged 6 commits intomoby:masterfrom
dmcgowan:move-logdriver-interface
Jul 29, 2025
Merged

Move logdriver interface#50554
thaJeztah merged 6 commits intomoby:masterfrom
dmcgowan:move-logdriver-interface

Conversation

@dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Jul 29, 2025

The logdriver is not a part of the HTTP API and does not belong in the API module. The package should likely end up in an external repo to support as part of a plugin sdk, keep it as internal until then.

Includes #50553 to tidy up go modules

Go-SDK: remove deprecated `types/plugins/logdriver` and `types/swarm/runtime` packages; plugin-runtime spec is now exposed as `types/swarm.RuntimeSpec` and `types/swarm.RuntimePrivilege`

dmcgowan added 6 commits July 28, 2025 17:27
Signed-off-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Derek McGowan <derek@mcg.dev>
The logdriver package should be moved to another external repository for
building plugins. While transitioning, move to internal package using
the same structure.

Signed-off-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Derek McGowan <derek@mcg.dev>
Remove transitive gogo dependency

Signed-off-by: Derek McGowan <derek@mcg.dev>
@dmcgowan dmcgowan force-pushed the move-logdriver-interface branch from af5914b to 1dc53e8 Compare July 29, 2025 06:05
Copy link
Contributor

@vvoland vvoland left a comment

Choose a reason for hiding this comment

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

LGTM

@vvoland vvoland added area/api API kind/refactor PR's that refactor, or clean-up code labels Jul 29, 2025
@vvoland vvoland added this to the 29.0.0 milestone Jul 29, 2025
@vvoland vvoland added impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK area/go-sdk and removed area/api API labels Jul 29, 2025
@thaJeztah
Copy link
Member

Test failure is unrelated;

=== Failed
=== FAIL: github.com/docker/docker/integration/container TestContainerRestartWithCancelledRequest (77.67s)
    restart_test.go:278: timeout waiting for restart event

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/go-sdk impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK kind/refactor PR's that refactor, or clean-up code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API: types/plugins/logdriver must be removed from API module

3 participants