style(frontend): gofmt the apiserver and xcecli sources
Formatting only (gofmt -w on the 29 non-vendored, non-generated files gofmt -l reported); swag-generated apiserver/docs/docs.go left as is. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b57ce6d6a9
commit
3615c7c0fb
29 changed files with 1280 additions and 1285 deletions
|
|
@ -4,16 +4,16 @@ import "apiserver/models"
|
|||
|
||||
// Global store instances.
|
||||
var (
|
||||
Jobs *DataStore[uint64, models.JobInfo]
|
||||
ArrayJobs *DataStore[uint64, models.ArrayJobInfo]
|
||||
Queues *DataStore[string, models.QueueInfo]
|
||||
Hosts *DataStore[string, models.HostInfo]
|
||||
Jobs *DataStore[uint64, models.JobInfo]
|
||||
ArrayJobs *DataStore[uint64, models.ArrayJobInfo]
|
||||
Queues *DataStore[string, models.QueueInfo]
|
||||
Hosts *DataStore[string, models.HostInfo]
|
||||
Resources *DataStore[string, models.ResourceDefinitionInfo]
|
||||
ResourceLocations *DataStore[string, models.ResourceDistributionInfo]
|
||||
Clusters *DataStore[string, models.ClusterInfo]
|
||||
JobExecHosts *DataStore[int64, models.JobExecHosts]
|
||||
Roles *DataStore[string, RoleEntry]
|
||||
UserRoles *DataStore[string, []string] // user_name → role_names
|
||||
JobExecHosts *DataStore[int64, models.JobExecHosts]
|
||||
Roles *DataStore[string, RoleEntry]
|
||||
UserRoles *DataStore[string, []string] // user_name → role_names
|
||||
)
|
||||
|
||||
// RoleEntry holds a role's permissions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue