datastore

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadDB

func DownloadDB(ctx context.Context, dbURL string, dest string) error

func NewSQLiteMatcherStore

func NewSQLiteMatcherStore(DSN string, doMigration bool) (*sqliteMatcherStore, error)

Types

type LocalIndexerStore

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

LocalIndexerStore is an implementation of indexer.Indexer.

func NewLocalIndexerStore

func NewLocalIndexerStore() *LocalIndexerStore

func (*LocalIndexerStore) AffectedManifests

AffectedManifests implements base method.

func (*LocalIndexerStore) Close

func (m *LocalIndexerStore) Close(_ context.Context) error

Close implements base method.

func (*LocalIndexerStore) DeleteManifests

func (m *LocalIndexerStore) DeleteManifests(_ context.Context, _ ...claircore.Digest) ([]claircore.Digest, error)

DeleteManifests implements base method.

func (*LocalIndexerStore) DistributionsByLayer

DistributionsByLayer implements base method.

func (*LocalIndexerStore) FilesByLayer

FilesByLayer implements base method.

func (*LocalIndexerStore) IndexDistributions

func (m *LocalIndexerStore) IndexDistributions(_ context.Context, distros []*claircore.Distribution, l *claircore.Layer, vs indexer.VersionedScanner) error

IndexDistributions implements base method.

func (*LocalIndexerStore) IndexFiles

IndexFiles implements base method.

func (*LocalIndexerStore) IndexManifest

func (m *LocalIndexerStore) IndexManifest(_ context.Context, _ *claircore.IndexReport) error

IndexManifest implements base method.

func (*LocalIndexerStore) IndexPackages

IndexPackages implements base method.

func (*LocalIndexerStore) IndexReport

IndexReport implements base method.

func (*LocalIndexerStore) IndexRepositories

IndexRepositories implements base method.

func (*LocalIndexerStore) LayerScanned

LayerScanned implements base method.

func (*LocalIndexerStore) ManifestScanned

ManifestScanned implements base method.

func (*LocalIndexerStore) PackagesByLayer

PackagesByLayer implements base method.

func (*LocalIndexerStore) PersistManifest

func (m *LocalIndexerStore) PersistManifest(_ context.Context, _ claircore.Manifest) error

PersistManifest implements base method.

func (*LocalIndexerStore) RegisterScanners

func (m *LocalIndexerStore) RegisterScanners(_ context.Context, _ indexer.VersionedScanners) error

RegisterScanners implements base method.

func (*LocalIndexerStore) RepositoriesByLayer

RepositoriesByLayer implements base method.

func (*LocalIndexerStore) SetIndexFinished

SetIndexFinished implements base method.

func (*LocalIndexerStore) SetIndexReport

func (m *LocalIndexerStore) SetIndexReport(_ context.Context, _ *claircore.IndexReport) error

SetIndexReport implements base method.

func (*LocalIndexerStore) SetLayerScanned

SetLayerScanned implements base method.

Jump to

Keyboard shortcuts

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