diff options
author | Anusha Ragunathan <anusha@docker.com> | 2016-10-04 12:01:19 -0700 |
---|---|---|
committer | Anusha Ragunathan <anusha@docker.com> | 2016-11-09 15:23:03 -0800 |
commit | 5b6e1bc9e551ba56b44c3f409fd5d48f8a54ce1d (patch) | |
tree | 958a581f155a4692c56d1fa5a23d96b71b0837d9 /client/interface_experimental.go | |
parent | a70b1d74a040e2c17bba1fe553ccbd293a64703a (diff) | |
download | docker-5b6e1bc9e551ba56b44c3f409fd5d48f8a54ce1d.tar.gz |
Add plugin create functionality.
Signed-off-by: Anusha Ragunathan <anusha@docker.com>
Diffstat (limited to 'client/interface_experimental.go')
-rw-r--r-- | client/interface_experimental.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/interface_experimental.go b/client/interface_experimental.go index 4f5cf853b8..709b5d8ffb 100644 --- a/client/interface_experimental.go +++ b/client/interface_experimental.go @@ -1,6 +1,8 @@ package client import ( + "io" + "github.com/docker/docker/api/types" "golang.org/x/net/context" ) @@ -27,4 +29,5 @@ type PluginAPIClient interface { PluginPush(ctx context.Context, name string, registryAuth string) error PluginSet(ctx context.Context, name string, args []string) error PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error) + PluginCreate(ctx context.Context, createContext io.Reader, options types.PluginCreateOptions) error } |