Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ProxyDirectory is the directory containing the proxy file that contains // the environment settings for the proxies based on the environment // config values. ProxyDirectory = "/home/ubuntu" // ProxyFile is the name of the file to be stored in the ProxyDirectory. ProxyFile = ".juju-proxy" // Started is a function that is called when the worker has started. Started = func() {} )
View Source
var New = func(api *environment.Facade, writeSystemFiles bool) worker.Worker { logger.Debugf("write system files: %v", writeSystemFiles) envWorker := &proxyWorker{ api: api, writeSystemFiles: writeSystemFiles, first: true, } return worker.NewNotifyWorker(envWorker) }
New returns a worker.Worker that updates proxy environment variables for the process; and, if writeSystemFiles is true, for the whole machine.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.