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

Method HasLabel

pkg/config/filters.go:116–116  ·  view source on GitHub ↗

HasLabel determines if the filter has the given label.

(l string)

Source from the content-addressed store, hash-verified

114
115// HasLabel determines if the filter has the given label.
116func (f FilterConfig) HasLabel(l string) bool { return f.Labels[l] != "" }
117
118// Filters contains references to rule and macro definitions.
119type Filters struct {

Callers 1

validateRulesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected