matcher

package
v4.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Differ

type Differ interface {
	DeleteUpdateOperations(context.Context, ...uuid.UUID) error
	UpdateDiff(_ context.Context, prev, cur uuid.UUID) (*driver.UpdateDiff, error)
	LatestUpdateOperations(context.Context) (map[string]uuid.UUID, error)
	LatestUpdateOperation(context.Context) (uuid.UUID, error)
}

Differ is an interface providing information on update operations.

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

type Service

type Service interface {
	Scanner
	Differ
}

Service is an aggregate interface wrapping claircore.Libvuln functionality.

Implementation may use a local instance of claircore.Libindex or a remote instance via http or grpc client.

Jump to

Keyboard shortcuts

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