15881: Move Google, SSO, and PAM configs into their own sections.
[arvados.git] / sdk / go / arvados / config.go
index 817f5b7a69971e0049f88edc59687d075cc7af37..7ab8d9e1f64e0260125a010be633062cb4305fa9 100644 (file)
@@ -150,16 +150,24 @@ type Cluster struct {
                        EmailAttribute     string
                        UsernameAttribute  string
                }
-               GoogleClientID                string
-               GoogleClientSecret            string
-               GoogleAlternateEmailAddresses bool
-               PAM                           bool
-               PAMService                    string
-               PAMDefaultEmailDomain         string
-               ProviderAppID                 string
-               ProviderAppSecret             string
-               LoginCluster                  string
-               RemoteTokenRefresh            Duration
+               Google struct {
+                       Enable                  bool
+                       ClientID                string
+                       ClientSecret            string
+                       AlternateEmailAddresses bool
+               }
+               PAM struct {
+                       Enable             bool
+                       Service            string
+                       DefaultEmailDomain string
+               }
+               SSO struct {
+                       Enable            bool
+                       ProviderAppID     string
+                       ProviderAppSecret string
+               }
+               LoginCluster       string
+               RemoteTokenRefresh Duration
        }
        Mail struct {
                MailchimpAPIKey                string