func AptProxyConfigMap(proxySettings proxy.Settings) map[string]interface{} {
	settings := make(map[string]interface{})
	addIfNotEmpty(settings, AptHTTPProxyKey, proxySettings.Http)
	addIfNotEmpty(settings, AptHTTPSProxyKey, proxySettings.Https)
	addIfNotEmpty(settings, AptFTPProxyKey, proxySettings.Ftp)
	addIfNotEmpty(settings, AptNoProxyKey, proxySettings.NoProxy)
	return settings
}
// AptProxyConfigMap returns a map suitable to be applied to a Config to update
// proxy settings.
AptProxyConfigMap returns a map suitable to be applied to a Config to update
proxy settings.
// AptProxyConfigMap returns a map suitable to be applied to a Config to update // proxy settings .
func AptProxyConfigMap(proxySettings proxy.Settings) map[string]interface{} {
	settings := make(map[string]interface{})
	addIfNotEmpty(settings, AptHTTPProxyKey, proxySettings.Http)
	addIfNotEmpty(settings, AptHTTPSProxyKey, proxySettings.Https)
	addIfNotEmpty(settings, AptFTPProxyKey, proxySettings.Ftp)
	addIfNotEmpty(settings, AptNoProxyKey, proxySettings.NoProxy)
	return settings
}
func AptProxyConfigMap ( proxySettings proxy . Settings ) map [ string ] interface { } { settings := make ( map [ string ] interface { } ) addIfNotEmpty ( settings , AptHTTPProxyKey , proxySettings . Http ) addIfNotEmpty ( settings , AptHTTPSProxyKey , proxySettings . Https ) addIfNotEmpty ( settings , AptFTPProxyKey , proxySettings . Ftp ) addIfNotEmpty ( settings , AptNoProxyKey , proxySettings . NoProxy ) return settings }
AptProxyConfigMap returns a map suitable to be applied to a Config to update
proxy settings.
AptProxyConfigMap returns a map suitable to be applied to a Config to update proxy settings .