mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00

This reverts commit b195b80ddf47e4f7391bae7350aecbb19ac5998d. Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
13 lines
332 B
Go
13 lines
332 B
Go
package client // import "github.com/docker/docker/client"
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// PluginSet modifies settings for an existing plugin
|
|
func (cli *Client) PluginSet(ctx context.Context, name string, args []string) error {
|
|
resp, err := cli.post(ctx, "/plugins/"+name+"/set", nil, args, nil)
|
|
ensureReaderClosed(resp)
|
|
return err
|
|
}
|