MCPcopy Create free account

hub / github.com/Netflix/hal-9001 / functions

Functions585 in github.com/Netflix/hal-9001

MethodLen
()
plugins/pagerduty/oncall_plugin.go:375
MethodLess
(i, j int)
hal/prefs.go:560
MethodLess
(i, j int)
plugins/pagerduty/oncall_plugin.go:377
MethodListIdxParamInsts
()
hal/cmd.go:1619
MethodLooksLikeRoomId
(room string)
brokers/console/broker.go:176
MethodLooksLikeRoomId
(room string)
brokers/slack/broker.go:277
MethodLooksLikeRoomId
(room string)
brokers/hipchat/broker.go:148
MethodLooksLikeUserId
(user string)
brokers/console/broker.go:180
MethodLooksLikeUserId
(user string)
brokers/slack/broker.go:288
MethodLooksLikeUserId
(user string)
brokers/hipchat/broker.go:153
MethodMustString
()
hal/cmd.go:1877
MethodMustSubCmd
MustSubCmd returns bool indicating if a subcommand is required.
hal/cmd.go:421
MethodName
Name returns the key string. Mostly for use in printing errors, etc. Implements NamedParam.
hal/cmd.go:551
MethodName
Name returns the key string. Mostly for use in printing errors, etc. Implements NamedParam.
hal/cmd.go:557
MethodName
Name returns the name given to the indexed param. Implements NamedParam.
hal/cmd.go:563
MethodName
Name returns the key string. Mostly for use in printing errors, etc. Implements NamedParam.
hal/cmd.go:1662
MethodName
Name returns the key string. Mostly for use in printing errors, etc. Implements NamedParam.
hal/cmd.go:1668
MethodName
Name returns the name given to the indexed param. Implements NamedParam.
hal/cmd.go:1674
MethodName
()
brokers/console/broker.go:145
MethodName
Name returns the name of the broker as set in NewBroker.
brokers/slack/broker.go:95
MethodName
()
brokers/hipchat/broker.go:94
FunctionNewAck
(serviceKey, description string)
plugins/pagerduty/pd_events_v1.go:92
MethodNewBroker
Hipchat is a singleton that returns an initialized and connected Broker. It can be called anywhere in the bot at any time. Host must be "chat.hipchat.
brokers/hipchat/broker.go:53
MethodNewDebugSink
NewLogSink creates a new channel that will receive debug messages. It is allocated and ready to go on return. Do not close it.
hal/logger.go:230
MethodNewLogSink
NewLogSink creates a new channel that will receive log messages. It is allocated and ready to go on return. Do not close it.
hal/logger.go:218
FunctionNewResolve
(serviceKey, description string)
plugins/pagerduty/pd_events_v1.go:96
FunctionNewTrigger
(serviceKey, description string)
plugins/pagerduty/pd_events_v1.go:88
MethodParam
()
hal/cmd.go:737
MethodParam
()
hal/cmd.go:741
MethodParam
()
hal/cmd.go:745
MethodParent
()
hal/cmd.go:416
MethodPut
Put adds/updates a node for the given key/attr and creates edges for the attributes where possible.
hal/directory.go:150
MethodQuit
()
hal/router.go:122
FunctionREPL
REPL starts a readline-like bot REPL on the console. All plugins that are present and registered are automatically enabled. name should be a non-empty
brokers/console/broker.go:53
FunctionRegister
Register makes this plugin available to the system.
plugins/pluginmgr/plugin.go:70
FunctionRegister
()
plugins/uptime/plugin.go:33
FunctionRegister
()
plugins/pagerduty/plugin.go:36
FunctionRegister
()
plugins/spam/plugin.go:25
FunctionRegister
()
plugins/google_calendar/plugin.go:86
FunctionRegister
()
plugins/inspect/plugin.go:23
FunctionRegister
()
plugins/mark/plugin.go:49
FunctionRegister
()
plugins/blabber/plugin.go:59
FunctionRegister
()
plugins/prefmgr/plugin.go:92
FunctionRegister
()
plugins/seppuku/plugin.go:28
FunctionRegister
()
plugins/guys/plugin.go:25
FunctionRegister
Register makes this plugin available to the system.
plugins/docker/plugin.go:36
FunctionRegister
()
plugins/archive/plugin.go:68
FunctionRegister
Register makes this plugin available to the system.
plugins/cross_the_streams/plugin.go:29
FunctionRegister
()
plugins/roster/plugin.go:46
MethodRegister
Register an instance with the bot so that it starts receiving messages.
hal/plugins.go:128
MethodRequired
()
hal/cmd.go:729
FunctionRmPrefId
RmPrefId removes a preference from the database by its numeric id.
hal/prefs.go:155
MethodRoomIdToName
required by interface
brokers/console/broker.go:262
MethodRoomNameToId
(in string)
brokers/console/broker.go:263
MethodRoomNameToId
RoomNameToId gets the id for a room name using an in-memory cache that falls through to the Slack API
brokers/slack/broker.go:739
MethodRoomNameToId
(in string)
brokers/hipchat/broker.go:254
MethodSaveSettingsToPrefs
SaveSettingsToPrefs saves runtime instance preferences to the prefs table in the database.
hal/plugins.go:205
MethodSend
(evt Evt)
hal/router.go:90
MethodSend
Send posts the event to Pagerduty using the provided token.
plugins/pagerduty/pd_events_v1.go:112
MethodSend
(token string)
plugins/pagerduty/pd_events_v2.go:82
MethodSend
(e hal.Evt)
brokers/console/broker.go:149
MethodSendDM
(e hal.Evt)
brokers/console/broker.go:153
MethodSendDM
(evt hal.Evt)
brokers/slack/broker.go:150
MethodSendDM
TODO: implement this - if Atlassian ever re-publishes the API docs.
brokers/hipchat/broker.go:115
MethodSendTable
(e hal.Evt, hdr []string, rows [][]string)
brokers/console/broker.go:172
MethodSendTable
(evt hal.Evt, hdr []string, rows [][]string)
brokers/slack/broker.go:194
MethodSendTable
(evt hal.Evt, hdr []string, rows [][]string)
brokers/hipchat/broker.go:140
MethodSetBroker
SetBroker returns a copy of the pref with the Broker set to the provided string.
hal/prefs.go:450
FunctionSetCounter
(key string, value int)
hal/counter.go:47
MethodSetDefault
(def bool)
hal/cmd.go:513
MethodSetDefault
(def string)
hal/cmd.go:519
FunctionSetKV
SetKV inserts a new value in the database with the provided TTL. If the TTL is 0, it defaults to 10 years.
hal/kv.go:94
MethodSetKey
SetKey returns a copy of the pref with the key set to the provided string. Useful for chaining e.g. fooPrefs := p.SetKey("foo").Find().
hal/prefs.go:438
FunctionSetPref
SetPref sets a preference and is shorthand for Pref{}.Set().
hal/prefs.go:112
MethodSetTopic
(roomId, topic string)
brokers/console/broker.go:166
MethodSetTopic
(roomId, topic string)
brokers/slack/broker.go:188
MethodSetTopic
TODO: implement
brokers/hipchat/broker.go:136
MethodSetUsage
SetUsage sets the subcommand's usage string.
hal/cmd.go:467
MethodSetUsage
SetUsage sets the usage string for the paremeter. Returns the parameter.
hal/cmd.go:490
MethodSetUsage
SetUsage sets the usage string for the paremeter. Returns the parameter.
hal/cmd.go:496
MethodSetUsage
SetUsage sets the usage string for the paremeter. Returns the parameter.
hal/cmd.go:502
MethodSimpleStdin
SimpleStdin will loop forever reading stdin and publish each line as an event in the console broker. e.g. go cbroker.SimpleStdin()
brokers/console/broker.go:187
MethodSimpleStdout
SimpleStdout prints all replies, etc to the broker on os.Stdout. e.g. go cbroker.SimpleStdout()
brokers/console/broker.go:207
MethodStop
Stop a periodic function.
hal/periodic.go:160
MethodStream
(out chan *hal.Evt)
brokers/console/broker.go:220
MethodStream
Stream is an event loop for Slack events & messages from the RTM API. Events are copied to a hal.Evt and forwarded to the exchange where they can be p
brokers/slack/broker.go:316
MethodStream
Stream is an event loop for Hipchat events.
brokers/hipchat/broker.go:185
MethodString
()
hal/event.go:272
MethodString
String returns the value as a string.
hal/cmd.go:1688
MethodString
()
hal/plugins.go:316
MethodString
()
hal/plugins.go:320
MethodString
()
hal/prefs.go:584
MethodString
()
hal/prefs.go:600
MethodSubCmd
()
hal/cmd.go:604
MethodSubCmd
()
hal/cmd.go:612
MethodSubCmd
()
hal/cmd.go:620
MethodSubCmdInst
()
hal/cmd.go:689
MethodSubCmdInst
()
hal/cmd.go:697
MethodSubCmdInst
()
hal/cmd.go:705
MethodSubCmdToken
()
hal/cmd.go:1316
← previousnext →401–500 of 585, ranked by callers