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

package crosscontroller

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


Package Files


type Client Uses

type Client struct {
    // contains filtered or unexported fields

Client provides access to the CrossController API facade.

func NewClient Uses

func NewClient(caller base.APICallCloser) *Client

NewClient creates a new client-side CrossModelRelations facade.

func (*Client) ControllerInfo Uses

func (c *Client) ControllerInfo() (*ControllerInfo, error)

ControllerInfo returns the remote controller's API information.

func (*Client) WatchControllerInfo Uses

func (c *Client) WatchControllerInfo() (watcher.NotifyWatcher, error)

WatchControllerInfo returns a watcher that is notified when the remote controller's API information changes.

type ControllerInfo Uses

type ControllerInfo struct {
    Addrs  []string
    CACert string

ControllerInfo contains the information about the controller that will be returned by the ControllerInfo method.

Package crosscontroller imports 6 packages (graph) and is imported by 8 packages. Updated 2018-09-23. Refresh now. Tools for package owners.