13493: Add PostgreSQL connection to cluster config.
[arvados.git] / sdk / go / arvados / config.go
index dfe2e7b31150334d54e2186823151803fbcf431a..0225736c2d91c7f88c78ebe4c444ea172062c98f 100644 (file)
@@ -55,8 +55,15 @@ type Cluster struct {
        InstanceTypes      []InstanceType
        HTTPRequestTimeout Duration
        RemoteClusters     map[string]RemoteCluster
+       PostgreSQL         PostgreSQL
 }
 
+type PostgreSQL struct {
+       Connection PostgreSQLConnection
+}
+
+type PostgreSQLConnection map[string]string
+
 type RemoteCluster struct {
        // API endpoint host or host:port; default is {id}.arvadosapi.com
        Host string