Documentation ¶
Overview ¶
Package event provides event types for all events that the syft 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 ( // AppUpdateAvailable is a partybus event that occurs when an application update is available AppUpdateAvailable partybus.EventType = "syft-app-update-available" // PackageCatalogerStarted is a partybus event that occurs when the package cataloging has begun PackageCatalogerStarted partybus.EventType = "syft-package-cataloger-started-event" //nolint:gosec // SecretsCatalogerStarted is a partybus event that occurs when the secrets cataloging has begun SecretsCatalogerStarted partybus.EventType = "syft-secrets-cataloger-started-event" // FileMetadataCatalogerStarted is a partybus event that occurs when the file metadata cataloging has begun FileMetadataCatalogerStarted partybus.EventType = "syft-file-metadata-cataloger-started-event" // FileDigestsCatalogerStarted is a partybus event that occurs when the file digests cataloging has begun FileDigestsCatalogerStarted partybus.EventType = "syft-file-digests-cataloger-started-event" // FileIndexingStarted is a partybus event that occurs when the directory resolver begins indexing a filesystem FileIndexingStarted partybus.EventType = "syft-file-indexing-started-event" // Exit is a partybus event that occurs when an analysis result is ready for final presentation Exit partybus.EventType = "syft-exit-event" // ImportStarted is a partybus event that occurs when an SBOM upload process has begun ImportStarted partybus.EventType = "syft-import-started-event" // AttestationStarted is a partybus event that occurs when starting an SBOM attestation process AttestationStarted partybus.EventType = "syft-attestation-started-event" // CatalogerTaskStarted is a partybus event that occurs when starting a task within a cataloger CatalogerTaskStarted partybus.EventType = "syft-cataloger-task-started" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogerTask ¶ added in v0.78.0
type CatalogerTask struct { // Title Title string // TitleOnCompletion a string to use as title when completed TitleOnCompletion string // SubStatus indicates this progress should be rendered as a sub-item SubStatus bool // RemoveOnCompletion indicates this progress line will be removed when completed RemoveOnCompletion bool // contains filtered or unexported fields }
func (*CatalogerTask) GetMonitor ¶ added in v0.78.0
func (e *CatalogerTask) GetMonitor() *progress.Manual
func (*CatalogerTask) GetValue ¶ added in v0.78.0
func (e *CatalogerTask) GetValue() string
func (*CatalogerTask) SetCompleted ¶ added in v0.78.0
func (e *CatalogerTask) SetCompleted()
func (*CatalogerTask) SetValue ¶ added in v0.78.0
func (e *CatalogerTask) SetValue(value string)
Directories ¶
Path | Synopsis |
---|---|
Package parsers provides parser helpers to extract payloads for each event type that the syft library publishes onto the event bus.
|
Package parsers provides parser helpers to extract payloads for each event type that the syft library publishes onto the event bus. |
Click to show internal directories.
Click to hide internal directories.