vulnerabilityruntime

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coordinator

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

func (*Coordinator) ReconcileAdvisoryRevision

func (c *Coordinator) ReconcileAdvisoryRevision(ctx context.Context, result advisory.MaterializationResult) error

func (*Coordinator) ReconcileSBOM

func (c *Coordinator) ReconcileSBOM(ctx context.Context, publication sbom.InventoryPublication) error

func (*Coordinator) RecoverAdvisoryWork added in v0.2.0

func (c *Coordinator) RecoverAdvisoryWork(ctx context.Context, limit int) (int, error)

RecoverAdvisoryWork dispatches committed-but-unevaluated revisions without fetching providers again. Each tenant is isolated so one poison scope cannot suppress progress for the rest of the fleet.

func (*Coordinator) RecoverInventoryWork added in v0.2.0

func (c *Coordinator) RecoverInventoryWork(ctx context.Context, tenantID shared.ID, owner string, lease time.Duration, limit int) (int, error)

RecoverInventoryWork leases committed current generations and correlates them independently. A failed row is retried with bounded backoff and eventually poisoned; subsequent rows are always attempted.

func (*Coordinator) SetAdvisoryRunStarter added in v0.2.0

func (c *Coordinator) SetAdvisoryRunStarter(starter advisoryRunStarter)

func (*Coordinator) SetInventoryWorkStore added in v0.2.0

func (c *Coordinator) SetInventoryWorkStore(store ports.InventoryWorkStore)

Jump to

Keyboard shortcuts

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