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

package externalcontrollerupdater

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

Index

Package Files

externalcontrollerupdater.go

Constants

const Facade = "ExternalControllerUpdater"

type Client Uses

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

Client provides access to the ExternalControllerUpdater API facade.

func New Uses

func New(caller base.APICaller) *Client

New creates a new client-side ExternalControllerUpdater facade.

func (*Client) ExternalControllerInfo Uses

func (c *Client) ExternalControllerInfo(controllerUUID string) (*crossmodel.ControllerInfo, error)

ExternalControllerInfo returns the info for the external controller with the specified UUID.

func (*Client) SetExternalControllerInfo Uses

func (c *Client) SetExternalControllerInfo(info crossmodel.ControllerInfo) error

SetExternalControllerInfo saves the given controller info.

func (*Client) WatchExternalControllers Uses

func (c *Client) WatchExternalControllers() (watcher.StringsWatcher, error)

WatchExternalControllers watches for the addition and removal of external controllers.

Package externalcontrollerupdater imports 7 packages (graph) and is imported by 3 packages. Updated 2019-08-25. Refresh now. Tools for package owners.