Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoRemoveType ¶
type CheckJudgeType ¶
type CompileInfo ¶
type CompileInfo struct { BuildArgs []string `json:"build_args"` Source string `json:"source"` NoBuild bool `json:"no_build"` BuildTarget string `json:"build_target"` BuildImage string `json:"build_image"` Constraints Constraints `json:"constraints"` RunArgs []string `json:"run_args"` RunArgsJSON string `json:"-"` RunImage string `json:"run_image"` }
type ConcurrentType ¶
type ConcurrentType struct {
Judge uint `json:"judge"`
}
type Constraints ¶
type ExpireType ¶
type ExtensionsType ¶
type ExtensionsType struct { HostBind bool `json:"host_bind"` AutoPull bool `json:"auto_pull"` CheckJudge CheckJudgeType `json:"check_judge"` Expire ExpireType `json:"expire"` }
type JudgeResult ¶
type JudgerConfigType ¶
type JudgerConfigType struct { Kafka KafkaConfig `json:"kafka"` Rpc string `json:"rpc"` AutoRemove AutoRemoveType `json:"auto_remove"` Concurrent ConcurrentType `json:"concurrent"` BuildImages []string `json:"local_images"` Languages []LanguageType `json:"languages"` Extensions ExtensionsType `json:"extensions"` }
type KafkaConfig ¶
type KafkaConfig struct {
Brokers []string `json:"brokers"`
}
type LanguageType ¶
type LanguageType struct { ID string `json:"id"` Name string `json:"name"` Enabled bool `json:"enabled"` Args CompileInfo `json:"args"` }
type SupportLanguage ¶
type TestCaseType ¶
Click to show internal directories.
Click to hide internal directories.