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.
Click to show internal directories.
Click to hide internal directories.