luci: Index | Files

package history

import ""


Package Files

paging.go worker.go


const DefaultPageSize = 100

DefaultPageSize is how many test results to return when unspecified.

func ValidatePageToken Uses

func ValidatePageToken(t string) error

ValidatePageToken returns an error if the given token is invalid.

type Query Uses

type Query struct {
    Request *pb.GetTestResultHistoryRequest
    // contains filtered or unexported fields

Query represents the details of the results history to be retrieved.

func (*Query) Execute Uses

func (q *Query) Execute(ctx context.Context) ([]*pb.GetTestResultHistoryResponse_Entry, string, error)

Execute runs the query and returns the results in a slice, along with a token to get the next page of results (if any) and an error.

Package history imports 15 packages (graph). Updated 2020-11-27. Refresh now. Tools for package owners.