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 ParseAppUpdateAvailable(e partybus.Event) (string, error)
- func ParseExit(e partybus.Event) (func() error, error)
- func ParseFileDigestsCatalogingStarted(e partybus.Event) (progress.StagedProgressable, error)
- func ParseFileIndexingStarted(e partybus.Event) (string, progress.StagedProgressable, error)
- func ParseFileMetadataCatalogingStarted(e partybus.Event) (progress.StagedProgressable, error)
- func ParseImportStarted(e partybus.Event) (string, progress.StagedProgressable, error)
- func ParsePackageCatalogerStarted(e partybus.Event) (*cataloger.Monitor, error)
- func ParseSecretsCatalogingStarted(e partybus.Event) (*file.SecretsMonitor, error)
- type ErrBadPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseAppUpdateAvailable ¶
func ParseFileDigestsCatalogingStarted ¶ added in v0.15.0
func ParseFileDigestsCatalogingStarted(e partybus.Event) (progress.StagedProgressable, error)
func ParseFileIndexingStarted ¶ added in v0.19.0
func ParseFileMetadataCatalogingStarted ¶ added in v0.15.0
func ParseFileMetadataCatalogingStarted(e partybus.Event) (progress.StagedProgressable, error)
func ParseImportStarted ¶ added in v0.10.0
func ParsePackageCatalogerStarted ¶ added in v0.15.0
func ParseSecretsCatalogingStarted ¶ added in v0.15.0
func ParseSecretsCatalogingStarted(e partybus.Event) (*file.SecretsMonitor, error)
Types ¶
type ErrBadPayload ¶
type ErrBadPayload struct { Type partybus.EventType Field string Value interface{} }
func (*ErrBadPayload) Error ¶
func (e *ErrBadPayload) Error() string
Click to show internal directories.
Click to hide internal directories.