import "go.chromium.org/luci/resultdb/internal"
common.go http_client.go isolate.go main.go
AssertUTC panics if t is not UTC.
CommonPostlude must be used as a postlude in all ResultDB services.
Extracts a status using appstatus and returns to the requester. If the error is internal or unknown, logs the stack trace.
IsolateURL returns a machine-readable URL for an isolated object.
Main registers all dependencies and runs a service.
MustGetContextHTTPClient retrieves the current http.client from the context.
ParseIsolateURL parses an isolate URL. It is a reverse of IsolateURL.
WithSelfTransport sets an http client in the context using the service's own authroity. WARNING: Use this only when using auth.AsProject is not possible, as using this to authorize RPCs that touch project data leads to "confused deputy" problems.
WithTestHTTPClient sets the supplied http client in the context for testing.
Path | Synopsis |
---|---|
artifactcontent | Package artifactcontent can serve artifact content via plain HTTP securely. |
artifacts | |
cron | Package cron can runs functions periodically. |
exonerations | |
history | |
invocations | |
pagination | |
permissions | |
proto | |
resultcount | |
services/bqexporter | |
services/deriver | Package deriver implements a binary that hosts luci.resultdb.v1.Deriver service. |
services/deriver/formats | |
services/deriver/util | |
services/finalizer | |
services/globalmetrics | Package globalmetrics reports metrics that are computationally heavy. |
services/purger | Package purger deletes expired test results from Spanner. |
services/recorder | Package recorder implements a binary that hosts luci.resultdb.v1.Recorder service. |
services/resultdb | |
spanutil | Package span contains utility functions to interact with the underlying Spanner storage. |
tasks | Package tasks implements asynchronous invocation processing. |
tasks/taskspb | |
testresults | |
testutil | |
testutil/insert | Package insert implements functions to insert rows for testing purposes. |
Package internal imports 17 packages (graph) and is imported by 14 packages. Updated 2021-01-18. Refresh now. Tools for package owners.