oc-lib/models/common/enum/infrastructure.go
2025-01-15 10:56:44 +01:00

16 lines
239 B
Go

package enum
type InfrastructureType int
const (
DOCKER InfrastructureType = iota
KUBERNETES
SLURM
HW
CONDOR
)
func (t InfrastructureType) String() string {
return [...]string{"DOCKER", "KUBERNETES", "SLURM", "HW", "CONDOR"}[t]
}