crosscontroller

package
v0.0.0-...-b0bff92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	base.ClientFacade
	// contains filtered or unexported fields
}

Client provides access to the CrossController API facade.

func NewClient

func NewClient(caller base.APICallCloser) *Client

NewClient creates a new client-side CrossModelRelations facade.

func (*Client) ControllerInfo

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

ControllerInfo returns the remote controller's API information.

func (*Client) WatchControllerInfo

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

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

type ControllerInfo

type ControllerInfo struct {
	Addrs  []string
	CACert string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL