checker.go 507 B

123456789101112131415161718
  1. package scheme
  2. const CHECKER_KIND_SEQUENTIAL = "sequential"
  3. const CHECKER_KIND_PARALLEL = "parallel"
  4. type SequentialChecker struct {
  5. Checks []Check `json:"checks" yaml:"checks"`
  6. }
  7. type ParallelChecker struct {
  8. Checks []Check `json:"checks" yaml:"checks"`
  9. }
  10. type Checker struct {
  11. Kind string `json:"kind" yaml:"kind"`
  12. KindSequential SequentialChecker `json:"kind_sequential" yaml:"kind_sequential"`
  13. KindParallel ParallelChecker `json:"kind_parallel" yaml:"kind_parallel"`
  14. }