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

Struct FunctionValuer

pkg/filter/ql/function.go:99–101  ·  view source on GitHub ↗

FunctionValuer implements the CallValuer interface and delegates the evaluation of function calls to the corresponding functions.

Source from the content-addressed store, hash-verified

97// FunctionValuer implements the CallValuer interface and delegates
98// the evaluation of function calls to the corresponding functions.
99type FunctionValuer struct {
100 m map[string]interface{}
101}
102
103func (f FunctionValuer) Value(key string) (interface{}, bool) {
104 v, ok := f.m[key]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected