Documentation ¶
Index ¶
Constants ¶
View Source
const VersionMimetype = "application/vnd.docker.plugins.v1.2+json"
VersionMimetype is the Content-Type the engine sends to plugins.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestFactory ¶
RequestFactory defines an interface that transports can implement to create new requests.
type Transport ¶
type Transport interface { http.RoundTripper RequestFactory }
Transport defines an interface that plugin transports must implement.
func NewHTTPTransport ¶
func NewHTTPTransport(r http.RoundTripper, scheme, addr string) Transport
NewHTTPTransport creates a new httpTransport.
Click to show internal directories.
Click to hide internal directories.