| 1234567891011121314151617181920212223 |
- package scheme
- const CHECK_KIND_BASH = "bash"
- const CHECK_KIND_FILE = "file"
- type BashCheck struct {
- Command string `json:"command" yaml:"command"`
- Result Result `json:"result" yaml:"result"`
- }
- type FileCheck struct {
- Path string `json:"path" yaml:"path"`
- Processors []Processor `json:"processors" yaml:"processors"`
- }
- type Check struct {
- ID string `json:"id" yaml:"id"`
- ContainerID string `json:"container_id" yaml:"container_id"`
- Timeout int `json:"timeout" yaml:"timeout"`
- Kind string `json:"kind" yaml:"kind"`
- KindBash BashCheck `json:"kind_bash" yaml:"kind_bash"`
- KindFile FileCheck `json:"kind_file" yaml:"kind_file"`
- }
|