X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0fd23242967b5c8c7144f4325bf0b65043585b55..HEAD:/sdk/go/arvados/config.go diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go index a3e54952da..f5e0188a5d 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,8 +99,10 @@ type Cluster struct { DisabledAPIs StringSet MaxIndexDatabaseRead int MaxItemsPerResponse int + MaxConcurrentRailsRequests int MaxConcurrentRequests int MaxQueuedRequests int + MaxGatewayTunnels int MaxQueueTimeForLockRequests Duration LogCreateRequestFraction float64 MaxKeepBlobBuffers int @@ -149,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 { @@ -213,15 +213,6 @@ type Cluster struct { TrustPrivateNetworks bool IssueTrustedTokens bool } - Mail struct { - MailchimpAPIKey string - MailchimpListID string - SendUserSetupNotificationEmail bool - IssueReporterEmailFrom string - IssueReporterEmailTo string - SupportEmailAddress string - EmailFrom string - } SystemLogs struct { LogLevel string Format string @@ -243,13 +234,14 @@ type Cluster struct { AutoAdminFirstUser bool AutoAdminUserWithEmail string AutoSetupNewUsers bool - AutoSetupNewUsersWithRepository bool AutoSetupNewUsersWithVmUUID string AutoSetupUsernameBlacklist StringSet EmailSubjectPrefix string NewInactiveUserNotificationRecipients StringSet NewUserNotificationRecipients StringSet NewUsersAreActive bool + SendUserSetupNotificationEmail bool + SupportEmailAddress string UserNotifierEmailFrom string UserNotifierEmailBcc StringSet UserProfileNotificationAddress string @@ -268,31 +260,15 @@ type Cluster struct { 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 @@ -316,16 +292,16 @@ 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 { - IAMRole string AccessKeyID string SecretAccessKey string Endpoint string @@ -366,8 +342,6 @@ type Services struct { DispatchCloud Service DispatchLSF Service DispatchSLURM Service - GitHTTP Service - GitSSH Service Health Service Keepbalance Service Keepproxy Service @@ -515,26 +489,14 @@ type ContainersConfig struct { SupportedDockerImageFormats StringSet AlwaysUsePreemptibleInstances bool PreemptiblePriceFactor float64 + MaximumPriceFactor float64 RuntimeEngine string LocalKeepBlobBuffersPerVCPU int LocalKeepLogsToContainerLog string - JobsAPI struct { - Enable string - GitInternalDir string - } Logging struct { - MaxAge Duration - SweepInterval Duration - LogBytesPerEvent int - LogSecondsBetweenEvents Duration - LogThrottlePeriod Duration - LogThrottleBytes int - LogThrottleLines int - LimitLogBytesPerJob int - LogPartialLineThrottlePeriod Duration - LogUpdatePeriod Duration - LogUpdateSize ByteSize + LogUpdatePeriod Duration + LogUpdateSize ByteSize } ShellAccess struct { Admin bool @@ -544,20 +506,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 } } @@ -677,7 +632,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" @@ -697,7 +651,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,