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

package crosscontroller

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

Index

Package Files

crosscontroller.go

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,
    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 6 packages (graph) and is imported by 3 packages. Updated 2018-06-28. Refresh now. Tools for package owners.