docker: Index | Files

package transport

import ""


Package Files

http.go transport.go


const VersionMimetype = "application/vnd.docker.plugins.v1.2+json"

VersionMimetype is the Content-Type the engine sends to plugins.

type RequestFactory Uses

type RequestFactory interface {
    NewRequest(path string, data io.Reader) (*http.Request, error)

RequestFactory defines an interface that transports can implement to create new requests.

type Transport Uses

type Transport interface {

Transport defines an interface that plugin transports must implement.

func NewHTTPTransport Uses

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.