Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Netflix/hal-9001
/ types & classes
Types & classes
101 in github.com/Netflix/hal-9001
⨍
Functions
585
◇
Types & classes
101
↓ 1 callers
TypeAlias
OncallsByLevel
OncallsByLevel provides sorting by oncall level for []Oncall.
plugins/pagerduty/oncall_plugin.go:373
↓ 1 callers
TypeAlias
SlashReaction
brokers/console/broker.go:43
Struct
ArchiveEntry
ArchiveEntry is a single event observed by the archive plugin.
plugins/archive/plugin.go:33
Struct
BoolParam
keyed parameters that are boolean (flags), e.g. "--foo", "-f", "foo=true"
hal/cmd.go:93
Struct
BoolParamInst
BoolParamInst represents a flag/boolean parameter found in the command
hal/cmd.go:129
Interface
Broker
* * Copyright 2016-2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co
hal/broker.go:20
Struct
Broker
brokers/console/broker.go:35
Struct
Broker
Broker interacts with the slack service. TODO: add a miss cache to avoid hammering the room/user info apis
brokers/slack/broker.go:41
Struct
Broker
Broker contains the Hipchat API handles required for interacting with the hipchat service.
brokers/hipchat/broker.go:32
Struct
CalEvent
a simplified calendar event returned by getEvents
plugins/google_calendar/google.go:33
Struct
Cmd
Cmd models a tree of commands and subcommands along with their parameters. The tree will almost always be 1 or 2 levels deep. Deeper is possible but u
hal/cmd.go:49
Struct
CmdInst
hal/cmd.go:66
Struct
Config
plugins/google_calendar/plugin.go:63
Struct
Config
brokers/console/broker.go:33
Struct
Config
brokers/slack/broker.go:57
Struct
Config
brokers/hipchat/broker.go:38
Struct
ContactMethod
plugins/pagerduty/pd_types.go:23
Interface
Context
Context is an interface for the contexts field in V1 PD events.
plugins/pagerduty/pd_events_v1.go:30
Struct
ContextImage
plugins/pagerduty/pd_events_v1.go:40
Struct
ContextLink
plugins/pagerduty/pd_events_v1.go:34
Struct
DirEdge
hal/directory.go:82
Struct
DirNode
hal/directory.go:42
Struct
DirNodeAttr
hal/directory.go:60
Struct
Error
plugins/pagerduty/pd_events_v1.go:58
Struct
ErrorResponse
plugins/pagerduty/pd_events_v1.go:64
Struct
EscalationPolicy
plugins/pagerduty/pd_types.go:133
Struct
EscalationPolicyRef
plugins/pagerduty/pd_types.go:162
Struct
EscalationPolicyResponse
plugins/pagerduty/pd_types.go:148
Struct
EscalationRule
plugins/pagerduty/pd_types.go:156
Struct
EscalationTarget
plugins/pagerduty/pd_types.go:170
Struct
Event
plugins/pagerduty/pd_events_v1.go:47
Struct
EventBody
plugins/pagerduty/pd_events_v2.go:47
Struct
EventImage
plugins/pagerduty/pd_events_v2.go:41
Struct
EventPayload
data structures for the PagerDuty Common Event Format Timestamp
plugins/pagerduty/pd_events_v2.go:31
Struct
EventResult
plugins/pagerduty/pd_events_v2.go:57
Struct
Evt
Evt is a generic container for events processed by the bot. Event sources are responsible for copying the appropriate data into the Evt fields. Routin
hal/event.go:32
Struct
FontChar
FontChar is a single character of the font. The Code field might go away. It was extracted from the original font and was flaky so I switched to using
hal/text2image.go:48
Struct
FontData
FontData is a font and its metadata.
hal/text2image.go:56
Struct
GoogleError
plugins/google_calendar/google.go:41
Struct
IdxParam
positional parameters (0 indexed)
hal/cmd.go:105
Struct
IdxParamInst
IdxParamInst represents a positional parameter found in the command
hal/cmd.go:141
Struct
IncidentCounts
plugins/pagerduty/pd_types.go:198
Struct
Instance
Instance is an instance of a plugin tied to a room.
hal/plugins.go:53
Struct
Integration
plugins/pagerduty/pd_types.go:183
Struct
KVParam
key/value parameters, e.g. "--foo=bar", "foo=bar", "-f bar", "--foo bar"
hal/cmd.go:81
Struct
KVParamInst
KVParamInst represents a key/value parameter found in the command
hal/cmd.go:117
Struct
LogEntry
hal/logger.go:32
Struct
Logger
Logger provides a handle for using Hal's logging facility. Any Logger created ultimately uses the same singleton.
hal/logger.go:28
Struct
Mark
plugins/mark/plugin.go:31
Interface
NamedParam
hal/cmd.go:189
Struct
NotificationRule
plugins/pagerduty/pd_types.go:31
Struct
Oncall
plugins/pagerduty/pd_types.go:281
Struct
OncallsResponse
plugins/pagerduty/pd_types.go:290
Struct
Override
plugins/pagerduty/pd_types.go:298
Struct
PeriodicFunc
hal/periodic.go:25
Struct
Plugin
Plugin is a function with metadata to assist with message routing. Plugins are registered at startup by the main program and wired up to receive event
hal/plugins.go:41
TypeAlias
PluginGroup
plugins/pluginmgr/plugin.go:65
Struct
PluginGroupRow
plugins/pluginmgr/plugin.go:59
Struct
PolicyService
plugins/pagerduty/pd_types.go:175
Struct
Pref
* -- test data, will remove once there are automated tests INSERT INTO prefs (user,room,broker,plugin,pkey,value) VALUES ("tobert", "", "", "",
hal/prefs.go:72
Struct
PrefMissingError
plugins/google_calendar/google.go:49
TypeAlias
Prefs
hal/prefs.go:85
Struct
RequiredParamNotFound
RequiredParamNotFound is returned when a parameter has Required=true and a method was used to access the value but no value was set in the command.
hal/cmd.go:206
Struct
Response
plugins/pagerduty/pd_events_v1.go:68
Struct
Restriction
plugins/pagerduty/pd_types.go:127
Struct
RosterUser
plugins/roster/plugin.go:30
Struct
RouterCTX
RouterCTX holds the router's context, including input/output chans.
hal/router.go:27
Struct
Schedule
plugins/pagerduty/pd_types.go:66
Struct
ScheduleLayer
plugins/pagerduty/pd_types.go:98
Struct
ScheduleLayerEntry
plugins/pagerduty/pd_types.go:121
Struct
ScheduleRef
plugins/pagerduty/pd_types.go:82
Struct
SchedulesResponse
plugins/pagerduty/pd_types.go:90
Struct
SecretMissingError
plugins/google_calendar/google.go:56
Struct
SecretStore
secrets stores a plaintext key/value store for sensitive data that the bot and plugins need to operate along with methods for persisting encrypted cop
hal/secrets.go:30
Struct
Service
Service represents a Pagerduty service object from /api/v1/services/:id
plugins/pagerduty/pd_types.go:206
Struct
ServiceRef
plugins/pagerduty/pd_types.go:226
Struct
ServicesResponse
plugins/pagerduty/pd_types.go:234
Struct
SubCmd
hal/cmd.go:61
Struct
SubCmdInst
hal/cmd.go:75
Struct
SubCmdNotFound
hal/cmd.go:195
Struct
SubSchedule
plugins/pagerduty/pd_types.go:115
Struct
Team
plugins/pagerduty/pd_types.go:40
Struct
TeamRef
plugins/pagerduty/pd_types.go:50
Struct
TeamsResponse
plugins/pagerduty/pd_types.go:58
Struct
UnsupportedTimeFormatError
UnsupportedTimeFormatError is returned when a provided time string cannot be parsed with one of the pre-defined time formats.
hal/cmd.go:217
Struct
User
plugins/pagerduty/pd_types.go:242
Struct
UserRef
plugins/pagerduty/pd_types.go:265
Struct
UsersResponse
plugins/pagerduty/pd_types.go:273
Struct
Whatever
hal/ttlcache_test.go:26
Interface
cmdorsubcmd
cmdorsubcmd is used internally to pass either a Cmd or SubCmd to a helper function so I don't have to copy/paste the code
hal/cmd.go:177
Struct
directory
directory is a simple graph of directory-style information that can be linked and queried on those links. Goals: 1. avoid coupling between plugins 2.
hal/directory.go:30
Struct
fwdBroker
hal/router.go:37
Struct
logger
logger contains the state for the logger
hal/logger.go:40
Struct
pluginRegistry
pluginRegistry contains the plugin registration data as a singleton
hal/plugins.go:27
Struct
qFrag
plugins/blabber/plugin.go:40
Struct
scheduleOncallUsersResponse
plugins/pagerduty/pd_schedule.go:25
Struct
ssRec
for temporarily holding encrypted data
hal/secrets.go:53
Interface
stringValuedParamInst
hal/cmd.go:164
Struct
tmpParamInst
tmpParamInst used by the parser to hold keyed parameters before attaching to commands/subcommands.
hal/cmd.go:153
Struct
ttlCache
hal/ttlcache.go:27
next →
1–100 of 101, ranked by callers