16 lines
239 B
Go
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]
|
|
}
|