Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchciConfig ¶
type ArchciConfig struct {
Image string `yaml:"image"`
Env []string `yaml:env`
Script []string `yaml:"script"`
Email struct {
Success []string `yaml:"success"`
Failure []string `yaml:"failure"`
} `yaml:"email"`
Webhook struct {
Success []string `yaml:success`
Failure []string `yaml:failure`
}
}
ArchciConfig represents the struct of .archci.yml file.
type WorkerConfig ¶
type WorkerConfig struct {
Debug bool `yaml:"debug"`
ArchciServer string `yaml:"archci_server"`
Interval int `yaml:"interval"`
ConcurrentTask int `yaml:"concurrent_task"`
CpuLimit string `yaml:"cpu_limit"`
MemoryLimit string `yaml:"memory_limit"`
}
WorkerConfig represents the struct of worker.yml file.
Click to show internal directories.
Click to hide internal directories.