externalcontrollerupdater

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Facade = "ExternalControllerUpdater"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client provides access to the ExternalControllerUpdater API facade.

func New

func New(caller base.APICaller) *Client

New creates a new client-side ExternalControllerUpdater facade.

func (*Client) ExternalControllerInfo

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

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

func (*Client) SetExternalControllerInfo

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

SetExternalControllerInfo saves the given controller info.

func (*Client) WatchExternalControllers

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

WatchExternalControllers watches for the addition and removal of external controllers.

Jump to

Keyboard shortcuts

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