Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGetProxyValue ¶
DefaultGetProxyValue default implementation which only pulls from the current environment variables
func GetProxyValues ¶
func GetProxyValues() []string
GetProxyValues returns a set of environment variable for a Bash shell command
func SetGetProxyValueFunc ¶
func SetGetProxyValueFunc(f GetProxyValueFunc)
SetGetProxyValueFunc save the function used to return a string value for a Proxy based on the string prefix passed
func SetHTTPSProxy ¶
func SetHTTPSProxy(addr string)
SetHTTPSProxy defines the HTTPS_PROXY env var value for all the cmd executions
func SetPreProxyFunc ¶
func SetPreProxyFunc(f func())
SetPreProxyFunc save the function used to run before processing proxies This is currently used by Gnome UI to copy Network Proxy from install user
Types ¶
type GetProxyValueFunc ¶
GetProxyValueFunc is the type of the GetProxyValue function
Click to show internal directories.
Click to hide internal directories.