MCPcopy Index your code
hub / github.com/docker/docker-py / configure_client

Method configure_client

docker/tls.py:57–67  ·  view source on GitHub ↗

Configure a client with these TLS options.

(self, client)

Source from the content-addressed store, hash-verified

55 )
56
57 def configure_client(self, client):
58 """
59 Configure a client with these TLS options.
60 """
61 if self.verify and self.ca_cert:
62 client.verify = self.ca_cert
63 else:
64 client.verify = self.verify
65
66 if self.cert:
67 client.cert = self.cert

Callers 1

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected