mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-14 02:37:25 +01:00
25 lines
476 B
Go
25 lines
476 B
Go
|
// Copyright (C) 2023 NHR@FAU, University Erlangen-Nuremberg.
|
||
|
// All rights reserved.
|
||
|
// Use of this source code is governed by a MIT-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
package scheduler
|
||
|
|
||
|
import "encoding/json"
|
||
|
|
||
|
type SlurmRestSchedulerConfig struct {
|
||
|
URL string `json:"url"`
|
||
|
}
|
||
|
|
||
|
type SlurmRestScheduler struct {
|
||
|
url string
|
||
|
}
|
||
|
|
||
|
func (sd *SlurmRestScheduler) Init(rawConfig json.RawMessage) error {
|
||
|
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (sd *SlurmRestScheduler) Sync() {
|
||
|
|
||
|
}
|