Documentation ¶
Index ¶
- Constants
- func ParseCLINotification(e partybus.Event) (string, string, error)
- func ParseCLIReport(e partybus.Event) (string, string, error)
- func ParseInstallCmdStarted(e partybus.Event) ([]string, progress.StagedProgressable, error)
- func ParseUpdateLockCmdStarted(e partybus.Event) ([]string, progress.StagedProgressable, error)
- type ErrBadPayload
- type ManualStagedProgress
- type Task
- type Title
- type Tool
- type ToolUpdate
Constants ¶
View Source
const ( // ToolInstallationStartedEvent is a partybus event that occurs when a single tool installation has begun ToolInstallationStartedEvent partybus.EventType = typePrefix + "-tool-installation-started" // ToolUpdateVersionStartedEvent is a partybus event that occurs when a single tool version update has begun (for the update command) ToolUpdateVersionStartedEvent partybus.EventType = typePrefix + "-tool-update-version-started" // TaskStartedEvent is a generic, monitorable partybus event that occurs when a task has begun TaskStartedEvent partybus.EventType = typePrefix + "-task" // CLIInstallCmdStarted is a partybus event that occurs when the install CLI command has begun CLIInstallCmdStarted partybus.EventType = cliTypePrefix + "-install-cmd-started" // CLIUpdateCmdStarted is a partybus event that occurs when the install CLI command has begun CLIUpdateCmdStarted partybus.EventType = cliTypePrefix + "-update-cmd-started" // CLIReport is a partybus event that occurs when an analysis result is ready for final presentation to stdout CLIReport partybus.EventType = cliTypePrefix + "-report" // CLINotification is a partybus event that occurs when auxiliary information is ready for presentation to stderr CLINotification partybus.EventType = cliTypePrefix + "-notification" )
Variables ¶
This section is empty.
Functions ¶
func ParseCLINotification ¶
func ParseCLIReport ¶
func ParseInstallCmdStarted ¶
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.AtomicStage *progress.Manual }
type Task ¶
func ParseTaskStarted ¶
type Tool ¶
type ToolUpdate ¶
func ParseToolUpdateVersionStarted ¶
func ParseToolUpdateVersionStarted(e partybus.Event) (ToolUpdate, progress.Monitorable, error)
Click to show internal directories.
Click to hide internal directories.