backfill

package
v0.0.0-...-2504d47 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillIndex

func FillIndex(
	store shared.Datastore,
	logger shared.Logger,
	rt monitor.Runtime,
	interval time.Duration,
	maxIngestedRuns uint,
	maxBytes uint64,
	evictionPercent float64,
	idx index.Index,
) (monitor.Monitor, error)

FillIndex starts backfilling an index given a series of configuration parameters for run fetching and index monitoring. The backfilling process will halt either: The first time a run is evicted from the index.Index via EvictAnyRun(), OR the first time the returned monitor.Monitor is stopped via Stop(). nolint:ireturn // TODO: Fix ireturn lint error

func GetDatastore

func GetDatastore(projectID string, gcpCredentialsFile *string, _ shared.Logger) (shared.Datastore, error)

GetDatastore constructs a shared.Datastore interface that loads runs from Datastore in reverse cronological order, by shared.TestRun.TimeStart. nolint:ireturn // TODO: Fix ireturn lint error

Types

This section is empty.

Directories

Path Synopsis
Package mock_backfill is a generated GoMock package.
Package mock_backfill is a generated GoMock package.

Jump to

Keyboard shortcuts

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