github.com/afxcn/moby@v1.13.1/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  }