List of slurm partitions via GraphQL

This commit is contained in:
Lou Knauer
2022-03-14 10:24:27 +01:00
parent 85ad6d9543
commit 839db9fdae
4 changed files with 75 additions and 21 deletions

View File

@@ -61,6 +61,10 @@ models:
resolver: true
metaData:
resolver: true
Cluster:
fields:
partitions:
resolver: true
NullableFloat: { model: "github.com/ClusterCockpit/cc-backend/schema.Float" }
MetricScope: { model: "github.com/ClusterCockpit/cc-backend/schema.MetricScope" }
JobStatistics: { model: "github.com/ClusterCockpit/cc-backend/schema.JobStatistics" }