Documentation

Index

Constants

View Source
const DefaultPageSize = 100

DefaultPageSize is how many test results to return when unspecified.

Variables

This section is empty.

Functions

func ValidatePageToken

func ValidatePageToken(t string) error

ValidatePageToken returns an error if the given token is invalid.

Types

type Query

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

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.