Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WithTracer = base.WithTracer
WithTracer returns an Option that configures the Client to use the supplied tracer.
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 (*API) ProxyConfig ¶
func (api *API) ProxyConfig(ctx context.Context) (ProxyConfiguration, error)
ProxyConfig returns the proxy settings for the current model.
func (*API) WatchForProxyConfigAndAPIHostPortChanges ¶
func (api *API) WatchForProxyConfigAndAPIHostPortChanges(ctx context.Context) (watcher.NotifyWatcher, error)
WatchForProxyConfigAndAPIHostPortChanges returns a NotifyWatcher waiting for changes in the proxy configuration or API host ports
type ProxyConfiguration ¶
type ProxyConfiguration struct { LegacyProxy proxy.Settings JujuProxy proxy.Settings APTProxy proxy.Settings SnapProxy proxy.Settings AptMirror string SnapStoreProxyId string SnapStoreProxyAssertions string SnapStoreProxyURL string }
ProxyConfiguration contains the various proxy values for the model.
Click to show internal directories.
Click to hide internal directories.