|
@@ -5,15 +5,16 @@ package main
|
|
import (
|
|
import (
|
|
"encoding/json"
|
|
"encoding/json"
|
|
"fmt"
|
|
"fmt"
|
|
- "github.com/docker/docker/pkg/authorization"
|
|
|
|
- "github.com/docker/docker/pkg/integration/checker"
|
|
|
|
- "github.com/docker/docker/pkg/plugins"
|
|
|
|
- "github.com/go-check/check"
|
|
|
|
"io/ioutil"
|
|
"io/ioutil"
|
|
"net/http"
|
|
"net/http"
|
|
"net/http/httptest"
|
|
"net/http/httptest"
|
|
"os"
|
|
"os"
|
|
"strings"
|
|
"strings"
|
|
|
|
+
|
|
|
|
+ "github.com/docker/docker/pkg/authorization"
|
|
|
|
+ "github.com/docker/docker/pkg/integration/checker"
|
|
|
|
+ "github.com/docker/docker/pkg/plugins"
|
|
|
|
+ "github.com/go-check/check"
|
|
)
|
|
)
|
|
|
|
|
|
const testAuthZPlugin = "authzplugin"
|
|
const testAuthZPlugin = "authzplugin"
|