traefik/vendor/github.com/docker/engine-api/client/plugin_remove.go

15 lines
285 B
Go
Raw Normal View History

2017-02-07 21:33:23 +00:00
// +build experimental
package client
import (
"golang.org/x/net/context"
)
// PluginRemove removes a plugin
func (cli *Client) PluginRemove(ctx context.Context, name string) error {
resp, err := cli.delete(ctx, "/plugins/"+name, nil, nil)
ensureReaderClosed(resp)
return err
}