Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageWorker ¶
type ImageWorker struct {
// contains filtered or unexported fields
}
ImageWorker implements the Worker interface
func NewImageWorker ¶
func NewImageWorker( queue queue.TaskQueue, scanner scanner.Scanner, policy policy.PolicyEngine, attestor attestation.Attestor, registry registry.Client, stateStore statestore.StateStore, config Config, logger *slog.Logger, regsyncCfg *config.RegsyncConfig, ) *ImageWorker
NewImageWorker creates a new worker instance
func (*ImageWorker) ProcessTask ¶
ProcessTask executes the complete workflow for one image with retry logic
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline orchestrates the complete scan workflow
func NewPipeline ¶
func NewPipeline(worker *ImageWorker, logger *slog.Logger) *Pipeline
NewPipeline creates a new pipeline instance
Click to show internal directories.
Click to hide internal directories.