mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +01:00
Merge pull request #308 from ClusterCockpit/dev
Move to open Release PR
This commit is contained in:
commit
1e43654607
@ -164,13 +164,13 @@ type ProgramConfig struct {
|
|||||||
// Defines time X in seconds in which jobs are considered to be "short" and will be filtered in specific views.
|
// Defines time X in seconds in which jobs are considered to be "short" and will be filtered in specific views.
|
||||||
ShortRunningJobsDuration int `json:"short-running-jobs-duration"`
|
ShortRunningJobsDuration int `json:"short-running-jobs-duration"`
|
||||||
|
|
||||||
// Array of Clusters
|
|
||||||
Clusters []*ClusterConfig `json:"clusters"`
|
|
||||||
|
|
||||||
// Energy Mix CO2 Emission Constant [g/kWh]
|
// Energy Mix CO2 Emission Constant [g/kWh]
|
||||||
// If entered, displays estimated CO2 emission for job based on jobs totalEnergy
|
// If entered, displays estimated CO2 emission for job based on jobs totalEnergy
|
||||||
EmissionConstant int `json:"emission-constant"`
|
EmissionConstant int `json:"emission-constant"`
|
||||||
|
|
||||||
// Frequency of cron job workers
|
// Frequency of cron job workers
|
||||||
CronFrequency *CronFrequency `json:"cron-frequency"`
|
CronFrequency *CronFrequency `json:"cron-frequency"`
|
||||||
|
|
||||||
|
// Array of Clusters
|
||||||
|
Clusters []*ClusterConfig `json:"clusters"`
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,10 @@
|
|||||||
},
|
},
|
||||||
"apiAllowedIPs": {
|
"apiAllowedIPs": {
|
||||||
"description": "Addresses from which secured API endpoints can be reached",
|
"description": "Addresses from which secured API endpoints can be reached",
|
||||||
"type": "string"
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"description": "Drop root permissions once .env was read and the port was taken. Only applicable if using privileged port.",
|
"description": "Drop root permissions once .env was read and the port was taken. Only applicable if using privileged port.",
|
||||||
|
Loading…
Reference in New Issue
Block a user