package
0.0.0-20241217200950-e77bea9c52fc
Repository: https://chromium.googlesource.com/infra/luci/luci-go
Documentation: pkg.go.dev

# Functions

Create inserts clustering state for a chunk.
CreateEntriesForTesting creates the given entries, for testing.
EstimateChunks estimates the total number of chunks in the ClusteringState table for the given project.
NewEntry creates a new entry builder with the given uniqifier.
Read reads clustering state for a chunk.
ReadAllForTesting reads all state entries in the given project (up to 1 million records) for testing.
ReadLastUpdated reads the last updated time of the specified chunks.
ReadNextN reads the n consecutively next clustering state entries matching ReadNextOptions.
ReadProjects read all distinct projects with a clustering state entry..
UpdateClustering updates the clustering results on a chunk.

# Variables

EndOfTable is the highest possible chunk ID that can be stored.
NotFound is the error returned by Read if the row could not be found.

# Structs

ChunkKey represents the identify of a chunk.
Entry
Entry represents the clustering state of a chunk, consisting of: - Metadata about what test results were clustered.
EntryBuilder provides methods to build a new Entry.
ReadNextOptions specifies options for ReadNextN.