MCPcopy Create free account
hub / github.com/Comcast/rulio / AddRule

Method AddRule

core/location.go:311–377  ·  view source on GitHub ↗
(ctx *Context, id string, rule Map)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

AddRuleMethod · 0.95
RuleTestFunction · 0.95
TestRuleEventCopyFunction · 0.95
BenchFactsEventsRulesFunction · 0.45
TestLocationAddRuleFunction · 0.45
LocationFunctionsFunction · 0.45
TestEventBasicFunction · 0.45
TestEventTriggeredFunction · 0.45
TestEventWithAppBindingFunction · 0.45

Calls 14

EnabledMethod · 0.95
CheckWriteMethod · 0.95
AtCapacityMethod · 0.95
ControlMethod · 0.95
StopMethod · 0.95
LogFunction · 0.85
NewTimerFunction · 0.85
IncFunction · 0.85
RuleFromMapFunction · 0.85
setExpiresFunction · 0.85
MetricFunction · 0.85
SetLocMethod · 0.80

Tested by 9

RuleTestFunction · 0.76
TestRuleEventCopyFunction · 0.76
BenchFactsEventsRulesFunction · 0.36
TestLocationAddRuleFunction · 0.36
TestEventBasicFunction · 0.36
TestEventTriggeredFunction · 0.36
TestEventWithAppBindingFunction · 0.36