X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2f659c39c923d90f1cceb73c123d661687c3a41e..8b873a9b3b8865a4d451263e48b49122b9c32759:/sdk/go/arvados/config.go diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go index bee93046eb..db4e6dcd89 100644 --- a/sdk/go/arvados/config.go +++ b/sdk/go/arvados/config.go @@ -57,6 +57,14 @@ func (sc *Config) GetCluster(clusterID string) (*Cluster, error) { } } +type WebDAVCacheConfig struct { + TTL Duration + UUIDTTL Duration + MaxCollectionEntries int + MaxCollectionBytes int64 + MaxPermissionEntries int + MaxUUIDEntries int +} type Cluster struct { ClusterID string `json:"-"` ManagementToken string @@ -100,6 +108,8 @@ type Cluster struct { PreserveVersionIfIdle Duration TrashSweepInterval Duration TrustAllContent bool + + WebDAVCache WebDAVCacheConfig } Git struct { Repositories string @@ -271,13 +281,8 @@ type ContainersConfig struct { UsePreemptibleInstances bool JobsAPI struct { - Enable string - GitInternalDir string - DefaultDockerImage string - CrunchJobWrapper string - CrunchJobUser string - CrunchRefreshTrigger string - ReuseJobIfOutputsDiffer bool + Enable string + GitInternalDir string } Logging struct { MaxAge Duration @@ -292,9 +297,10 @@ type ContainersConfig struct { LogUpdateSize ByteSize } SLURM struct { - PrioritySpread int64 - SbatchArgumentsList []string - Managed struct { + PrioritySpread int64 + SbatchArgumentsList []string + SbatchEnvironmentVariables map[string]string + Managed struct { DNSServerConfDir string DNSServerConfTemplate string DNSServerReloadCommand string