mirror of
https://github.com/criyle/go-judge.git
synced 2025-11-04 14:50:02 +08:00
18 lines
380 B
Go
18 lines
380 B
Go
package env
|
|
|
|
import "time"
|
|
|
|
// Config defines parameters to create environment builder
|
|
type Config struct {
|
|
ContainerInitPath string
|
|
TmpFsParam string
|
|
NetShare bool
|
|
MountConf string
|
|
SeccompConf string
|
|
CgroupPrefix string
|
|
Cpuset string
|
|
ContainerCredStart int
|
|
EnableCPURate bool
|
|
CPUCfsPeriod time.Duration
|
|
}
|