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) (*monitor.CatalogerTask, 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 ParsePackageCatalogerStarted(e partybus.Event) (*cataloger.Monitor, error)
- func ParseSecretsCatalogingStarted(e partybus.Event) (*secrets.Monitor, 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) (*monitor.CatalogerTask, error)
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 ParsePackageCatalogerStarted ¶ added in v0.15.0
func ParseSecretsCatalogingStarted ¶ added in v0.15.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.