"time"
"git.arvados.org/arvados.git/sdk/go/arvados"
+ "github.com/sirupsen/logrus"
)
type StringMatcher func(string) bool
// filesystem size.
DiskCacheSize arvados.ByteSizeOrPercent
+ // Where to write debug logs. May be nil.
+ Logger logrus.FieldLogger
+
// Discovery document
DiscoveryDoc Dict
// X-Request-Id for outgoing requests
RequestID string
+
+ // Cluster config from the arvados.Client passed to New(), if
+ // any. If non-nil, its keep services configuration is used
+ // instead of requesting a server list from controller. Note
+ // this is disabled by default in test suites via
+ // ARVADOS_FORCE_KEEP_SERVICES_TABLE environment variable.
+ Cluster *arvados.Cluster
}
// MakeTLSConfig sets up TLS configuration for communicating with
Retries: 2,
KeepServiceURIs: c.KeepServiceURIs,
DiskCacheSize: c.DiskCacheSize,
+ Logger: c.Logger,
lastClosedIdlesAt: time.Now(),
+ Cluster: c.Cluster,
}
return ac, nil