X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/03c01a2340c42fbd9098f248c609f611f361c3a6..da5858d5f794c14cf00b830166bb34b1bcd79ba5:/sdk/go/arvados/config.go diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go index 4da851763e..6725611fd0 100644 --- a/sdk/go/arvados/config.go +++ b/sdk/go/arvados/config.go @@ -63,8 +63,8 @@ func (sc *Config) GetCluster(clusterID string) (*Cluster, error) { type WebDAVCacheConfig struct { TTL Duration - MaxBlockEntries int - MaxCollectionBytes int64 + DiskCacheSize ByteSizeOrPercent + MaxCollectionBytes ByteSize MaxSessions int } @@ -99,7 +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 @@ -147,17 +151,15 @@ type Cluster struct { BalanceCollectionBuffers int BalanceTimeout Duration BalanceUpdateLimit int + BalancePullLimit int + BalanceTrashLimit int WebDAVCache WebDAVCacheConfig KeepproxyPermission UploadDownloadRolePermissions WebDAVPermission UploadDownloadRolePermissions WebDAVLogEvents bool - } - Git struct { - GitCommand string - GitoliteHome string - Repositories string + WebDAVOutputBuffer ByteSize } Login struct { LDAP struct { @@ -241,7 +243,6 @@ type Cluster struct { AutoAdminFirstUser bool AutoAdminUserWithEmail string AutoSetupNewUsers bool - AutoSetupNewUsersWithRepository bool AutoSetupNewUsersWithVmUUID string AutoSetupUsernameBlacklist StringSet EmailSubjectPrefix string @@ -256,35 +257,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 @@ -308,12 +299,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 { @@ -358,8 +350,6 @@ type Services struct { DispatchCloud Service DispatchLSF Service DispatchSLURM Service - GitHTTP Service - GitSSH Service Health Service Keepbalance Service Keepproxy Service @@ -507,13 +497,13 @@ type ContainersConfig struct { SupportedDockerImageFormats StringSet AlwaysUsePreemptibleInstances bool PreemptiblePriceFactor float64 + MaximumPriceFactor float64 RuntimeEngine string LocalKeepBlobBuffersPerVCPU int LocalKeepLogsToContainerLog string JobsAPI struct { - Enable string - GitInternalDir string + Enable string } Logging struct { MaxAge Duration @@ -536,20 +526,13 @@ type ContainersConfig struct { PrioritySpread int64 SbatchArgumentsList []string SbatchEnvironmentVariables map[string]string - Managed struct { - DNSServerConfDir string - DNSServerConfTemplate string - DNSServerReloadCommand string - DNSServerUpdateCommand string - ComputeNodeDomain string - ComputeNodeNameservers StringSet - AssignNodeHostname string - } } LSF struct { - BsubSudoUser string - BsubArgumentsList []string - BsubCUDAArguments []string + BsubSudoUser string + BsubArgumentsList []string + BsubCUDAArguments []string + MaxRunTimeOverhead Duration + MaxRunTimeDefault Duration } } @@ -565,6 +548,7 @@ type CloudVMsConfig struct { MaxProbesPerSecond int MaxConcurrentInstanceCreateOps int MaxInstances int + InitialQuotaEstimate int SupervisorFraction float64 PollInterval Duration ProbeInterval Duration @@ -668,7 +652,6 @@ const ( ServiceNameDispatchCloud ServiceName = "arvados-dispatch-cloud" ServiceNameDispatchLSF ServiceName = "arvados-dispatch-lsf" ServiceNameDispatchSLURM ServiceName = "crunch-dispatch-slurm" - ServiceNameGitHTTP ServiceName = "arvados-git-httpd" ServiceNameHealth ServiceName = "arvados-health" ServiceNameKeepbalance ServiceName = "keep-balance" ServiceNameKeepproxy ServiceName = "keepproxy" @@ -688,7 +671,6 @@ func (svcs Services) Map() map[ServiceName]Service { ServiceNameDispatchCloud: svcs.DispatchCloud, ServiceNameDispatchLSF: svcs.DispatchLSF, ServiceNameDispatchSLURM: svcs.DispatchSLURM, - ServiceNameGitHTTP: svcs.GitHTTP, ServiceNameHealth: svcs.Health, ServiceNameKeepbalance: svcs.Keepbalance, ServiceNameKeepproxy: svcs.Keepproxy,