Documentation ¶ Index ¶ Variables type TLSClient func NewTLSClient(endpoint string, dockerCertPath string) (*TLSClient, error) 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") ) Functions ¶ This section is empty. Types ¶ type TLSClient ¶ type TLSClient struct { *client.Client } func NewTLSClient ¶ func NewTLSClient(endpoint string, dockerCertPath string) (*TLSClient, error) NewTLSClient returns a Client instance ready for TLS communications with the givens server endpoint, key and certificates, using a specific remote API version. Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.