mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-19 22:18:40 +00:00
Add vendoring
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
14
vendor/github.com/docker/engine-api/client/plugin_remove.go
generated
vendored
Normal file
14
vendor/github.com/docker/engine-api/client/plugin_remove.go
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// +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
|
||||
}
|
||||
Reference in New Issue
Block a user