package
0.0.0-20240716132614-1643519e6f91
Repository: https://github.com/triggermail/luci-go.git
Documentation: pkg.go.dev

# Packages

Package archive implements a storage.Storage instance that retrieves logs from a Google Storage archive.
Package bigtable provides an implementation of the Storage interface backed by Google Cloud Platform's BigTable.

# Functions

HashKey composes a hex-encoded SHA256 string from the supplied parts.
MakeEntry creates a new Entry.

# Variables

ErrBadData is an error returned when the stored data is invalid.
ErrDoesNotExist returned if an attempt is made to read a record that doesn't exist.
ErrExists returned if an attempt is made to overwrite an existing record.
ErrReadOnly can be returned by Storage methods to indicate that the Storage is read-only.

# Structs

CacheKey is a single cache item's key.
Config is the set of runtime configuration parameters for this storage instance.
Entry
Entry is a logpb.LogEntry wrapper that lazily evaluates / unmarshals the underlying LogEntry data as needed.
GetRequest is a request to retrieve a series of LogEntry records.
PutRequest describes adding a single storage record to BigTable.

# Interfaces

Cache is a simple cache interface.
Storage is an abstract LogDog storage implementation.

# Type aliases

GetCallback is invoked for each record in the Get request.