Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
AddRule
Method · 0.95
RuleTest
Function · 0.95
TestRuleEventCopy
Function · 0.95
BenchFactsEventsRules
Function · 0.45
TestLocationAddRule
Function · 0.45
TestLocationAddParentRule
Function · 0.45
LocationFunctions
Function · 0.45
TestEventBasic
Function · 0.45
TestEventTriggered
Function · 0.45
TestEventWithAppBinding
Function · 0.45
TestEventConditionBindings
Function · 0.45
Calls
14
Enabled
Method · 0.95
CheckWrite
Method · 0.95
AtCapacity
Method · 0.95
Control
Method · 0.95
Stop
Method · 0.95
Log
Function · 0.85
NewTimer
Function · 0.85
Inc
Function · 0.85
RuleFromMap
Function · 0.85
setExpires
Function · 0.85
Metric
Function · 0.85
SetLoc
Method · 0.80
Tested by
9
RuleTest
Function · 0.76
TestRuleEventCopy
Function · 0.76
BenchFactsEventsRules
Function · 0.36
TestLocationAddRule
Function · 0.36
TestLocationAddParentRule
Function · 0.36
TestEventBasic
Function · 0.36
TestEventTriggered
Function · 0.36
TestEventWithAppBinding
Function · 0.36
TestEventConditionBindings
Function · 0.36