package
0.0.0-20240827195042-80fe123be947
Repository: https://github.com/evergreen-ci/logkeeper.git
Documentation: pkg.go.dev

# Functions

CheckBuildMetadata returns whether the metadata file exists for the given build.
CheckTestMetadata returns whether the metadata file exists for the given test.
DownloadLogLines returns log lines for a given build ID and test ID.
FindBuildByID returns the build metadata for the given ID from the pail-backed offline storage.
FindTestByID returns the test metadata for the given build ID and test ID from the pail-backed offline storage.
FindTestsForBuild returns all of the test metadata for the given build ID from the pail-backed offline storage.
InsertLogLines uploads log lines for a given build or test to the pail-backed offline storage.
NewBatchedLog returns a LogIterator that fetches batches (size set by the caller) of chunks from blob storage in parallel while iterating over lines of a buildlogger log.
NewBuildID generates a new build ID based on the hash of the given builder and build number.
NewMergeIterator returns a LogIterator that merges N buildlogger logs, passed in as LogIterators, respecting the order of each line's timestamp.
NewParallelizedLogIterator returns a LogIterator that fetches all chunks from blob storage in parallel while iterating over lines of a buildlogger log.
NewSerializedLogIterator returns a LogIterator that serially fetches chunks from blob storage while iterating over lines of a buildlogger log.
NewTestID returns a new TestID with it's timestamp set to startTime.
NewTimeRange Creates a new time range.
UnmarshalLogJSON unmarshals log lines from JSON into a slice of LogLineItem.

# Variables

No description provided by the author
TimeRangeMax Chosen because it is effectively infinitely far in the future but UnixNano only works through 2262.
No description provided by the author

# Structs

Build contains metadata about a build.
LogChunkInfo describes a chunk of log lines stored in pail-backed offline storage.
LogIteratorHeap is a heap of LogIterator items.
LogLineItem represents a single line in a log.
Test describes metadata of a test stored in pail-backed offline storage.
No description provided by the author

# Interfaces

Iterator represents a cursor for generic iteration over a sequence of items.
LogIterator is an interface that enables iterating over lines of buildlogger logs.

# Type aliases

LogChunk is a grouping of lines.