mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-09-20 19:37:26 +02:00
25 lines
467 B
Go
25 lines
467 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 SlurmNatsConfig struct {
|
||
|
URL string `json:"url"`
|
||
|
}
|
||
|
|
||
|
type SlurmNatsScheduler struct {
|
||
|
url string
|
||
|
}
|
||
|
|
||
|
func (sd *SlurmNatsScheduler) Init(rawConfig json.RawMessage) error {
|
||
|
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (sd *SlurmNatsScheduler) Sync() {
|
||
|
|
||
|
}
|