github.com/LazyboyChen7/engine@v17.12.1-ce-rc2+incompatible/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 }