class documentation

class ProxyConfig(dict): (source)

View In Hierarchy

Hold the client's proxy configuration

Static Method from_dict Instantiate a new ProxyConfig from a dictionary that represents a client configuration, as described in `the documentation`_.
Method __str__ Undocumented
Method get_environment Return a dictionary representing the environment variables used to set the proxy settings.
Method inject_proxy_environment Given a list of strings representing environment variables, prepend the environment variables corresponding to the proxy settings.
Property ftp Undocumented
Property http Undocumented
Property https Undocumented
Property no_proxy Undocumented
@staticmethod
def from_dict(config): (source)

Instantiate a new ProxyConfig from a dictionary that represents a client configuration, as described in `the documentation`_. .. _the documentation: https://docs.docker.com/network/proxy/#configure-the-docker-client

def __str__(self): (source)

Undocumented

def get_environment(self): (source)

Return a dictionary representing the environment variables used to set the proxy settings.

def inject_proxy_environment(self, environment): (source)

Given a list of strings representing environment variables, prepend the environment variables corresponding to the proxy settings.

Undocumented

Undocumented

Undocumented

Undocumented