Documentation
¶
Overview ¶
resultstore fetches and process results from ResultStore.
Index ¶
- func Connect(ctx context.Context, serviceAccountPath string) (*grpc.ClientConn, error)
- func ResultStoreColumnReader(client *DownloadClient, reprocess time.Duration) updater.ColumnReader
- func Updater(resultStoreClient *DownloadClient, gcsClient gcs.Client, ...) updater.GroupUpdater
- type DownloadClient
- type TestResultStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
Connect returns a secure gRPC connection.
Authenticates as the service account if specified otherwise the default user.
func ResultStoreColumnReader ¶
func ResultStoreColumnReader(client *DownloadClient, reprocess time.Duration) updater.ColumnReader
ResultStoreColumnReader fetches results since last update from ResultStore and translates them into columns.
func Updater ¶
func Updater(resultStoreClient *DownloadClient, gcsClient gcs.Client, groupTimeout time.Duration, write bool) updater.GroupUpdater
Updater returns a ResultStore-based GroupUpdater, which knows how to process result data stored in ResultStore.
Types ¶
type DownloadClient ¶
type DownloadClient struct {
// contains filtered or unexported fields
}
DownloadClient provides a client to download ResultStore results from.
func NewClient ¶
func NewClient(conn *grpc.ClientConn) *DownloadClient
NewClient uses the specified gRPC connection to connect to ResultStore.
func (*DownloadClient) FetchInvocation ¶
func (c *DownloadClient) FetchInvocation(ctx context.Context, log logrus.FieldLogger, invocationID string) (*fetchResult, error)
FetchInvocation returns all details for a given invocation.
type TestResultStatus ¶ added in v0.0.166
type TestResultStatus int64
Click to show internal directories.
Click to hide internal directories.