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

Method expr

pkg/rules/sequence.go:304–310  ·  view source on GitHub ↗
(state fsm.State)

Source from the content-addressed store, hash-verified

302}
303
304func (s *sequenceState) expr(state fsm.State) string {
305 seqID, ok := state.(int)
306 if !ok {
307 return ""
308 }
309 return s.exprs[seqID]
310}
311
312// addPartial appends the event that matched the expression at the
313// sequence index. If the event arrived out of order, then the isOOO

Callers 4

initFSMMethod · 0.95
addPartialMethod · 0.95
TestSequenceStateFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestSequenceStateFunction · 0.64