checker: split monolithic rule into per-concern rules
This commit is contained in:
parent
463e3fb457
commit
181c5961f1
10 changed files with 338 additions and 20 deletions
14
checker/rules_basic.go
Normal file
14
checker/rules_basic.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package checker
|
||||
|
||||
import sdk "git.happydns.org/checker-sdk-go/checker"
|
||||
|
||||
// basicRule covers Zonemaster's basic/system test modules (initial
|
||||
// reachability and fundamental pre-conditions for running the other test
|
||||
// categories).
|
||||
func basicRule() sdk.CheckRule {
|
||||
return &categoryRule{
|
||||
name: "zonemaster.basic",
|
||||
description: "Zonemaster basic tests (initial reachability and fundamental requirements).",
|
||||
modules: []string{"basic", "system"},
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue