Merge pull request #18830 from calavera/tls_verify_godoc
Add godoc comment about client tls verification.
This commit is contained in:
commit
1a8e8f2967
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ type Client struct {
|
|||
// Use DOCKER_HOST to set the url to the docker server.
|
||||
// Use DOCKER_API_VERSION to set the version of the API to reach, leave empty for latest.
|
||||
// Use DOCKER_CERT_PATH to load the tls certificates from.
|
||||
// Use DOCKER_TLS_VERIFY to enable or disable TLS verification, off by default.
|
||||
func NewEnvClient() (*Client, error) {
|
||||
var transport *http.Transport
|
||||
if dockerCertPath := os.Getenv("DOCKER_CERT_PATH"); dockerCertPath != "" {
|
||||
|
|
Loading…
Reference in a new issue