Documentation ¶
Overview ¶
Package event provides event types for all events that the library published onto the event bus. By convention, for each event defined here there should be a corresponding event parser defined in the parsers/ child package.
Index ¶
Constants ¶
View Source
const ( TaskType partybus.EventType = typePrefix + "-task" // CLIExitType is a partybus event indicating the main process is to exit CLIExitType partybus.EventType = cliTypePrefix + "-exit-event" CLIReportType partybus.EventType = cliTypePrefix + "-report" CLINotificationType partybus.EventType = cliTypePrefix + "-notification" CLIInputPromptType partybus.EventType = cliTypePrefix + "-input-prompt" )
Variables ¶
This section is empty.
Functions ¶
func ParseCLIInputPromptType ¶
func ParseCLIInputPromptType(e partybus.Event) (bubbly.PromptWriter, error)
func ParseCLIReportType ¶
Types ¶
type ErrBadPayload ¶
type ErrBadPayload struct { Type partybus.EventType Field string Value interface{} }
func (*ErrBadPayload) Error ¶
func (e *ErrBadPayload) Error() string
type ManualStagedProgress ¶
type ManualStagedProgress struct { progress.Stage progress.Manual }
type Task ¶
func ParseTaskType ¶
Click to show internal directories.
Click to hide internal directories.