traefik/integration/vendor/github.com/docker/engine-api/client/plugin_remove.go
2017-03-09 13:13:03 +01:00

14 lines
285 B
Go

// +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
}