We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af10ed0 commit 1a46448Copy full SHA for 1a46448
1 file changed
juju/controller.py
@@ -180,6 +180,14 @@ def controller_name(self):
180
def controller_uuid(self):
181
return self._connector.controller_uuid
182
183
+ @property
184
+ def api_endpoints(self):
185
+ controller_name = self._connector.jujudata.current_controller()
186
+ if controller_name:
187
+ return self._connector.jujudata.controllers().get(controller_name).get(
188
+ "api-endpoints"
189
+ )
190
+
191
async def disconnect(self):
192
"""Shut down the watcher task and close websockets.
193
0 commit comments