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

package externalcontrollerupdater

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

Index

Package Files

externalcontrollerupdater.go

type ExternalControllerUpdaterAPI Uses

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

ExternalControllerUpdaterAPI provides access to the CrossModelRelations API facade.

func NewAPI Uses

func NewAPI(
    auth facade.Authorizer,
    resources facade.Resources,
    externalControllers state.ExternalControllers,
) (*ExternalControllerUpdaterAPI, error)

NewAPI creates a new server-side CrossModelRelationsAPI API facade backed by the given interfaces.

func NewStateAPI Uses

func NewStateAPI(ctx facade.Context) (*ExternalControllerUpdaterAPI, error)

NewStateAPI creates a new server-side CrossModelRelationsAPI API facade backed by global state.

func (*ExternalControllerUpdaterAPI) ExternalControllerInfo Uses

func (s *ExternalControllerUpdaterAPI) ExternalControllerInfo(args params.Entities) (params.ExternalControllerInfoResults, error)

ExternalControllerInfo returns the info for the specified external controllers.

func (*ExternalControllerUpdaterAPI) SetExternalControllerInfo Uses

func (s *ExternalControllerUpdaterAPI) SetExternalControllerInfo(args params.SetExternalControllersInfoParams) (params.ErrorResults, error)

SetExternalControllerInfo saves the info for the specified external controllers.

func (*ExternalControllerUpdaterAPI) WatchExternalControllers Uses

func (api *ExternalControllerUpdaterAPI) WatchExternalControllers() (params.StringsWatchResults, error)

WatchExternalControllers watches for the addition and removal of external controller records to the local controller's database.

Package externalcontrollerupdater imports 8 packages (graph) and is imported by 3 packages. Updated 2019-08-23. Refresh now. Tools for package owners.