Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Differ ¶
type Differ interface {
// DeleteUpdateOperations marks the provided refs as seen and processed.
DeleteUpdateOperations(context.Context, ...uuid.UUID) error
// UpdateDiff reports the differences between the provided refs.
//
// "Prev" can be `uuid.Nil` to indicate "earliest known ref."
UpdateDiff(_ context.Context, prev, cur uuid.UUID) (*driver.UpdateDiff, error)
// LatestUpdateOperations returns a ref for the most recent update operation
// per updater.
LatestUpdateOperations(context.Context) (map[string]uuid.UUID, error)
// LatestUpdateOperation returns a ref for the most recent update operation
// across all updaters.
LatestUpdateOperation(context.Context) (uuid.UUID, error)
}
Differ is an interface providing information on update operations.
All operations are done via "ref", which is a UUID.
type Scanner ¶
type Scanner interface {
Scan(ctx context.Context, ir *claircore.IndexReport) (*claircore.VulnerabilityReport, error)
}
Scanner is an interface providing a claircore.VulnerabilityReport given a claircore.IndexReport
Click to show internal directories.
Click to hide internal directories.