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

package externalcontrollerupdater

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


Package Files



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). Updated 2020-05-01. Refresh now. Tools for package owners.