1
0
mirror of https://github.com/containers/skopeo.git synced 2025-05-01 20:53:39 +00:00
skopeo/vendor/github.com/docker/engine-api/client/plugin_remove.go
Antonio Murdaca 69e08d78ad
Pull in schema1 and docker-daemon
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-10-21 16:48:39 +02:00

15 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
}