recorder

package
v0.0.0-...-4a11b79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Overview

Package recorder implements a binary that hosts luci.resultdb.v1.Recorder service.

Index

Constants

View Source
const UpdateTokenMetadataKey = "update-token"

UpdateTokenMetadataKey is the metadata.MD key for the secret update token required to mutate an invocation. It is returned by CreateInvocation RPC in response header metadata, and is required by all RPCs mutating an invocation.

Variables

This section is empty.

Functions

func InitServer

func InitServer(srv *server.Server, opt Options) error

InitServer initializes a recorder server.

Types

type Options

type Options struct {
	// Duration since invocation creation after which to delete expected test
	// results.
	ExpectedResultsExpiration time.Duration

	// ArtifactRBEInstance is the name of the RBE instance to use for artifact
	// storage. Example: "projects/luci-resultdb/instances/artifacts".
	ArtifactRBEInstance string
}

Options is recorder server configuration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL