go-plugins-helpers
go-plugins-helpers copied to clipboard
Go helper packages to extend the Docker Engine
Hello. I fixed an example using TCP sockets. It seems that `ServeTCP` interface was changed.
Hello~ How can I use authorization.Request's User attribute to certify users? I mean when and where can I set its value?
An idiomatic go function returns `value, nil` or `nil, error` on error. The current implementation requires that on error the implementer of a driver returns an empty response struct and...
in the readme, the sample code is ``` h.ServeUnix("root", "test_volume") ``` but the ServeUnix takes int as the second parameter now? https://github.com/docker/go-plugins-helpers/blob/master/sdk/handler.go
This patch refactors the plugin handlers so they implement http.Handler, and exposes the individual initMux methods as public methods. This allows an advanced user to combine multiple drivers and plugin...
Hi I am getting the following error. github.com/docker/go-plugins-helpers/sdk/unix_listener.go:20: cannot use gid (type int) as type string in argument to sockets.NewUnixSocket That is due to the fact that I stick to...
It appears like when we create plugin sockets the group must be either `root` or `docker`. Root worked fine for me for a while until I tried my plugin on...
Fixes #36
A new update API is being added to docker volume plugin per PR https://github.com/docker/docker/pull/30109. Add this to the API in the plugin helpers.
It is useful to be able to serve multiple APIs, e.g. network and ipam, on a single socket. This is something that is anticipated in the plugin architecture / protocol...