14713: Migrate old crunch-dispatch-slurm config to new config
[arvados.git] / sdk / go / arvados / config.go
index c8206c7da437c48ff963d563e976cc77cdb4ac3b..12ec8e6b26dc66fd3f4444dfe6a4c62897dbd1f8 100644 (file)
@@ -253,12 +253,16 @@ type InstanceType struct {
 
 type ContainersConfig struct {
        CloudVMs                    CloudVMsConfig
+       CrunchRunCommand            string
+       CrunchRunArgumentsList      []string
        DefaultKeepCacheRAM         ByteSize
        DispatchPrivateKey          string
        LogReuseDecisions           bool
        MaxComputeVMs               int
        MaxDispatchAttempts         int
        MaxRetryAttempts            int
+       MinRetryPeriod              Duration
+       ReserveExtraRAM             ByteSize
        StaleLockTimeout            Duration
        SupportedDockerImageFormats []string
        UsePreemptibleInstances     bool
@@ -285,7 +289,9 @@ type ContainersConfig struct {
                LogUpdateSize                ByteSize
        }
        SLURM struct {
-               Managed struct {
+               PrioritySpread      int64
+               SbatchArgumentsList []string
+               Managed             struct {
                        DNSServerConfDir       string
                        DNSServerConfTemplate  string
                        DNSServerReloadCommand string