21285: Use separate request limit/queue for gateway tunnel requests.
[arvados.git] / sdk / go / arvados / config.go
index 2e9abf2ecb4c36904e36da2dff15a4c8eea9ea2a..16d789daf5163f49bc6fe4770565fcde9325fd35 100644 (file)
@@ -99,8 +99,11 @@ type Cluster struct {
                DisabledAPIs                     StringSet
                MaxIndexDatabaseRead             int
                MaxItemsPerResponse              int
+               MaxConcurrentRailsRequests       int
                MaxConcurrentRequests            int
                MaxQueuedRequests                int
+               MaxGatewayTunnels                int
+               MaxQueueTimeForLockRequests      Duration
                LogCreateRequestFraction         float64
                MaxKeepBlobBuffers               int
                MaxRequestAmplification          int
@@ -148,6 +151,8 @@ type Cluster struct {
                BalanceCollectionBuffers int
                BalanceTimeout           Duration
                BalanceUpdateLimit       int
+               BalancePullLimit         int
+               BalanceTrashLimit        int
 
                WebDAVCache WebDAVCacheConfig
 
@@ -257,35 +262,25 @@ type Cluster struct {
                RoleGroupsVisibleToAll                bool
                CanCreateRoleGroups                   bool
                ActivityLoggingPeriod                 Duration
+               SyncIgnoredGroups                     []string
+               SyncRequiredGroups                    []string
+               SyncUserAccounts                      bool
+               SyncUserAPITokens                     bool
+               SyncUserGroups                        bool
+               SyncUserSSHKeys                       bool
        }
        StorageClasses map[string]StorageClassConfig
        Volumes        map[string]Volume
        Workbench      struct {
-               ActivationContactLink            string
-               APIClientConnectTimeout          Duration
-               APIClientReceiveTimeout          Duration
-               APIResponseCompression           bool
-               ApplicationMimetypesWithViewIcon StringSet
-               ArvadosDocsite                   string
-               ArvadosPublicDataDocURL          string
-               DefaultOpenIdPrefix              string
-               DisableSharingURLsUI             bool
-               EnableGettingStartedPopup        bool
-               EnablePublicProjectsPage         bool
-               FileViewersConfigURL             string
-               LogViewerMaxBytes                ByteSize
-               MultiSiteSearch                  string
-               ProfilingEnabled                 bool
-               Repositories                     bool
-               RepositoryCache                  string
-               RunningJobLogRecordsToFetch      int
-               SecretKeyBase                    string
-               ShowRecentCollectionsOnDashboard bool
-               ShowUserAgreementInline          bool
-               ShowUserNotifications            bool
-               SiteName                         string
-               Theme                            string
-               UserProfileFormFields            map[string]struct {
+               ActivationContactLink   string
+               ArvadosDocsite          string
+               ArvadosPublicDataDocURL string
+               DisableSharingURLsUI    bool
+               FileViewersConfigURL    string
+               ShowUserAgreementInline bool
+               SiteName                string
+               Theme                   string
+               UserProfileFormFields   map[string]struct {
                        Type                 string
                        FormFieldTitle       string
                        FormFieldDescription string
@@ -309,12 +304,13 @@ type StorageClassConfig struct {
 }
 
 type Volume struct {
-       AccessViaHosts   map[URL]VolumeAccess
-       ReadOnly         bool
-       Replication      int
-       StorageClasses   map[string]bool
-       Driver           string
-       DriverParameters json.RawMessage
+       AccessViaHosts         map[URL]VolumeAccess
+       ReadOnly               bool
+       AllowTrashWhenReadOnly bool
+       Replication            int
+       StorageClasses         map[string]bool
+       Driver                 string
+       DriverParameters       json.RawMessage
 }
 
 type S3VolumeDriverParameters struct {
@@ -508,6 +504,7 @@ type ContainersConfig struct {
        SupportedDockerImageFormats   StringSet
        AlwaysUsePreemptibleInstances bool
        PreemptiblePriceFactor        float64
+       MaximumPriceFactor            float64
        RuntimeEngine                 string
        LocalKeepBlobBuffersPerVCPU   int
        LocalKeepLogsToContainerLog   string
@@ -566,6 +563,7 @@ type CloudVMsConfig struct {
        MaxProbesPerSecond             int
        MaxConcurrentInstanceCreateOps int
        MaxInstances                   int
+       InitialQuotaEstimate           int
        SupervisorFraction             float64
        PollInterval                   Duration
        ProbeInterval                  Duration