Static
NAMEStatic
VERSIONConsumeRemoteRelationChanges consumes changes to settings originating from the remote/offering side of relations.
ConsumeRemoteSecretChanges updates the local model with secret revision changes originating from the remote/offering model.
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
ControllerConfig returns the controller's configuration.
ExportEntities allocates unique, remote entity IDs for the given entities in the local model.
GetTokens returns the token associated with the entities with the given tags for the given models.
ImportRemoteEntities adds entities to the remote entities collection with the specified opaque tokens.
Relations returns information about the cross-model relations with the specified keys in the local model.
RemoteApplications returns the current state of the remote applications with the specified names in the local model.
SaveMacaroons saves the macaroons for the given entities.
SetRemoteApplicationsStatus sets the status for the specified remote applications.
UpdateControllersForModels changes the external controller records for the associated model entities. This is used when the remote relations worker gets redirected following migration of an offering model.
WatchLocalRelationChanges starts a RemoteRelationWatcher for each specified relation, returning the watcher IDs and initial values, or an error if the remote relations couldn't be watched.
WatchRemoteApplicationRelations starts a StringsWatcher for watching the relations of each specified application in the local model, and returns the watcher IDs and initial values, or an error if the services' relations could not be watched.
WatchRemoteApplications starts a strings watcher that notifies of the addition, removal, and lifecycle changes of remote applications in the model; and returns the watcher ID and initial IDs of remote applications, or an error if watching failed.
WatchRemoteRelations starts a strings watcher that notifies of the addition, removal, and lifecycle changes of remote relations in the model; and returns the watcher ID and initial IDs of remote relations, or an error if watching failed.
Generated using TypeDoc
API provides access to the remote relations API facade.