Back to godoc.org

Package recorder

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Overview

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

Index

Constants

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.

func InitServer

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

InitServer initializes a recorder server.

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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier