crosscontroller

package
v0.0.0-...-004e4dd Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: AGPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(registry facade.FacadeRegistry)

Register is called to expose a package of facades onto a given registry.

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 (*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