externalcontrollerupdater

package
v0.0.0-...-8ff1004 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalControllerUpdaterAPI

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

ExternalControllerUpdaterAPI provides access to the CrossModelRelations API facade.

func NewAPI

func NewAPI(
	auth facade.Authorizer,
	resources facade.Resources,
	externalControllers state.ExternalControllers,
) (*ExternalControllerUpdaterAPI, error)

NewAPI creates a new server-side CrossModelRelationsAPI API facade backed by the given interfaces.

func NewStateAPI

func NewStateAPI(ctx facade.Context) (*ExternalControllerUpdaterAPI, error)

NewStateAPI creates a new server-side CrossModelRelationsAPI API facade backed by global state.

func (*ExternalControllerUpdaterAPI) ExternalControllerInfo

ExternalControllerInfo returns the info for the specified external controllers.

func (*ExternalControllerUpdaterAPI) SetExternalControllerInfo

SetExternalControllerInfo saves the info for the specified external controllers.

func (*ExternalControllerUpdaterAPI) WatchExternalControllers

func (api *ExternalControllerUpdaterAPI) WatchExternalControllers() (params.StringsWatchResults, error)

WatchExternalControllers watches for the addition and removal of external controller records to the local controller's database.

Jump to

Keyboard shortcuts

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