juju: github.com/juju/juju/api/proxyupdater Index | Files

package proxyupdater

import "github.com/juju/juju/api/proxyupdater"


Package Files


type API Uses

type API struct {
    // contains filtered or unexported fields

API provides access to the ProxyUpdater API facade.

func NewAPI Uses

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

NewAPI returns a new api client facade instance.

func (*API) ProxyConfig Uses

func (api *API) ProxyConfig() (ProxyConfiguration, error)

ProxyConfig returns the proxy settings for the current model.

func (*API) WatchForProxyConfigAndAPIHostPortChanges Uses

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

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

type ProxyConfiguration Uses

type ProxyConfiguration struct {
    LegacyProxy proxy.Settings
    JujuProxy   proxy.Settings
    APTProxy    proxy.Settings
    SnapProxy   proxy.Settings

    SnapStoreProxyId         string
    SnapStoreProxyAssertions string
    SnapStoreProxyURL        string

ProxyConfiguration contains the various proxy values for the model.

Package proxyupdater imports 8 packages (graph) and is imported by 27 packages. Updated 2020-05-12. Refresh now. Tools for package owners.