Documentation ¶
Index ¶
- type ExternalControllerUpdaterAPI
- func (s *ExternalControllerUpdaterAPI) ExternalControllerInfo(args params.Entities) (params.ExternalControllerInfoResults, error)
- func (s *ExternalControllerUpdaterAPI) SetExternalControllerInfo(args params.SetExternalControllersInfoParams) (params.ErrorResults, error)
- func (api *ExternalControllerUpdaterAPI) WatchExternalControllers() (params.StringsWatchResults, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalControllerUpdaterAPI ¶
type ExternalControllerUpdaterAPI struct {
// contains filtered or unexported fields
}
ExternalControllerUpdaterAPI provides access to the CrossModelRelations API facade.
func NewAPI ¶
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 ¶
func NewStateAPI(ctx facade.Context) (*ExternalControllerUpdaterAPI, error)
NewStateAPI creates a new server-side CrossModelRelationsAPI API facade backed by global state.
func (*ExternalControllerUpdaterAPI) ExternalControllerInfo ¶
func (s *ExternalControllerUpdaterAPI) ExternalControllerInfo(args params.Entities) (params.ExternalControllerInfoResults, error)
ExternalControllerInfo returns the info for the specified external controllers.
func (*ExternalControllerUpdaterAPI) SetExternalControllerInfo ¶
func (s *ExternalControllerUpdaterAPI) SetExternalControllerInfo(args params.SetExternalControllersInfoParams) (params.ErrorResults, error)
SetExternalControllerInfo saves the info for the specified external controllers.
func (*ExternalControllerUpdaterAPI) WatchExternalControllers ¶
func (api *ExternalControllerUpdaterAPI) WatchExternalControllers() (params.StringsWatchResults, error)
WatchExternalControllers watches for the addition and removal of external controller records to the local controller's database.
Click to show internal directories.
Click to hide internal directories.