Documentation ¶
Index ¶
Constants ¶
View Source
const VersionMimetype = "application/vnd.docker.plugins.v1.2+json"
VersionMimetype is the Content-Type the engine sends to plugins.
For convenience, there is an alias in github.com/docker/docker/pkg/plugins.VersionMimetype.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPTransport ¶
type HTTPTransport struct { http.RoundTripper // contains filtered or unexported fields }
HTTPTransport holds an http.RoundTripper and information about the scheme and address the transport sends request to.
func NewHTTPTransport ¶
func NewHTTPTransport(r http.RoundTripper, scheme, addr string) *HTTPTransport
NewHTTPTransport creates a new HTTPTransport.
func (HTTPTransport) NewRequest ¶
NewRequest creates a new http.Request and sets the URL scheme and address with the transport's fields.
Click to show internal directories.
Click to hide internal directories.