func ProxyConfigMap(proxySettings proxy.Settings) map[string]interface{} {
	settings := make(map[string]interface{})
	addIfNotEmpty(settings, HTTPProxyKey, proxySettings.Http)
	addIfNotEmpty(settings, HTTPSProxyKey, proxySettings.Https)
	addIfNotEmpty(settings, FTPProxyKey, proxySettings.Ftp)
	addIfNotEmpty(settings, NoProxyKey, proxySettings.NoProxy)
	return settings
}
// ProxyConfigMap returns a map suitable to be applied to a Config to update
// proxy settings.
ProxyConfigMap returns a map suitable to be applied to a Config to update
proxy settings.
// ProxyConfigMap returns a map suitable to be applied to a Config to update // proxy settings .
func ProxyConfigMap(proxySettings proxy.Settings) map[string]interface{} {
	settings := make(map[string]interface{})
	addIfNotEmpty(settings, HTTPProxyKey, proxySettings.Http)
	addIfNotEmpty(settings, HTTPSProxyKey, proxySettings.Https)
	addIfNotEmpty(settings, FTPProxyKey, proxySettings.Ftp)
	addIfNotEmpty(settings, NoProxyKey, proxySettings.NoProxy)
	return settings
}
func ProxyConfigMap ( proxySettings proxy . Settings ) map [ string ] interface { } { settings := make ( map [ string ] interface { } ) addIfNotEmpty ( settings , HTTPProxyKey , proxySettings . Http ) addIfNotEmpty ( settings , HTTPSProxyKey , proxySettings . Https ) addIfNotEmpty ( settings , FTPProxyKey , proxySettings . Ftp ) addIfNotEmpty ( settings , NoProxyKey , proxySettings . NoProxy ) return settings }
ProxyConfigMap returns a map suitable to be applied to a Config to update
proxy settings.
ProxyConfigMap returns a map suitable to be applied to a Config to update proxy settings .