github.com/endophage/docker@v1.4.2-0.20161027011718-242853499895/client/plugin_set.go (about) 1 package client 2 3 import ( 4 "golang.org/x/net/context" 5 ) 6 7 // PluginSet modifies settings for an existing plugin 8 func (cli *Client) PluginSet(ctx context.Context, name string, args []string) error { 9 resp, err := cli.post(ctx, "/plugins/"+name+"/set", nil, args, nil) 10 ensureReaderClosed(resp) 11 return err 12 }