X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dee23e534ab1c84fbe2e34730c0327989cc263ac..09cbdc3074b3f1e69c9c537875146f6da0a6ed8f:/sdk/go/arvados/config.go diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go index 64b7fab8d2..bc6aab298f 100644 --- a/sdk/go/arvados/config.go +++ b/sdk/go/arvados/config.go @@ -200,11 +200,12 @@ type Cluster struct { Enable bool Users map[string]TestUser } - LoginCluster string - RemoteTokenRefresh Duration - TokenLifetime Duration - TrustedClients map[string]struct{} - IssueTrustedTokens bool + LoginCluster string + RemoteTokenRefresh Duration + TokenLifetime Duration + TrustedClients map[URL]struct{} + TrustPrivateNetworks bool + IssueTrustedTokens bool } Mail struct { MailchimpAPIKey string @@ -395,7 +396,7 @@ func (su *URL) UnmarshalText(text []byte) error { } func (su URL) MarshalText() ([]byte, error) { - return []byte(fmt.Sprintf("%s", (*url.URL)(&su).String())), nil + return []byte(su.String()), nil } func (su URL) String() string { @@ -446,6 +447,7 @@ type ContainersConfig struct { CrunchRunCommand string CrunchRunArgumentsList []string DefaultKeepCacheRAM ByteSize + DefaultKeepCacheDisk ByteSize DispatchPrivateKey string LogReuseDecisions bool MaxComputeVMs int