update local code for updated modules

Some tests had to be skipped as there's some issues to address, and
some of the result-types cannot be mocked / stubbed.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-10-22 17:05:31 +02:00
parent aeb78091a0
commit 4f7c07cfc2
190 changed files with 3020 additions and 2585 deletions

View File

@ -32,14 +32,14 @@ func completeNames(dockerCLI completion.APIClientProvider, state pluginState) co
// no filter
}
list, err := dockerCLI.Client().PluginList(cmd.Context(), client.PluginListOptions{
res, err := dockerCLI.Client().PluginList(cmd.Context(), client.PluginListOptions{
Filters: f,
})
if err != nil {
return nil, cobra.ShellCompDirectiveError
}
var names []string
for _, v := range list {
for _, v := range res.Items {
names = append(names, v.Name)
}
return names, cobra.ShellCompDirectiveNoFileComp