package
0.5.5
Repository: https://github.com/quay/claircore.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package postgres implements the indexer store interface for a PostgreSQL database.

# Functions

EcosystemsToScanners extracts and dedupes multiple ecosystems and returns their discrete scanners.
MergeVS merges lists of scanners into a single list of VersionedScanner types.
NewMockCoalescer creates a new mock instance.
NewMockDistributionScanner creates a new mock instance.
NewMockFetcher creates a new mock instance.
NewMockLayerScanner creates a new mock instance.
NewMockPackageScanner creates a new mock instance.
NewMockRepositoryScanner creates a new mock instance.
NewMockStore creates a new mock instance.
NewMockVersionedScanner creates a new mock instance.
No description provided by the author

# Constants

InMem - layers will be fetched via HTTP and writen to the layer's in memory byte array.
OnDisk - layers will be fetched via HTTP and writen to disk.
No description provided by the author
Tee - layers will be fetched via HTTP and written both the layer's in memory byte array and onto disk.

# Structs

Ecosystems group together scanners and a Coalescer which are commonly used together.
layerArifact aggregates the any artifacts found within a layer.
MockCoalescer is a mock of Coalescer interface.
MockCoalescerMockRecorder is the mock recorder for MockCoalescer.
MockDistributionScanner is a mock of DistributionScanner interface.
MockDistributionScannerMockRecorder is the mock recorder for MockDistributionScanner.
MockFetcher is a mock of Fetcher interface.
MockFetcherMockRecorder is the mock recorder for MockFetcher.
MockLayerScanner is a mock of LayerScanner interface.
MockLayerScannerMockRecorder is the mock recorder for MockLayerScanner.
MockPackageScanner is a mock of PackageScanner interface.
MockPackageScannerMockRecorder is the mock recorder for MockPackageScanner.
MockRepositoryScanner is a mock of RepositoryScanner interface.
MockRepositoryScannerMockRecorder is the mock recorder for MockRepositoryScanner.
MockStore is a mock of Store interface.
MockStoreMockRecorder is the mock recorder for MockStore.
MockVersionedScanner is a mock of VersionedScanner interface.
MockVersionedScannerMockRecorder is the mock recorder for MockVersionedScanner.
Opts are options to instantiate a indexer.

# Interfaces

Coalescer takes a set of layers and creates coalesced IndexReport.
ConfigurableScanner is an interface scanners can implement to receive configuration.
No description provided by the author
Fetcher is responsible for downloading a layer, uncompressing if necessary, and making the uncompressed tar contents available for reading.
Indexer interface provide the method set required for indexing layer and manifest contents into a persistent store.
LayerScanner is an interface for scanning a set of layer's contents and indexing discovered items into the persistence layer.
PackageScanner provides an interface for unique identification or a PackageScanner and a Scan method for extracting installed packages from an individual container layer.
Querier interface provides the method set to ascertain indexed artifacts and query whether a layer or manifest has been scanned.
No description provided by the author
RPCScanner is an interface scanners can implement to receive configuration and denote that they expect to be able to talk to the network at run time.
Setter interface provides the method set for required marking events, or registering components, associated with an Index operation.
Store is an interface for dealing with objects libindex needs to persist.
VersionedScanner can be embedded into specific scanner types.

# Type aliases

ConfigDeserializer can be thought of as an Unmarshal function with the byte slice provided.
LayerFetchOpt tells libindex where to store fetched layers.
VersionedScanners implements a list with construction methods not concurrency safe.