orchestrator

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InitializationStatus string

Global variable to track package initialization status.

Functions

This section is empty.

Types

type Orchestrator

type Orchestrator struct {
	// contains filtered or unexported fields
}

Orchestrator manages the high-level lifecycle of a scan. It is injected with fully configured engine components.

func New

func New(

	cfg config.Interface,
	logger *zap.Logger,
	discoveryEngine schemas.DiscoveryEngine,
	taskEngine schemas.TaskEngine,
) (*Orchestrator, error)

New creates a new Orchestrator with its dependencies provided as schemas. This decoupling is crucial for testability and architectural flexibility.

func (*Orchestrator) StartScan

func (o *Orchestrator) StartScan(ctx context.Context, targets []string, scanID string) error

StartScan executes the main scanning workflow.

Jump to

Keyboard shortcuts

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