juju: github.com/juju/juju/apiserver/facades/controller/crosscontroller Index | Files

package crosscontroller

import "github.com/juju/juju/apiserver/facades/controller/crosscontroller"


Package Files


type CrossControllerAPI Uses

type CrossControllerAPI struct {
    // contains filtered or unexported fields

CrossControllerAPI provides access to the CrossModelRelations API facade.

func NewCrossControllerAPI Uses

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

NewCrossControllerAPI returns a new server-side CrossControllerAPI facade.

func NewStateCrossControllerAPI Uses

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

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

func (*CrossControllerAPI) ControllerInfo Uses

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

ControllerInfo returns the API info for the controller.

func (*CrossControllerAPI) WatchControllerInfo Uses

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

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

Package crosscontroller imports 8 packages (graph) and is imported by 4 packages. Updated 2020-09-30. Refresh now. Tools for package owners.