18794: Add SourceTimestamp and SourceSHA256 to config-dump output.
[arvados.git] / sdk / go / arvados / config.go
index 6c9324e478a273b68e83dcd7fb4e46150b8e0da1..b508a3f05d2c40a1c25345c3bd2f8b79c907089d 100644 (file)
@@ -10,6 +10,7 @@ import (
        "fmt"
        "net/url"
        "os"
+       "time"
 
        "git.arvados.org/arvados.git/sdk/go/config"
 )
@@ -24,6 +25,8 @@ var DefaultConfigFile = func() string {
 type Config struct {
        Clusters         map[string]Cluster
        AutoReloadConfig bool
+       SourceTimestamp  time.Time
+       SourceSHA256     string
 }
 
 // GetConfig returns the current system config, loading it from