Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidEndpoint is returned when the endpoint is not a valid URL. ErrInvalidEndpoint = errors.New("invalid endpoint") // ErrConnectionRefused is returned when the client cannot connect to the given endpoint. ErrConnectionRefused = errors.New("cannot connect to Docker endpoint") )
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.3.16
type Client struct { Dialer Dialer TLSConfig *tls.Config HTTPClient *http.Client // contains filtered or unexported fields }
func NewTLSClient ¶
NewTLSClient returns a Client instance ready for TLS communications with the givens server endpoint, key and certificates, using a specific remote API version. TODO: 🚧 Under construction...
Click to show internal directories.
Click to hide internal directories.