Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Item ¶
type Item struct {
Severity Severity `json:"severity"`
Check string `json:"check"`
RuleID string `json:"rule_id,omitempty"`
Message string `json:"message"`
}
Item is one precheck finding.
type Options ¶
type Options struct {
// CheckBind tests whether desired listen endpoints can be bound. Endpoints
// already owned by the same running rule are skipped to avoid false reload
// failures.
CheckBind bool
// CheckTargetResolve tests target address resolution for forwarding rules.
CheckTargetResolve bool
}
Options controls precheck behavior.
func DefaultOptions ¶
func DefaultOptions() Options
DefaultOptions returns production-safe precheck defaults.
Click to show internal directories.
Click to hide internal directories.