collector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

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

Collector orchestrates probe execution

func New

func New(input NewInput) *Collector

New creates a new Collector

func (*Collector) Collect

func (c *Collector) Collect(ctx context.Context) (*models.ScanResult, error)

Collect runs all enabled probes and collects findings

type NewInput

type NewInput struct {
	Probes     []probe.Probe
	Config     *models.Config
	NoCache    bool
	NoProgress bool
}

NewInput holds the parameters for creating a new Collector

Jump to

Keyboard shortcuts

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