Skip to content

Conversation

@cpuguy83
Copy link
Member

The use of Client() on v2 plugins is being deprecated so that we can be more flexible on the protocol used for plugins.

This means checking specifically if the plugin implements the Client() *plugins.Client interface for V1 plugins, and for v2 plugins building a the client manually.

@selansen
Copy link
Contributor

CircleCI Failed
go build -tags experimental -o "bin/dnet" ./cmd/dnet

github.com/docker/libnetwork/vendor/github.com/docker/docker/pkg/parsers/kernel

vendor/github.com/docker/docker/pkg/parsers/kernel/kernel_unix.go:21:28: cannot convert uts.Release[:bytes.IndexByte(uts.Release[:], 0)] (type []int8) to type string
vendor/github.com/docker/docker/pkg/parsers/kernel/kernel_unix.go:21:69: cannot use uts.Release[:] (type []int8) as type []byte in argument to bytes.IndexByte
Makefile:27: recipe for target 'build-local' failed

@cpuguy83 cpuguy83 force-pushed the use_plugin_addr branch 6 times, most recently from d26bdce to 8d30437 Compare May 31, 2018 23:15
cpuguy83 added 4 commits May 31, 2018 19:39
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Most of the libcontainer imports was just for a single test to marshal a
simple type, meanwhile this caused all kinds of transient imports that
are not really needed.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
The use of `Client()` on v2 plugins is being deprecated so that we can
be more flexible on the protocol used for plugins.

This means checking specifically if the plugin implements the
`Client() *plugins.Client` interface for V1 plugins, and for v2 plugins
building a the client manually.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@fcrisciani
Copy link

@selansen can you carry this one over?

@selansen
Copy link
Contributor

selansen commented Jun 18, 2018 via email

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 closed this Jun 28, 2018
@cpuguy83 cpuguy83 deleted the use_plugin_addr branch June 28, 2018 17:08
@cpuguy83
Copy link
Member Author

This was replaced by #2199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants