import "github.com/docker/docker/pkg/plugins/transport"
const VersionMimetype = "application/vnd.docker.plugins.v1.2+json"
VersionMimetype is the Content-Type the engine sends to plugins.
RequestFactory defines an interface that transports can implement to create new requests.
type Transport interface { http.RoundTripper RequestFactory }
Transport defines an interface that plugin transports must implement.
func NewHTTPTransport(r http.RoundTripper, scheme, addr string) Transport
NewHTTPTransport creates a new httpTransport.
Package transport imports 3 packages (graph) and is imported by 185 packages. Updated 2020-03-02. Refresh now. Tools for package owners.