amqp

package
v0.0.14-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2025 License: AGPL-3.0 Imports: 1 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIDispatcherMessage

type APIDispatcherMessage struct {
	AnalysisId     uuid.UUID         `json:"analysis_id"`
	ProjectId      uuid.UUID         `json:"project_id"`
	IntegrationId  uuid.UUID         `json:"integration_id"`
	OrganizationId uuid.UUID         `json:"organization_id"`
	Config         map[string]Config `json:"config"`
}

API -> Dispatcher

type Config

type Config struct {
	Data map[string]any `json:"data"`
}

type Date

type Date struct {
	Date         string `json:"date"`
	TimezoneType string `json:"timezonetype"`
}

type DispatcherDownloaderMessage

type DispatcherDownloaderMessage struct {
	AnalysisId     uuid.UUID `json:"analysis_id"`
	ProjectId      uuid.UUID `json:"project_id"`
	IntegrationId  uuid.UUID `json:"integration_id"`
	OrganizationId uuid.UUID `json:"organization_id"`
}

Dispatcher -> Downloader

type DispatcherPluginMessage

type DispatcherPluginMessage struct {
	Data           any       `json:"data"`
	AnalysisId     uuid.UUID `json:"analysis_id"`
	OrganizationId uuid.UUID `json:"organization_id"`
}

type DownloaderDispatcherMessage

type DownloaderDispatcherMessage struct {
	AnalysisId          uuid.UUID `json:"analysis_id"`
	ProjectId           uuid.UUID `json:"project_id"`
	IntegrationId       uuid.UUID `json:"integration_id"`
	OrganizationId      uuid.UUID `json:"organization_id"`
	DetectedLanguages   []string  `json:"detected_languages"`
	PrimaryLanguage     string    `json:"primary_language"`
	DetectionConfidence float64   `json:"detection_confidence"`
}

Downloader -> Dispatcher

type PluginDispatcherMessage

type PluginDispatcherMessage struct {
	AnalysisId uuid.UUID `json:"analysis_id"`
	Plugin     string    `json:"sbom"`
}

Sbom -> Dispatcher

type SbomPackageFollowerMessage

type SbomPackageFollowerMessage struct {
	AnalysisId    uuid.UUID `json:"analysis_id"`
	PackagesNames []string  `json:"package_name"`
	Language      string    `json:"language"` // "javascript", "php", etc.
}

Sbom -> PackageFollower

type SymfonyDispatcherContext

type SymfonyDispatcherContext struct {
	Context SymfonyDispatcherMessage `json:"context"`
}

type SymfonyDispatcherMessage

type SymfonyDispatcherMessage struct {
	Analysis           int      `json:"analysis"`
	Analyzers          []string `json:"analyzers"`
	Date               Date     `json:"date"`
	Uid                int      `json:"uid"`
	Project            string   `json:"project"`
	DisallowedLicenses []string `json:"disallowed_licenses"`
}

Symfony -> Dispatcher

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL