projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
10998: Adds Collections.WebDAVCache.MaxBlockEntries config knob.
[arvados.git]
/
sdk
/
go
/
arvados
/
config.go
diff --git
a/sdk/go/arvados/config.go
b/sdk/go/arvados/config.go
index f6b736d587c893bc8128875e5889ebfe0ad78be7..02043fb6d192e63a0e438b9f12981efbd259df70 100644
(file)
--- a/
sdk/go/arvados/config.go
+++ b/
sdk/go/arvados/config.go
@@
-57,6
+57,15
@@
func (sc *Config) GetCluster(clusterID string) (*Cluster, error) {
}
}
}
}
+type WebDAVCacheConfig struct {
+ TTL Duration
+ UUIDTTL Duration
+ MaxBlockEntries int
+ MaxCollectionEntries int
+ MaxCollectionBytes int64
+ MaxPermissionEntries int
+ MaxUUIDEntries int
+}
type Cluster struct {
ClusterID string `json:"-"`
ManagementToken string
type Cluster struct {
ClusterID string `json:"-"`
ManagementToken string
@@
-100,6
+109,8
@@
type Cluster struct {
PreserveVersionIfIdle Duration
TrashSweepInterval Duration
TrustAllContent bool
PreserveVersionIfIdle Duration
TrashSweepInterval Duration
TrustAllContent bool
+
+ WebDAVCache WebDAVCacheConfig
}
Git struct {
Repositories string
}
Git struct {
Repositories string
@@
-271,13
+282,8
@@
type ContainersConfig struct {
UsePreemptibleInstances bool
JobsAPI 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
}
Logging struct {
MaxAge Duration