crosscontroller

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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrossControllerAPI

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

CrossControllerAPI provides access to the CrossModelRelations API facade.

func NewCrossControllerAPI

func NewCrossControllerAPI(
	resources facade.Resources,
	localControllerInfo localControllerInfoFunc,
	publicDNSAddress publicDNSAddressFunc,
	watchLocalControllerInfo watchLocalControllerInfoFunc,
) (*CrossControllerAPI, error)

NewCrossControllerAPI returns a new server-side CrossControllerAPI facade.

func NewStateCrossControllerAPI

func NewStateCrossControllerAPI(ctx facade.Context) (*CrossControllerAPI, error)

NewStateCrossControllerAPI creates a new server-side CrossModelRelations API facade backed by global state.

func (*CrossControllerAPI) ControllerInfo

func (api *CrossControllerAPI) ControllerInfo() (params.ControllerAPIInfoResults, error)

ControllerInfo returns the API info for the controller.

func (*CrossControllerAPI) WatchControllerInfo

func (api *CrossControllerAPI) WatchControllerInfo() (params.NotifyWatchResults, error)

WatchControllerInfo creates a watcher that notifies when the API info for the controller changes.

Jump to

Keyboard shortcuts

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