Skip to content

client: Client.PluginList: add options-struct#51207

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:plugin_structs
Oct 17, 2025
Merged

client: Client.PluginList: add options-struct#51207
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:plugin_structs

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Oct 16, 2025

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

client: Client.PluginList: add options-struct

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

@thaJeztah thaJeztah added this to the 29.0.0 milestone Oct 16, 2025
@thaJeztah thaJeztah added status/2-code-review area/plugins kind/refactor PR's that refactor, or clean-up code release-blocker PRs we want to block a release on module/client labels Oct 16, 2025
@thaJeztah thaJeztah added impact/changelog area/go-sdk impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Oct 16, 2025
Comment on lines -12 to +17
func (cli *Client) PluginList(ctx context.Context, filter Filters) (plugin.ListResponse, error) {
func (cli *Client) PluginList(ctx context.Context, opts PluginListOptions) (plugin.ListResponse, error) {
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; I did not yet change the return type here, so this one (and probably other list methods) will still need to go through one iteration once we have a good shape for those.

(This one was mostly to get the Filters out of the function signature itself)

@thaJeztah thaJeztah merged commit 5856ec5 into moby:master Oct 17, 2025
210 of 211 checks passed
@thaJeztah thaJeztah deleted the plugin_structs branch October 17, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependencies area/go-sdk area/plugins impact/changelog impact/go-sdk Noteworthy (compatibility changes) in the Go SDK kind/refactor PR's that refactor, or clean-up code module/client release-blocker PRs we want to block a release on status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants