proxyupdater

package
v0.0.0-...-2608902 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2016 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API provides access to the ProxyUpdater API facade.

func NewAPI

func NewAPI(caller base.APICaller, tag names.Tag) (*API, error)

NewAPI returns a new api client facade instance.

func (*API) ProxyConfig

func (api *API) ProxyConfig() (proxySettings, APTProxySettings proxy.Settings, err error)

ProxyConfig returns the proxy settings for the current environment

func (*API) WatchForProxyConfigAndAPIHostPortChanges

func (api *API) WatchForProxyConfigAndAPIHostPortChanges() (watcher.NotifyWatcher, error)

WatchForProxyConfigAndAPIHostPortChanges returns a NotifyWatcher waiting for changes in the proxy configuration or API host ports

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL