luci: go.chromium.org/luci/resultdb/internal/services/resultdb Index | Files

package resultdb

import "go.chromium.org/luci/resultdb/internal/services/resultdb"

Index

Package Files

get_artifact.go get_invocation.go get_test_exoneration.go get_test_result.go list_artifacts.go list_test_exonerations.go list_test_results.go query_artifacts.go query_test_exonerations.go query_test_results.go resultdb.go

func InitServer Uses

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

InitServer initializes a resultdb server.

type Options Uses

type Options struct {
    // InsecureSelfURLs is set to true to use http:// (not https://) for URLs
    // pointing back to ResultDB.
    InsecureSelfURLs bool

    // ContentHostnameMap maps a Host header of GetArtifact request to a host name
    // to use for all user-content URLs.
    //
    // Special key "*" indicates a fallback.
    ContentHostnameMap map[string]string

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

Options is resultdb server configuration.

Package resultdb imports 21 packages (graph) and is imported by 1 packages. Updated 2020-05-30. Refresh now. Tools for package owners.