mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 07:52:11 +02:00
Initial commit for Postgres Operator UI (#613)
* Initial commit for our basic Postgres Operator UI: * Create and modify Postgres manifests * Watch Operator Logs in the UI * Observe cluster creation progress * S3 Backup browser for clone and restore Many thanks to Manuel Gomez and Jan Mussler for the initial UI work a long time ago!
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import time
|
||||
import json
|
||||
import request
|
||||
|
||||
|
||||
class MockCluster:
|
||||
|
||||
def get_pods(self):
|
||||
return [{"name": "cluster-1-XFF", "role": "master", "ip": "localhost", "port": "8080"},
|
||||
{"name": "cluster-1-XFE", "role": "replica", "ip": "localhost", "port": "8080"},
|
||||
{"name": "cluster-1-XFS", "role": "replica", "ip": "localhost", "port": "8080"},
|
||||
{"name": "cluster-2-SJE", "role": "master", "ip": "localhost", "port": "8080"}]
|
||||
Reference in New Issue
Block a user