MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / compileRules

Function compileRules

pkg/rules/engine_test.go:103–107  ·  view source on GitHub ↗
(t *testing.T, e *Engine)

Source from the content-addressed store, hash-verified

101}
102
103func compileRules(t *testing.T, e *Engine) {
104 rs, err := e.Compile()
105 require.NoError(t, err)
106 require.NotNil(t, rs)
107}
108
109func wrapProcessEvent(e *event.Event, fn func(*event.Event) (bool, error)) bool {
110 match, err := fn(e)

Callers 7

fireRulesFunction · 0.85
TestRunSequenceRuleFunction · 0.85
TestAlertActionFunction · 0.85
TestKillActionFunction · 0.85

Calls 1

CompileMethod · 0.65

Tested by

no test coverage detected