X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f777c74882e6b0f52b15f62d1d6251cd180979e4..b29c13b372bd39075eabda49ea57b0cb6d5a8452:/sdk/go/arvados/config.go?ds=sidebyside diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go index 8856c92956..0225736c2d 100644 --- a/sdk/go/arvados/config.go +++ b/sdk/go/arvados/config.go @@ -54,6 +54,26 @@ type Cluster struct { NodeProfiles map[string]NodeProfile 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 + // Perform a proxy request when a local client requests an + // object belonging to this remote. + Proxy bool + // Scheme, default "https". Can be set to "http" for testing. + Scheme string + // Disable TLS verify. Can be set to true for testing. + Insecure bool } type InstanceType struct { @@ -63,6 +83,7 @@ type InstanceType struct { RAM int64 Scratch int64 Price float64 + Preemptible bool } // GetNodeProfile returns a NodeProfile for the given hostname. An @@ -129,6 +150,7 @@ func (np *NodeProfile) ServicePorts() map[ServiceName]string { } type SystemServiceInstance struct { - Listen string - TLS bool + Listen string + TLS bool + Insecure bool }