MCPcopy Create free account

hub / github.com/Comcast/rulio / functions

Functions1,122 in github.com/Comcast/rulio

MethodDeleteHandler
(w http.ResponseWriter, r *http.Request)
crolt/handlers.go:58
MethodDial
(network string, address string)
tools/sim/main.go:200
MethodDial
(network string, address string)
storage/dynamodb/dynamodb.go:119
MethodDisable
Disable does what you think.
core/breaker.go:47
MethodDisable
(disabled bool)
core/breaker.go:149
MethodDisable
(disabled bool)
core/breaker.go:281
MethodDisable
(disabled bool)
core/breaker.go:353
MethodDisable
(disabled bool)
core/breaker.go:503
MethodDispositions
()
core/events.go:169
MethodDo
(f func() error)
core/breaker.go:313
MethodDo
(f func() error)
core/breaker.go:372
MethodDo
(ctx *Context, loc *Location)
core/events.go:39
MethodDo
(ctx *Context, loc *Location)
core/events.go:155
MethodDo
(ctx *Context, loc *Location)
core/events.go:194
MethodDo
(ctx *Context, loc *Location)
core/events.go:281
MethodDo
(ctx *Context, loc *Location)
core/events.go:319
FunctionDontTestJavascriptGet
(t *testing.T)
core/javascript_test.go:49
MethodEmit
()
tools/sim/gen.go:21
MethodEmit
()
tools/sim/gen.go:36
MethodEmit
()
tools/sim/gen.go:46
MethodEmit
()
tools/sim/gen.go:61
MethodEmit
()
tools/sim/gen.go:74
MethodEmit
()
tools/sim/gen.go:133
MethodEmit
(device string, f func(x interface{}) error)
tools/sim/gen.go:240
MethodError
()
core/errors.go:45
MethodError
()
core/errors.go:63
MethodError
()
core/errors.go:83
MethodError
()
core/errors.go:103
MethodError
()
service/httpd.go:150
MethodError
()
service/service.go:172
FunctionExampleLocation_ProcessEvent_basic
()
core/rules_test.go:67
FunctionExampleLocation_ProcessEvent_out
()
core/rules_test.go:141
FunctionExampleRunJavascript
()
core/javascript_test.go:103
MethodExec
(ctx *Context, loc *Location, qc QueryContext, qr QueryResult)
core/query.go:195
MethodExec
(ctx *Context, loc *Location, qc QueryContext, qr QueryResult)
core/query.go:356
MethodExec
(ctx *Context, loc *Location, qc QueryContext, qr QueryResult)
core/query.go:495
MethodExec
(ctx *Context, loc *Location, qc QueryContext, qr QueryResult)
core/query.go:567
MethodExec
(ctx *Context, loc *Location, qc QueryContext, qr QueryResult)
core/query.go:641
MethodExec
(ctx *Context, loc *Location, qc QueryContext, qr QueryResult)
core/query.go:715
MethodExec
(ctx *Context, loc *Location, qc QueryContext, qr QueryResult)
core/query_test.go:523
FunctionExpire
(ctx *Context, s State, id string, fact map[string]interface{}, now int64)
core/state.go:293
MethodFindCachedRules
FindCachedRules functions similarly to FindRules, except that an in-memory cache is used if a rule is not in the cache, it is added from persistence
core/state_linear.go:402
MethodFindCachedRules
(ctx *Context, event Map)
core/state_indexed.go:743
MethodFindRules
(ctx *Context, event Map)
core/state_linear.go:332
MethodFindRules
(ctx *Context, event Map)
core/state_indexed.go:683
FunctionGenFactExample
(t *testing.T)
core/factgen_test.go:25
MethodGenerateHeaders
(ctx *Context)
core/query_test.go:553
MethodGenerateHeaders
(ctx *Context)
core/events_test.go:213
MethodGenerateHeaders
(ctx *Context)
core/http_test.go:148
MethodGet
Get returns the broadcaster's current channel. Cron instances call this method after each channel close that is detected.
cron/cron.go:80
MethodGet
()
core/query.go:825
MethodGet
(ctx *Context, id string)
core/state_linear.go:450
MethodGet
(ctx *Context, id string)
core/state_indexed.go:531
MethodGet
()
service/httpd.go:482
MethodGetFact
(ctx *Context, id string)
core/location.go:515
MethodGetHandler
(w http.ResponseWriter, r *http.Request)
crolt/handlers.go:82
MethodGetLocation
GetLocation implements core.LocationProvider. Just calls 'findLocation(,,false)'.
sys/system.go:848
MethodGetLocation
(ctx *Context, name string)
core/location.go:995
MethodGetName
GetName is used to find the ActionInterpreter based on an Action's Endpoint (which is now a very bad name).
core/actions.go:307
MethodGetName
GetName does what you'd thing. For the ActionInterpreter interface.
core/actions.go:318
MethodGetName
()
rulesys/main.go:381
MethodGetProfileBlock
GetProfileBlock returns pprof block.
sys/system.go:1489
MethodGetProfileCPU
GetProfileCPU gets/stops pprof cpu.
sys/system.go:1454
MethodGetProfileMem
GetProfileMem returns pprof mem.
sys/system.go:1476
MethodGetStats
GetStats get a clean copy of the System's current stats.
sys/system.go:641
MethodGetStats
(ctx *Context, loc string)
core/storage_none.go:48
MethodGetStats
(ctx *Context, loc string)
storage/dynamodb/dynamodb.go:618
MethodGetStats
(ctx *Context, loc string)
storage/cassandra/cassandra.go:290
MethodGetStats
GetStats returns the stats for a location ToDo: store last record times
storage/bolt/bolt.go:58
MethodGetThunk
(ctx *core.Context, loc *core.Location, bs core.Bindings, a core.Action)
rulesys/main.go:385
MethodHealth
(ctx *Context)
core/storage_mem.go:99
MethodHealth
(ctx *Context)
core/storage_none.go:56
MethodHealth
(ctx *Context)
storage/dynamodb/dynamodb.go:642
MethodHealth
(ctx *Context)
storage/cassandra/cassandra.go:310
MethodHealth
(ctx *Context)
storage/bolt/bolt.go:190
MethodIntersect
Insert removes elements not in the given set. The receiver is modified.
core/util.go:114
FunctionIsConstant
(s string)
core/util.go:584
MethodIsFatal
()
core/errors.go:24
MethodIsFatal
()
core/errors.go:52
MethodIsFatal
()
core/errors.go:67
MethodIsFatal
()
core/errors.go:87
MethodIsFatal
()
core/errors.go:107
MethodIsLoaded
(ctx *Context)
core/state_indexed.go:133
FunctionJSON
(x interface{})
sys/system_test.go:35
MethodKeys
Keys returns a slice of the keys in the cache.
core/cache.go:91
MethodKill
Kill the instance's loop forever. No going back.
cron/cron.go:256
FunctionLatencyStatsHeader
()
tools/sim/percentiles.go:113
MethodLen
()
core/patternindex.go:194
MethodLess
(i, j int)
cron/cron.go:156
MethodLess
Less provides a somewhat generic comparison. Callers should check IsSortable() before invoking this method. If the given ThingSlice is heterogeneous,
core/patternindex.go:207
MethodListRules
(ctx *Context, includeInherited bool)
core/location.go:715
MethodLoad
(ctx *Context, loc string)
core/storage_none.go:28
MethodLoad
(ctx *Context)
core/state_indexed.go:140
MethodLoad
Load queries DynamoDB to get a location's state. This function also calls the location's 'Update()' function to remember the time the state was last
storage/dynamodb/dynamodb.go:402
MethodLoad
(ctx *Context, loc string)
storage/cassandra/cassandra.go:234
MethodLoad
Load returns data for a location ToDo: should we return an error if there was no bucket for a location?
storage/bolt/bolt.go:148
MethodLog
Log emits a log line for the given stats. The 'scope' is included in the log record. Example scopes: 'system', location.Name.
core/stats.go:168
MethodLog
(level LogLevel, args ...interface{})
core/loggers.go:28
MethodLog
(ctx *Context)
core/vars.go:224
MethodLog
(level LogLevel, op string, args ...interface{})
core/context.go:274
← previousnext →701–800 of 1,122, ranked by callers