Documentation ¶
Overview ¶
Package parsers provides parser helpers to extract payloads for each event type that the syft library publishes onto the event bus.
Index ¶
- func ParseAttestationStartedEvent(e partybus.Event) (io.Reader, progress.Progressable, *monitor.GenericTask, error)
- func ParseCLINotification(e partybus.Event) (string, string, error)
- func ParseCLIReport(e partybus.Event) (string, string, error)
- func ParseCatalogerTaskStarted(e partybus.Event) (progress.StagedProgressable, *monitor.GenericTask, error)
- func ParseFileIndexingStarted(e partybus.Event) (string, progress.StagedProgressable, error)
- type ErrBadPayload
- type UpdateCheck
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseAttestationStartedEvent ¶ added in v0.66.0
func ParseAttestationStartedEvent(e partybus.Event) (io.Reader, progress.Progressable, *monitor.GenericTask, error)
func ParseCLINotification ¶ added in v0.85.0
func ParseCLIReport ¶ added in v0.85.0
func ParseCatalogerTaskStarted ¶ added in v0.78.0
func ParseCatalogerTaskStarted(e partybus.Event) (progress.StagedProgressable, *monitor.GenericTask, error)
func ParseFileIndexingStarted ¶ added in v0.19.0
Types ¶
type ErrBadPayload ¶
type ErrBadPayload struct { Type partybus.EventType Field string Value interface{} }
func (*ErrBadPayload) Error ¶
func (e *ErrBadPayload) Error() string
type UpdateCheck ¶ added in v0.89.0
func ParseCLIAppUpdateAvailable ¶ added in v0.85.0
func ParseCLIAppUpdateAvailable(e partybus.Event) (*UpdateCheck, error)
Click to show internal directories.
Click to hide internal directories.