Merge branch '16314-testuserdb'
[arvados.git] / sdk / go / arvados / config.go
index 41c20c8db2ee71cf4c4a024e7d1d73b72878a098..c87f880e5e56365e4bbec06c211a72cee9e0ee7c 100644 (file)
@@ -177,6 +177,10 @@ type Cluster struct {
                        ProviderAppID     string
                        ProviderAppSecret string
                }
+               Test struct {
+                       Enable bool
+                       Users  map[string]TestUser
+               }
                LoginCluster       string
                RemoteTokenRefresh Duration
        }
@@ -330,6 +334,11 @@ type Service struct {
        ExternalURL  URL
 }
 
+type TestUser struct {
+       Email    string
+       Password string
+}
+
 // URL is a url.URL that is also usable as a JSON key/value.
 type URL url.URL