light modification

This commit is contained in:
mr
2025-01-15 11:09:33 +01:00
parent b48e2cb3e5
commit 555c5acb26
3 changed files with 23 additions and 0 deletions

View File

@@ -13,3 +13,8 @@ const (
func (t InfrastructureType) String() string {
return [...]string{"DOCKER", "KUBERNETES", "SLURM", "HW", "CONDOR"}[t]
}
// get list of all infrastructure types
func InfrastructureList() []InfrastructureType {
return []InfrastructureType{DOCKER, KUBERNETES, SLURM, HW, CONDOR}
}