Call plugins with custom transports.
Small refactor to be able to use custom transports to call remote plugins. Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
parent
98943aafae
commit
44005e59d4
5 changed files with 123 additions and 23 deletions
|
@ -18,10 +18,11 @@ import (
|
|||
"testing"
|
||||
|
||||
"bytes"
|
||||
"strings"
|
||||
|
||||
"github.com/docker/docker/pkg/plugins"
|
||||
"github.com/docker/go-connections/tlsconfig"
|
||||
"github.com/gorilla/mux"
|
||||
"strings"
|
||||
)
|
||||
|
||||
const pluginAddress = "authzplugin.sock"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue