mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-04 19:12:17 +00:00
vendor new client and api
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
12
vendor/github.com/docker/docker/client/plugin_set.go
generated
vendored
Normal file
12
vendor/github.com/docker/docker/client/plugin_set.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"golang.org/x/net/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
|
||||
}
|
||||
Reference in New Issue
Block a user