luci: go.chromium.org/luci/resultdb/proto/v1 Index | Files

package resultpb

import "go.chromium.org/luci/resultdb/proto/v1"

Index

Package Files

artifact.pb.go common.pb.go deriver.mock.pb.go deriver.pb.go deriverserver_dec.go gen.go invocation.pb.go pb.discovery.go predicate.pb.go recorder.mock.pb.go recorder.pb.go recorderserver_dec.go resultdb.mock.pb.go resultdb.pb.go resultdbserver_dec.go test_result.pb.go

Variables

var (
    DeriveChromiumInvocationPreconditionFailureType_name = map[int32]string{
        0:  "DERIVE_CHROMIUM_INVOCATION_PRECONDITION_FAILURE_TYPE_UNSPECIFIED",
        1:  "INCOMPLETE_CHROMIUM_SWARMING_TASK",
    }
    DeriveChromiumInvocationPreconditionFailureType_value = map[string]int32{
        "DERIVE_CHROMIUM_INVOCATION_PRECONDITION_FAILURE_TYPE_UNSPECIFIED": 0,
        "INCOMPLETE_CHROMIUM_SWARMING_TASK":                                1,
    }
)

Enum value maps for DeriveChromiumInvocationPreconditionFailureType.

var (
    Invocation_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "ACTIVE",
        2:  "FINALIZING",
        3:  "FINALIZED",
    }
    Invocation_State_value = map[string]int32{
        "STATE_UNSPECIFIED": 0,
        "ACTIVE":            1,
        "FINALIZING":        2,
        "FINALIZED":         3,
    }
)

Enum value maps for Invocation_State.

var (
    TestResultPredicate_Expectancy_name = map[int32]string{
        0:  "ALL",
        1:  "VARIANTS_WITH_UNEXPECTED_RESULTS",
        2:  "VARIANTS_WITH_ONLY_UNEXPECTED_RESULTS",
    }
    TestResultPredicate_Expectancy_value = map[string]int32{
        "ALL":                                   0,
        "VARIANTS_WITH_UNEXPECTED_RESULTS":      1,
        "VARIANTS_WITH_ONLY_UNEXPECTED_RESULTS": 2,
    }
)

Enum value maps for TestResultPredicate_Expectancy.

var (
    TestStatus_name = map[int32]string{
        0:  "STATUS_UNSPECIFIED",
        1:  "PASS",
        2:  "FAIL",
        3:  "CRASH",
        4:  "ABORT",
        5:  "SKIP",
    }
    TestStatus_value = map[string]int32{
        "STATUS_UNSPECIFIED": 0,
        "PASS":               1,
        "FAIL":               2,
        "CRASH":              3,
        "ABORT":              4,
        "SKIP":               5,
    }
)

Enum value maps for TestStatus.

var File_go_chromium_org_luci_resultdb_proto_v1_artifact_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_resultdb_proto_v1_common_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_resultdb_proto_v1_deriver_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_resultdb_proto_v1_invocation_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_resultdb_proto_v1_predicate_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_resultdb_proto_v1_recorder_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_resultdb_proto_v1_resultdb_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_resultdb_proto_v1_test_result_proto protoreflect.FileDescriptor

func FileDescriptorSet Uses

func FileDescriptorSet() *descriptor.FileDescriptorSet

FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

Will not return nil.

Do NOT modify the returned descriptor.

func RegisterDeriverServer Uses

func RegisterDeriverServer(s prpc.Registrar, srv DeriverServer)

func RegisterRecorderServer Uses

func RegisterRecorderServer(s prpc.Registrar, srv RecorderServer)

func RegisterResultDBServer Uses

func RegisterResultDBServer(s prpc.Registrar, srv ResultDBServer)

type Artifact Uses

type Artifact struct {

    // Can be used to refer to this artifact.
    // Format:
    // - For invocation-level artifacts:
    //   "invocations/{INVOCATION_ID}/artifacts/{ARTIFACT_ID}".
    // - For test-result-level artifacts:
    //   "invocations/{INVOCATION_ID}/tests/{URL_ESCAPED_TEST_ID}/results/{RESULT_ID}/artifacts/{ARTIFACT_ID}".
    // where URL_ESCAPED_TEST_ID is the test_id escaped with
    // https://golang.org/pkg/net/url/#PathEscape (see also https://aip.dev/122),
    // and ARTIFACT_ID is documented below.
    // Examples: "screenshot.png", "traces/a.txt".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A local identifier of the artifact, unique within the parent resource.
    // MAY have slashes, but MUST NOT start with a slash.
    // SHOULD not use backslashes.
    // Regex: ^[[:word:]]([[:print:]]{0,254}[[:word:]])?$
    ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
    // A signed short-lived URL to fetch the contents of the artifact.
    // See also fetch_url_expiration.
    //
    // Internally, this may have format "isolate://{host}/{ns}/{digest}" at the
    // storage level, but it is converted to an HTTPS URL before serving.
    FetchUrl string `protobuf:"bytes,3,opt,name=fetch_url,json=fetchUrl,proto3" json:"fetch_url,omitempty"`
    // When fetch_url expires. If expired, re-request this Artifact.
    FetchUrlExpiration *timestamp.Timestamp `protobuf:"bytes,4,opt,name=fetch_url_expiration,json=fetchUrlExpiration,proto3" json:"fetch_url_expiration,omitempty"`
    // Media type of the artifact.
    // Logs are typically "text/plain" and screenshots are typically "image/png".
    // Optional.
    ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
    // Size of the file.
    // Can be used in UI to decide between displaying the artifact inline or only
    // showing a link if it is too large.
    SizeBytes int64 `protobuf:"varint,6,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
    // contains filtered or unexported fields
}

A file produced during a build/test, typically a test artifact. The parent resource is either a TestResult or an Invocation.

An invocation-level artifact might be related to tests, or it might not, for example it may be used to store build step logs when streaming support is added.

func (*Artifact) Descriptor Uses

func (*Artifact) Descriptor() ([]byte, []int)

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetArtifactId Uses

func (x *Artifact) GetArtifactId() string

func (*Artifact) GetContentType Uses

func (x *Artifact) GetContentType() string

func (*Artifact) GetFetchUrl Uses

func (x *Artifact) GetFetchUrl() string

func (*Artifact) GetFetchUrlExpiration Uses

func (x *Artifact) GetFetchUrlExpiration() *timestamp.Timestamp

func (*Artifact) GetName Uses

func (x *Artifact) GetName() string

func (*Artifact) GetSizeBytes Uses

func (x *Artifact) GetSizeBytes() int64

func (*Artifact) ProtoMessage Uses

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect Uses

func (x *Artifact) ProtoReflect() protoreflect.Message

func (*Artifact) Reset Uses

func (x *Artifact) Reset()

func (*Artifact) String Uses

func (x *Artifact) String() string

type BatchCreateInvocationsRequest Uses

type BatchCreateInvocationsRequest struct {

    // requests[i].request_id MUST be either empty or equal to request_id in
    // this message.
    //
    // Up to 500 requests.
    Requests []*CreateInvocationRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
    // A unique identifier for this request. Restricted to 36 ASCII characters.
    // A random UUID is recommended.
    // This request is only idempotent if a `request_id` is provided, so it is
    // strongly recommended to populate this field.
    RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

A request message for BatchCreateInvocations

func (*BatchCreateInvocationsRequest) Descriptor Uses

func (*BatchCreateInvocationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateInvocationsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateInvocationsRequest) GetRequestId Uses

func (x *BatchCreateInvocationsRequest) GetRequestId() string

func (*BatchCreateInvocationsRequest) GetRequests Uses

func (x *BatchCreateInvocationsRequest) GetRequests() []*CreateInvocationRequest

func (*BatchCreateInvocationsRequest) ProtoMessage Uses

func (*BatchCreateInvocationsRequest) ProtoMessage()

func (*BatchCreateInvocationsRequest) ProtoReflect Uses

func (x *BatchCreateInvocationsRequest) ProtoReflect() protoreflect.Message

func (*BatchCreateInvocationsRequest) Reset Uses

func (x *BatchCreateInvocationsRequest) Reset()

func (*BatchCreateInvocationsRequest) String Uses

func (x *BatchCreateInvocationsRequest) String() string

type BatchCreateInvocationsResponse Uses

type BatchCreateInvocationsResponse struct {

    // Invocations created.
    Invocations []*Invocation `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
    // One token per each created invocation.
    // These are passed in the response instead of as metadata, because large
    // batches increase the size of the response headers beyond allowed limits and
    // cause failures like crbug.com/1064496
    // update_tokens[i] corresponds to invocations[i].
    // *Do not log these values*.
    UpdateTokens []string `protobuf:"bytes,2,rep,name=update_tokens,json=updateTokens,proto3" json:"update_tokens,omitempty"`
    // contains filtered or unexported fields
}

A response message for BatchCreateInvocations RPC.

func (*BatchCreateInvocationsResponse) Descriptor Uses

func (*BatchCreateInvocationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateInvocationsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateInvocationsResponse) GetInvocations Uses

func (x *BatchCreateInvocationsResponse) GetInvocations() []*Invocation

func (*BatchCreateInvocationsResponse) GetUpdateTokens Uses

func (x *BatchCreateInvocationsResponse) GetUpdateTokens() []string

func (*BatchCreateInvocationsResponse) ProtoMessage Uses

func (*BatchCreateInvocationsResponse) ProtoMessage()

func (*BatchCreateInvocationsResponse) ProtoReflect Uses

func (x *BatchCreateInvocationsResponse) ProtoReflect() protoreflect.Message

func (*BatchCreateInvocationsResponse) Reset Uses

func (x *BatchCreateInvocationsResponse) Reset()

func (*BatchCreateInvocationsResponse) String Uses

func (x *BatchCreateInvocationsResponse) String() string

type BatchCreateTestExonerationsRequest Uses

type BatchCreateTestExonerationsRequest struct {

    // Name of the parent invocation, see Invocation.name.
    Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
    // Requests to create TestExonerations.
    // requests[i].invocation MUST be either empty or equal to invocation in this
    // message.
    // requests[i].request_id MUST be either empty or equal to request_id in
    // this message.
    //
    // Up to 500 requests.
    Requests []*CreateTestExonerationRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
    // A unique identifier for this request. Restricted to 36 ASCII characters.
    // A random UUID is recommended.
    // This request is only idempotent if a `request_id` is provided, so it is
    // strongly recommended to populate this field.
    RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

A request message for BatchCreateTestExonerations RPC.

func (*BatchCreateTestExonerationsRequest) Descriptor Uses

func (*BatchCreateTestExonerationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateTestExonerationsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateTestExonerationsRequest) GetInvocation Uses

func (x *BatchCreateTestExonerationsRequest) GetInvocation() string

func (*BatchCreateTestExonerationsRequest) GetRequestId Uses

func (x *BatchCreateTestExonerationsRequest) GetRequestId() string

func (*BatchCreateTestExonerationsRequest) GetRequests Uses

func (x *BatchCreateTestExonerationsRequest) GetRequests() []*CreateTestExonerationRequest

func (*BatchCreateTestExonerationsRequest) ProtoMessage Uses

func (*BatchCreateTestExonerationsRequest) ProtoMessage()

func (*BatchCreateTestExonerationsRequest) ProtoReflect Uses

func (x *BatchCreateTestExonerationsRequest) ProtoReflect() protoreflect.Message

func (*BatchCreateTestExonerationsRequest) Reset Uses

func (x *BatchCreateTestExonerationsRequest) Reset()

func (*BatchCreateTestExonerationsRequest) String Uses

func (x *BatchCreateTestExonerationsRequest) String() string

type BatchCreateTestExonerationsResponse Uses

type BatchCreateTestExonerationsResponse struct {

    // Test exonerations created.
    TestExonerations []*TestExoneration `protobuf:"bytes,1,rep,name=test_exonerations,json=testExonerations,proto3" json:"test_exonerations,omitempty"`
    // contains filtered or unexported fields
}

A response message for BatchCreateTestExonerations RPC.

func (*BatchCreateTestExonerationsResponse) Descriptor Uses

func (*BatchCreateTestExonerationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateTestExonerationsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateTestExonerationsResponse) GetTestExonerations Uses

func (x *BatchCreateTestExonerationsResponse) GetTestExonerations() []*TestExoneration

func (*BatchCreateTestExonerationsResponse) ProtoMessage Uses

func (*BatchCreateTestExonerationsResponse) ProtoMessage()

func (*BatchCreateTestExonerationsResponse) ProtoReflect Uses

func (x *BatchCreateTestExonerationsResponse) ProtoReflect() protoreflect.Message

func (*BatchCreateTestExonerationsResponse) Reset Uses

func (x *BatchCreateTestExonerationsResponse) Reset()

func (*BatchCreateTestExonerationsResponse) String Uses

func (x *BatchCreateTestExonerationsResponse) String() string

type BatchCreateTestResultsRequest Uses

type BatchCreateTestResultsRequest struct {

    // Name of the parent invocation, see Invocation.name.
    Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
    // Requests to create test results.
    // requests[i].invocation MUST be either empty or equal to invocation in this
    // message.
    // requests[i].request_id MUST be either empty or equal to request_id in
    // this message.
    //
    // Up to 500 requests.
    Requests []*CreateTestResultRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
    // A unique identifier for this request. Restricted to 36 ASCII characters.
    // A random UUID is recommended.
    // This request is only idempotent if a `request_id` is provided, so it is
    // strongly recommended to populate this field.
    //
    RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

A request message for BatchCreateTestResults RPC.

func (*BatchCreateTestResultsRequest) Descriptor Uses

func (*BatchCreateTestResultsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateTestResultsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateTestResultsRequest) GetInvocation Uses

func (x *BatchCreateTestResultsRequest) GetInvocation() string

func (*BatchCreateTestResultsRequest) GetRequestId Uses

func (x *BatchCreateTestResultsRequest) GetRequestId() string

func (*BatchCreateTestResultsRequest) GetRequests Uses

func (x *BatchCreateTestResultsRequest) GetRequests() []*CreateTestResultRequest

func (*BatchCreateTestResultsRequest) ProtoMessage Uses

func (*BatchCreateTestResultsRequest) ProtoMessage()

func (*BatchCreateTestResultsRequest) ProtoReflect Uses

func (x *BatchCreateTestResultsRequest) ProtoReflect() protoreflect.Message

func (*BatchCreateTestResultsRequest) Reset Uses

func (x *BatchCreateTestResultsRequest) Reset()

func (*BatchCreateTestResultsRequest) String Uses

func (x *BatchCreateTestResultsRequest) String() string

type BatchCreateTestResultsResponse Uses

type BatchCreateTestResultsResponse struct {

    // Test results created.
    TestResults []*TestResult `protobuf:"bytes,1,rep,name=test_results,json=testResults,proto3" json:"test_results,omitempty"`
    // contains filtered or unexported fields
}

A response message for BatchCreateTestResults RPC.

func (*BatchCreateTestResultsResponse) Descriptor Uses

func (*BatchCreateTestResultsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateTestResultsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateTestResultsResponse) GetTestResults Uses

func (x *BatchCreateTestResultsResponse) GetTestResults() []*TestResult

func (*BatchCreateTestResultsResponse) ProtoMessage Uses

func (*BatchCreateTestResultsResponse) ProtoMessage()

func (*BatchCreateTestResultsResponse) ProtoReflect Uses

func (x *BatchCreateTestResultsResponse) ProtoReflect() protoreflect.Message

func (*BatchCreateTestResultsResponse) Reset Uses

func (x *BatchCreateTestResultsResponse) Reset()

func (*BatchCreateTestResultsResponse) String Uses

func (x *BatchCreateTestResultsResponse) String() string

type BigQueryExport Uses

type BigQueryExport struct {

    // Name of the BigQuery project.
    Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
    // Name of the BigQuery Dataset.
    Dataset string `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"`
    // Name of the BigQuery Table.
    Table       string                      `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
    TestResults *BigQueryExport_TestResults `protobuf:"bytes,4,opt,name=test_results,json=testResults,proto3" json:"test_results,omitempty"`
    // contains filtered or unexported fields
}

BigQueryExport indicates that results in this invocation should be exported to BigQuery after finalization.

func (*BigQueryExport) Descriptor Uses

func (*BigQueryExport) Descriptor() ([]byte, []int)

Deprecated: Use BigQueryExport.ProtoReflect.Descriptor instead.

func (*BigQueryExport) GetDataset Uses

func (x *BigQueryExport) GetDataset() string

func (*BigQueryExport) GetProject Uses

func (x *BigQueryExport) GetProject() string

func (*BigQueryExport) GetTable Uses

func (x *BigQueryExport) GetTable() string

func (*BigQueryExport) GetTestResults Uses

func (x *BigQueryExport) GetTestResults() *BigQueryExport_TestResults

func (*BigQueryExport) ProtoMessage Uses

func (*BigQueryExport) ProtoMessage()

func (*BigQueryExport) ProtoReflect Uses

func (x *BigQueryExport) ProtoReflect() protoreflect.Message

func (*BigQueryExport) Reset Uses

func (x *BigQueryExport) Reset()

func (*BigQueryExport) String Uses

func (x *BigQueryExport) String() string

type BigQueryExport_TestResults Uses

type BigQueryExport_TestResults struct {

    // Use predicate to query test results that should be exported to
    // BigQuery table.
    Predicate *TestResultPredicate `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"`
    // contains filtered or unexported fields
}

TestResultExport indicates that test results should be exported.

func (*BigQueryExport_TestResults) Descriptor Uses

func (*BigQueryExport_TestResults) Descriptor() ([]byte, []int)

Deprecated: Use BigQueryExport_TestResults.ProtoReflect.Descriptor instead.

func (*BigQueryExport_TestResults) GetPredicate Uses

func (x *BigQueryExport_TestResults) GetPredicate() *TestResultPredicate

func (*BigQueryExport_TestResults) ProtoMessage Uses

func (*BigQueryExport_TestResults) ProtoMessage()

func (*BigQueryExport_TestResults) ProtoReflect Uses

func (x *BigQueryExport_TestResults) ProtoReflect() protoreflect.Message

func (*BigQueryExport_TestResults) Reset Uses

func (x *BigQueryExport_TestResults) Reset()

func (*BigQueryExport_TestResults) String Uses

func (x *BigQueryExport_TestResults) String() string

type CommitPosition Uses

type CommitPosition struct {

    // The following fields identify a git repository and a ref within which the
    // numerical position below identifies a single commit.
    Host    string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
    Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
    Ref     string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
    // The numerical position of the commit in the log for the host/project/ref
    // above.
    Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"`
    // contains filtered or unexported fields
}

CommitPosition specifies the numerical position of the commit an invocation runs against, in a repository's commit log. More specifically, a ref's commit log. It also specifies the repo/ref combination that the commit position exists in, to provide context.

func (*CommitPosition) Descriptor Uses

func (*CommitPosition) Descriptor() ([]byte, []int)

Deprecated: Use CommitPosition.ProtoReflect.Descriptor instead.

func (*CommitPosition) GetHost Uses

func (x *CommitPosition) GetHost() string

func (*CommitPosition) GetPosition Uses

func (x *CommitPosition) GetPosition() int64

func (*CommitPosition) GetProject Uses

func (x *CommitPosition) GetProject() string

func (*CommitPosition) GetRef Uses

func (x *CommitPosition) GetRef() string

func (*CommitPosition) ProtoMessage Uses

func (*CommitPosition) ProtoMessage()

func (*CommitPosition) ProtoReflect Uses

func (x *CommitPosition) ProtoReflect() protoreflect.Message

func (*CommitPosition) Reset Uses

func (x *CommitPosition) Reset()

func (*CommitPosition) String Uses

func (x *CommitPosition) String() string

type CommitPositionRange Uses

type CommitPositionRange struct {

    // The lowest commit position to include in the range.
    Earliest *CommitPosition `protobuf:"bytes,1,opt,name=earliest,proto3" json:"earliest,omitempty"`
    // Include only commit positions that that are strictly lower than this.
    Latest *CommitPosition `protobuf:"bytes,2,opt,name=latest,proto3" json:"latest,omitempty"`
    // contains filtered or unexported fields
}

A range of commit positions. Commit positions are assumed to increase from earliest to latest. Note that if both earliest and latest are set, their host/project/ref must be identical. Used for specifying ranges to query in ResultDB.GetTestResultHistory.

func (*CommitPositionRange) Descriptor Uses

func (*CommitPositionRange) Descriptor() ([]byte, []int)

Deprecated: Use CommitPositionRange.ProtoReflect.Descriptor instead.

func (*CommitPositionRange) GetEarliest Uses

func (x *CommitPositionRange) GetEarliest() *CommitPosition

func (*CommitPositionRange) GetLatest Uses

func (x *CommitPositionRange) GetLatest() *CommitPosition

func (*CommitPositionRange) ProtoMessage Uses

func (*CommitPositionRange) ProtoMessage()

func (*CommitPositionRange) ProtoReflect Uses

func (x *CommitPositionRange) ProtoReflect() protoreflect.Message

func (*CommitPositionRange) Reset Uses

func (x *CommitPositionRange) Reset()

func (*CommitPositionRange) String Uses

func (x *CommitPositionRange) String() string

type CreateInvocationRequest Uses

type CreateInvocationRequest struct {

    // Invocation identifier, becomes a part of the invocation.name.
    // LUCI systems MAY create invocations with nicely formatted IDs, such as
    // "build-1234567890". All other clients MUST use GUIDs.
    //
    // Regex: ^[a-z][a-z0-9_\-]*$.
    InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
    // Invocation data to insert.
    Invocation *Invocation `protobuf:"bytes,2,opt,name=invocation,proto3" json:"invocation,omitempty"`
    // A unique identifier for this request. Restricted to 36 ASCII characters.
    // A random UUID is recommended.
    // This request is only idempotent if a `request_id` is provided.
    RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

A request message for CreateInvocation.

func (*CreateInvocationRequest) Descriptor Uses

func (*CreateInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateInvocationRequest.ProtoReflect.Descriptor instead.

func (*CreateInvocationRequest) GetInvocation Uses

func (x *CreateInvocationRequest) GetInvocation() *Invocation

func (*CreateInvocationRequest) GetInvocationId Uses

func (x *CreateInvocationRequest) GetInvocationId() string

func (*CreateInvocationRequest) GetRequestId Uses

func (x *CreateInvocationRequest) GetRequestId() string

func (*CreateInvocationRequest) ProtoMessage Uses

func (*CreateInvocationRequest) ProtoMessage()

func (*CreateInvocationRequest) ProtoReflect Uses

func (x *CreateInvocationRequest) ProtoReflect() protoreflect.Message

func (*CreateInvocationRequest) Reset Uses

func (x *CreateInvocationRequest) Reset()

func (*CreateInvocationRequest) String Uses

func (x *CreateInvocationRequest) String() string

type CreateTestExonerationRequest Uses

type CreateTestExonerationRequest struct {

    // Name of the parent invocation, see Invocation.name.
    Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
    // The TestExoneration to create.
    TestExoneration *TestExoneration `protobuf:"bytes,2,opt,name=test_exoneration,json=testExoneration,proto3" json:"test_exoneration,omitempty"`
    // A unique identifier for this request. Restricted to 36 ASCII characters.
    // A random UUID is recommended.
    // This request is only idempotent if a `request_id` is provided.
    RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

A request message for CreateTestExoneration RPC.

func (*CreateTestExonerationRequest) Descriptor Uses

func (*CreateTestExonerationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTestExonerationRequest.ProtoReflect.Descriptor instead.

func (*CreateTestExonerationRequest) GetInvocation Uses

func (x *CreateTestExonerationRequest) GetInvocation() string

func (*CreateTestExonerationRequest) GetRequestId Uses

func (x *CreateTestExonerationRequest) GetRequestId() string

func (*CreateTestExonerationRequest) GetTestExoneration Uses

func (x *CreateTestExonerationRequest) GetTestExoneration() *TestExoneration

func (*CreateTestExonerationRequest) ProtoMessage Uses

func (*CreateTestExonerationRequest) ProtoMessage()

func (*CreateTestExonerationRequest) ProtoReflect Uses

func (x *CreateTestExonerationRequest) ProtoReflect() protoreflect.Message

func (*CreateTestExonerationRequest) Reset Uses

func (x *CreateTestExonerationRequest) Reset()

func (*CreateTestExonerationRequest) String Uses

func (x *CreateTestExonerationRequest) String() string

type CreateTestResultRequest Uses

type CreateTestResultRequest struct {

    // Name of the parent invocation, see Invocation.name.
    Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
    // The test result to create.
    // Test id and result id are used to dedupe requests, i.e.
    // if a test result with the same test id and result id already exists in
    // the invocation, then the requests succeeds as opposed to returns with
    // ALREADY_EXISTS error.
    TestResult *TestResult `protobuf:"bytes,2,opt,name=test_result,json=testResult,proto3" json:"test_result,omitempty"`
    // A unique identifier for this request. Restricted to 36 ASCII characters.
    // A random UUID is recommended.
    // This request is only idempotent if a `request_id` is provided, so it is
    // strongly recommended to populate this field.
    //
    // Impl note: this field is used to compute the spanner-level result id, which
    // will encode tuple (request_id, index_of_request)", where
    // - request_id is a random GUID if not provided by the user
    // - index_of_request is 0 in CreateTestResult RPC, or index of the request
    //   in BatchCreateTestResultsRequest in the batch RPC.
    // TODO(jchinlee): remove this impl note when it is converted into code.
    RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

A request message for CreateTestResult RPC.

func (*CreateTestResultRequest) Descriptor Uses

func (*CreateTestResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTestResultRequest.ProtoReflect.Descriptor instead.

func (*CreateTestResultRequest) GetInvocation Uses

func (x *CreateTestResultRequest) GetInvocation() string

func (*CreateTestResultRequest) GetRequestId Uses

func (x *CreateTestResultRequest) GetRequestId() string

func (*CreateTestResultRequest) GetTestResult Uses

func (x *CreateTestResultRequest) GetTestResult() *TestResult

func (*CreateTestResultRequest) ProtoMessage Uses

func (*CreateTestResultRequest) ProtoMessage()

func (*CreateTestResultRequest) ProtoReflect Uses

func (x *CreateTestResultRequest) ProtoReflect() protoreflect.Message

func (*CreateTestResultRequest) Reset Uses

func (x *CreateTestResultRequest) Reset()

func (*CreateTestResultRequest) String Uses

func (x *CreateTestResultRequest) String() string

type DecoratedDeriver Uses

type DecoratedDeriver struct {
    // Service is the service to decorate.
    Service DeriverServer
    // Prelude is called for each method before forwarding the call to Service.
    // If Prelude returns an error, then the call is skipped and the error is
    // processed via the Postlude (if one is defined), or it is returned directly.
    Prelude func(ctx context.Context, methodName string, req proto.Message) (context.Context, error)
    // Postlude is called for each method after Service has processed the call, or
    // after the Prelude has returned an error. This takes the the Service's
    // response proto (which may be nil) and/or any error. The decorated
    // service will return the response (possibly mutated) and error that Postlude
    // returns.
    Postlude func(ctx context.Context, methodName string, rsp proto.Message, err error) error
}

func (*DecoratedDeriver) DeriveChromiumInvocation Uses

func (s *DecoratedDeriver) DeriveChromiumInvocation(ctx context.Context, req *DeriveChromiumInvocationRequest) (rsp *Invocation, err error)

type DecoratedRecorder Uses

type DecoratedRecorder struct {
    // Service is the service to decorate.
    Service RecorderServer
    // Prelude is called for each method before forwarding the call to Service.
    // If Prelude returns an error, then the call is skipped and the error is
    // processed via the Postlude (if one is defined), or it is returned directly.
    Prelude func(ctx context.Context, methodName string, req proto.Message) (context.Context, error)
    // Postlude is called for each method after Service has processed the call, or
    // after the Prelude has returned an error. This takes the the Service's
    // response proto (which may be nil) and/or any error. The decorated
    // service will return the response (possibly mutated) and error that Postlude
    // returns.
    Postlude func(ctx context.Context, methodName string, rsp proto.Message, err error) error
}

func (*DecoratedRecorder) BatchCreateInvocations Uses

func (s *DecoratedRecorder) BatchCreateInvocations(ctx context.Context, req *BatchCreateInvocationsRequest) (rsp *BatchCreateInvocationsResponse, err error)

func (*DecoratedRecorder) BatchCreateTestExonerations Uses

func (s *DecoratedRecorder) BatchCreateTestExonerations(ctx context.Context, req *BatchCreateTestExonerationsRequest) (rsp *BatchCreateTestExonerationsResponse, err error)

func (*DecoratedRecorder) BatchCreateTestResults Uses

func (s *DecoratedRecorder) BatchCreateTestResults(ctx context.Context, req *BatchCreateTestResultsRequest) (rsp *BatchCreateTestResultsResponse, err error)

func (*DecoratedRecorder) CreateInvocation Uses

func (s *DecoratedRecorder) CreateInvocation(ctx context.Context, req *CreateInvocationRequest) (rsp *Invocation, err error)

func (*DecoratedRecorder) CreateTestExoneration Uses

func (s *DecoratedRecorder) CreateTestExoneration(ctx context.Context, req *CreateTestExonerationRequest) (rsp *TestExoneration, err error)

func (*DecoratedRecorder) CreateTestResult Uses

func (s *DecoratedRecorder) CreateTestResult(ctx context.Context, req *CreateTestResultRequest) (rsp *TestResult, err error)

func (*DecoratedRecorder) FinalizeInvocation Uses

func (s *DecoratedRecorder) FinalizeInvocation(ctx context.Context, req *FinalizeInvocationRequest) (rsp *Invocation, err error)

func (*DecoratedRecorder) UpdateIncludedInvocations Uses

func (s *DecoratedRecorder) UpdateIncludedInvocations(ctx context.Context, req *UpdateIncludedInvocationsRequest) (rsp *empty.Empty, err error)

func (*DecoratedRecorder) UpdateInvocation Uses

func (s *DecoratedRecorder) UpdateInvocation(ctx context.Context, req *UpdateInvocationRequest) (rsp *Invocation, err error)

type DecoratedResultDB Uses

type DecoratedResultDB struct {
    // Service is the service to decorate.
    Service ResultDBServer
    // Prelude is called for each method before forwarding the call to Service.
    // If Prelude returns an error, then the call is skipped and the error is
    // processed via the Postlude (if one is defined), or it is returned directly.
    Prelude func(ctx context.Context, methodName string, req proto.Message) (context.Context, error)
    // Postlude is called for each method after Service has processed the call, or
    // after the Prelude has returned an error. This takes the the Service's
    // response proto (which may be nil) and/or any error. The decorated
    // service will return the response (possibly mutated) and error that Postlude
    // returns.
    Postlude func(ctx context.Context, methodName string, rsp proto.Message, err error) error
}

func (*DecoratedResultDB) GetArtifact Uses

func (s *DecoratedResultDB) GetArtifact(ctx context.Context, req *GetArtifactRequest) (rsp *Artifact, err error)

func (*DecoratedResultDB) GetInvocation Uses

func (s *DecoratedResultDB) GetInvocation(ctx context.Context, req *GetInvocationRequest) (rsp *Invocation, err error)

func (*DecoratedResultDB) GetTestExoneration Uses

func (s *DecoratedResultDB) GetTestExoneration(ctx context.Context, req *GetTestExonerationRequest) (rsp *TestExoneration, err error)

func (*DecoratedResultDB) GetTestResult Uses

func (s *DecoratedResultDB) GetTestResult(ctx context.Context, req *GetTestResultRequest) (rsp *TestResult, err error)

func (*DecoratedResultDB) GetTestResultHistory Uses

func (s *DecoratedResultDB) GetTestResultHistory(ctx context.Context, req *GetTestResultHistoryRequest) (rsp *GetTestResultHistoryResponse, err error)

func (*DecoratedResultDB) ListArtifacts Uses

func (s *DecoratedResultDB) ListArtifacts(ctx context.Context, req *ListArtifactsRequest) (rsp *ListArtifactsResponse, err error)

func (*DecoratedResultDB) ListTestExonerations Uses

func (s *DecoratedResultDB) ListTestExonerations(ctx context.Context, req *ListTestExonerationsRequest) (rsp *ListTestExonerationsResponse, err error)

func (*DecoratedResultDB) ListTestResults Uses

func (s *DecoratedResultDB) ListTestResults(ctx context.Context, req *ListTestResultsRequest) (rsp *ListTestResultsResponse, err error)

func (*DecoratedResultDB) QueryArtifacts Uses

func (s *DecoratedResultDB) QueryArtifacts(ctx context.Context, req *QueryArtifactsRequest) (rsp *QueryArtifactsResponse, err error)

func (*DecoratedResultDB) QueryTestExonerations Uses

func (s *DecoratedResultDB) QueryTestExonerations(ctx context.Context, req *QueryTestExonerationsRequest) (rsp *QueryTestExonerationsResponse, err error)

func (*DecoratedResultDB) QueryTestResultStatistics Uses

func (s *DecoratedResultDB) QueryTestResultStatistics(ctx context.Context, req *QueryTestResultStatisticsRequest) (rsp *QueryTestResultStatisticsResponse, err error)

func (*DecoratedResultDB) QueryTestResults Uses

func (s *DecoratedResultDB) QueryTestResults(ctx context.Context, req *QueryTestResultsRequest) (rsp *QueryTestResultsResponse, err error)

type DeriveChromiumInvocationPreconditionFailureType Uses

type DeriveChromiumInvocationPreconditionFailureType int32

Used a google.rpc.PreconditionFailure.Violation.type returned as a Status detail by DeriveChromiumInvocation when responding with a PreconditionFailure status code.

const (
    DeriveChromiumInvocationPreconditionFailureType_DERIVE_CHROMIUM_INVOCATION_PRECONDITION_FAILURE_TYPE_UNSPECIFIED DeriveChromiumInvocationPreconditionFailureType = 0
    DeriveChromiumInvocationPreconditionFailureType_INCOMPLETE_CHROMIUM_SWARMING_TASK                                DeriveChromiumInvocationPreconditionFailureType = 1
)

func (DeriveChromiumInvocationPreconditionFailureType) Descriptor Uses

func (DeriveChromiumInvocationPreconditionFailureType) Descriptor() protoreflect.EnumDescriptor

func (DeriveChromiumInvocationPreconditionFailureType) Enum Uses

func (x DeriveChromiumInvocationPreconditionFailureType) Enum() *DeriveChromiumInvocationPreconditionFailureType

func (DeriveChromiumInvocationPreconditionFailureType) EnumDescriptor Uses

func (DeriveChromiumInvocationPreconditionFailureType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeriveChromiumInvocationPreconditionFailureType.Descriptor instead.

func (DeriveChromiumInvocationPreconditionFailureType) Number Uses

func (x DeriveChromiumInvocationPreconditionFailureType) Number() protoreflect.EnumNumber

func (DeriveChromiumInvocationPreconditionFailureType) String Uses

func (x DeriveChromiumInvocationPreconditionFailureType) String() string

func (DeriveChromiumInvocationPreconditionFailureType) Type Uses

func (DeriveChromiumInvocationPreconditionFailureType) Type() protoreflect.EnumType

type DeriveChromiumInvocationRequest Uses

type DeriveChromiumInvocationRequest struct {

    // Derive the invocation from the Swarming task.
    SwarmingTask *DeriveChromiumInvocationRequest_SwarmingTask `protobuf:"bytes,1,opt,name=swarming_task,json=swarmingTask,proto3" json:"swarming_task,omitempty"`
    // contains filtered or unexported fields
}

A request message for DeriveChromiumInvocation RPC.

func (*DeriveChromiumInvocationRequest) Descriptor Uses

func (*DeriveChromiumInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeriveChromiumInvocationRequest.ProtoReflect.Descriptor instead.

func (*DeriveChromiumInvocationRequest) GetSwarmingTask Uses

func (x *DeriveChromiumInvocationRequest) GetSwarmingTask() *DeriveChromiumInvocationRequest_SwarmingTask

func (*DeriveChromiumInvocationRequest) ProtoMessage Uses

func (*DeriveChromiumInvocationRequest) ProtoMessage()

func (*DeriveChromiumInvocationRequest) ProtoReflect Uses

func (x *DeriveChromiumInvocationRequest) ProtoReflect() protoreflect.Message

func (*DeriveChromiumInvocationRequest) Reset Uses

func (x *DeriveChromiumInvocationRequest) Reset()

func (*DeriveChromiumInvocationRequest) String Uses

func (x *DeriveChromiumInvocationRequest) String() string

type DeriveChromiumInvocationRequest_SwarmingTask Uses

type DeriveChromiumInvocationRequest_SwarmingTask struct {

    // Swarming host of task.
    Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
    // ID of swarming task to process and insert.
    //
    // The task should have tags:
    //  test_id_prefix: test_id_prefix for each test suite, e.g.
    //    "ninja://chrome/test:telemetry_gpu_integration_test/trace_test/".
    //  ninja_target: the fully-qualified ninja target used to compile the test
    //    binary used in the task, e.g. "//chrome/test:browser_tests".
    //  bucket: the LUCI bucket of the parent build
    //  buildername: the LUCI builder of the parent build.
    //  test_suite: a value of "test" property in any of the JSON files in
    //    https://chromium.googlesource.com/chromium/src/+/master/testing/buildbot/
    //    used to create the swarming task.
    Id  string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
    // contains filtered or unexported fields
}

Identifies a swarming task.

func (*DeriveChromiumInvocationRequest_SwarmingTask) Descriptor Uses

func (*DeriveChromiumInvocationRequest_SwarmingTask) Descriptor() ([]byte, []int)

Deprecated: Use DeriveChromiumInvocationRequest_SwarmingTask.ProtoReflect.Descriptor instead.

func (*DeriveChromiumInvocationRequest_SwarmingTask) GetHostname Uses

func (x *DeriveChromiumInvocationRequest_SwarmingTask) GetHostname() string

func (*DeriveChromiumInvocationRequest_SwarmingTask) GetId Uses

func (x *DeriveChromiumInvocationRequest_SwarmingTask) GetId() string

func (*DeriveChromiumInvocationRequest_SwarmingTask) ProtoMessage Uses

func (*DeriveChromiumInvocationRequest_SwarmingTask) ProtoMessage()

func (*DeriveChromiumInvocationRequest_SwarmingTask) ProtoReflect Uses

func (x *DeriveChromiumInvocationRequest_SwarmingTask) ProtoReflect() protoreflect.Message

func (*DeriveChromiumInvocationRequest_SwarmingTask) Reset Uses

func (x *DeriveChromiumInvocationRequest_SwarmingTask) Reset()

func (*DeriveChromiumInvocationRequest_SwarmingTask) String Uses

func (x *DeriveChromiumInvocationRequest_SwarmingTask) String() string

type DeriverClient Uses

type DeriverClient interface {
    // Derives an invocation and test results from a Chromium swarming task.
    // Returns the derived invocation; test results should retrieved using
    // ResultDB.ListTestResults or ResultDB.QueryTestResults.
    DeriveChromiumInvocation(ctx context.Context, in *DeriveChromiumInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
}

DeriverClient is the client API for Deriver service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDeriverClient Uses

func NewDeriverClient(cc grpc.ClientConnInterface) DeriverClient

func NewDeriverPRPCClient Uses

func NewDeriverPRPCClient(client *prpc.Client) DeriverClient

type DeriverServer Uses

type DeriverServer interface {
    // Derives an invocation and test results from a Chromium swarming task.
    // Returns the derived invocation; test results should retrieved using
    // ResultDB.ListTestResults or ResultDB.QueryTestResults.
    DeriveChromiumInvocation(context.Context, *DeriveChromiumInvocationRequest) (*Invocation, error)
}

DeriverServer is the server API for Deriver service.

type FinalizeInvocationRequest Uses

type FinalizeInvocationRequest struct {

    // Name of the invocation to finalize.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

A request message for FinalizeInvocation RPC.

func (*FinalizeInvocationRequest) Descriptor Uses

func (*FinalizeInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use FinalizeInvocationRequest.ProtoReflect.Descriptor instead.

func (*FinalizeInvocationRequest) GetName Uses

func (x *FinalizeInvocationRequest) GetName() string

func (*FinalizeInvocationRequest) ProtoMessage Uses

func (*FinalizeInvocationRequest) ProtoMessage()

func (*FinalizeInvocationRequest) ProtoReflect Uses

func (x *FinalizeInvocationRequest) ProtoReflect() protoreflect.Message

func (*FinalizeInvocationRequest) Reset Uses

func (x *FinalizeInvocationRequest) Reset()

func (*FinalizeInvocationRequest) String Uses

func (x *FinalizeInvocationRequest) String() string

type GetArtifactRequest Uses

type GetArtifactRequest struct {

    // The name of the artifact to request, see Artifact.name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

A request message for GetArtifact RPC.

func (*GetArtifactRequest) Descriptor Uses

func (*GetArtifactRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetArtifactRequest.ProtoReflect.Descriptor instead.

func (*GetArtifactRequest) GetName Uses

func (x *GetArtifactRequest) GetName() string

func (*GetArtifactRequest) ProtoMessage Uses

func (*GetArtifactRequest) ProtoMessage()

func (*GetArtifactRequest) ProtoReflect Uses

func (x *GetArtifactRequest) ProtoReflect() protoreflect.Message

func (*GetArtifactRequest) Reset Uses

func (x *GetArtifactRequest) Reset()

func (*GetArtifactRequest) String Uses

func (x *GetArtifactRequest) String() string

type GetInvocationRequest Uses

type GetInvocationRequest struct {

    // The name of the invocation to request, see Invocation.name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

A request message for GetInvocation RPC.

func (*GetInvocationRequest) Descriptor Uses

func (*GetInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInvocationRequest.ProtoReflect.Descriptor instead.

func (*GetInvocationRequest) GetName Uses

func (x *GetInvocationRequest) GetName() string

func (*GetInvocationRequest) ProtoMessage Uses

func (*GetInvocationRequest) ProtoMessage()

func (*GetInvocationRequest) ProtoReflect Uses

func (x *GetInvocationRequest) ProtoReflect() protoreflect.Message

func (*GetInvocationRequest) Reset Uses

func (x *GetInvocationRequest) Reset()

func (*GetInvocationRequest) String Uses

func (x *GetInvocationRequest) String() string

type GetTestExonerationRequest Uses

type GetTestExonerationRequest struct {

    // The name of the test exoneration to request, see TestExoneration.name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

A request message for GetTestExoneration RPC.

func (*GetTestExonerationRequest) Descriptor Uses

func (*GetTestExonerationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTestExonerationRequest.ProtoReflect.Descriptor instead.

func (*GetTestExonerationRequest) GetName Uses

func (x *GetTestExonerationRequest) GetName() string

func (*GetTestExonerationRequest) ProtoMessage Uses

func (*GetTestExonerationRequest) ProtoMessage()

func (*GetTestExonerationRequest) ProtoReflect Uses

func (x *GetTestExonerationRequest) ProtoReflect() protoreflect.Message

func (*GetTestExonerationRequest) Reset Uses

func (x *GetTestExonerationRequest) Reset()

func (*GetTestExonerationRequest) String Uses

func (x *GetTestExonerationRequest) String() string

type GetTestResultHistoryRequest Uses

type GetTestResultHistoryRequest struct {

    // Required. This needs to match the realm that the data being queried exists
    // in.
    // I.e. For a result to be part of the history, it needs to be contained
    // transitively by an invocation in this realm.
    Realm string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
    // Specify the subset of test ids to request history for.
    TestIdRegexp string `protobuf:"bytes,2,opt,name=test_id_regexp,json=testIdRegexp,proto3" json:"test_id_regexp,omitempty"`
    // Specify the subset of test variants to request history for.
    VariantPredicate *VariantPredicate `protobuf:"bytes,3,opt,name=variant_predicate,json=variantPredicate,proto3" json:"variant_predicate,omitempty"`
    // Specify a range of commit positions or a range of timestamps.
    // This is required for the service to know which index to query.
    //
    // Whether the test results are indexed by commit position and/or timestamp is
    // determined according to invocation.history_options.
    //
    // Types that are assignable to Range:
    //	*GetTestResultHistoryRequest_CpRange
    //	*GetTestResultHistoryRequest_TimeRange
    Range isGetTestResultHistoryRequest_Range `protobuf_oneof:"range"`
    // Specifies the number of results per page.
    PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Populate this field to get subsequent pages if the original response
    // contained a next page token.
    // A request for the next page of the results must be identical to the
    // original one except for this field.
    PageToken string `protobuf:"bytes,101,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

A request message for GetTestResultHistory RPC.

func (*GetTestResultHistoryRequest) Descriptor Uses

func (*GetTestResultHistoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTestResultHistoryRequest.ProtoReflect.Descriptor instead.

func (*GetTestResultHistoryRequest) GetCpRange Uses

func (x *GetTestResultHistoryRequest) GetCpRange() *CommitPositionRange

func (*GetTestResultHistoryRequest) GetPageSize Uses

func (x *GetTestResultHistoryRequest) GetPageSize() int64

func (*GetTestResultHistoryRequest) GetPageToken Uses

func (x *GetTestResultHistoryRequest) GetPageToken() string

func (*GetTestResultHistoryRequest) GetRange Uses

func (m *GetTestResultHistoryRequest) GetRange() isGetTestResultHistoryRequest_Range

func (*GetTestResultHistoryRequest) GetRealm Uses

func (x *GetTestResultHistoryRequest) GetRealm() string

func (*GetTestResultHistoryRequest) GetTestIdRegexp Uses

func (x *GetTestResultHistoryRequest) GetTestIdRegexp() string

func (*GetTestResultHistoryRequest) GetTimeRange Uses

func (x *GetTestResultHistoryRequest) GetTimeRange() *TimeRange

func (*GetTestResultHistoryRequest) GetVariantPredicate Uses

func (x *GetTestResultHistoryRequest) GetVariantPredicate() *VariantPredicate

func (*GetTestResultHistoryRequest) ProtoMessage Uses

func (*GetTestResultHistoryRequest) ProtoMessage()

func (*GetTestResultHistoryRequest) ProtoReflect Uses

func (x *GetTestResultHistoryRequest) ProtoReflect() protoreflect.Message

func (*GetTestResultHistoryRequest) Reset Uses

func (x *GetTestResultHistoryRequest) Reset()

func (*GetTestResultHistoryRequest) String Uses

func (x *GetTestResultHistoryRequest) String() string

type GetTestResultHistoryRequest_CpRange Uses

type GetTestResultHistoryRequest_CpRange struct {
    CpRange *CommitPositionRange `protobuf:"bytes,4,opt,name=cp_range,json=cpRange,proto3,oneof"`
}

type GetTestResultHistoryRequest_TimeRange Uses

type GetTestResultHistoryRequest_TimeRange struct {
    TimeRange *TimeRange `protobuf:"bytes,5,opt,name=time_range,json=timeRange,proto3,oneof"`
}

type GetTestResultHistoryResponse Uses

type GetTestResultHistoryResponse struct {

    // The actual results, the order will match the requested range.
    // If multiple entries exist for the same commit position/timestamp they will
    // be internally ordered by TestId, and then by VariantHash.
    Entries []*GetTestResultHistoryResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
    // This field will be set if there are more results to return.
    // To get the next page of data, send the same request again, but include this
    // token.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

A response message for GetTestResultHistory RPC.

func (*GetTestResultHistoryResponse) Descriptor Uses

func (*GetTestResultHistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTestResultHistoryResponse.ProtoReflect.Descriptor instead.

func (*GetTestResultHistoryResponse) GetEntries Uses

func (x *GetTestResultHistoryResponse) GetEntries() []*GetTestResultHistoryResponse_Entry

func (*GetTestResultHistoryResponse) GetNextPageToken Uses

func (x *GetTestResultHistoryResponse) GetNextPageToken() string

func (*GetTestResultHistoryResponse) ProtoMessage Uses

func (*GetTestResultHistoryResponse) ProtoMessage()

func (*GetTestResultHistoryResponse) ProtoReflect Uses

func (x *GetTestResultHistoryResponse) ProtoReflect() protoreflect.Message

func (*GetTestResultHistoryResponse) Reset Uses

func (x *GetTestResultHistoryResponse) Reset()

func (*GetTestResultHistoryResponse) String Uses

func (x *GetTestResultHistoryResponse) String() string

type GetTestResultHistoryResponse_Entry Uses

type GetTestResultHistoryResponse_Entry struct {

    // Commit position of the invocation that contains the result, if available.
    CommitPosition *CommitPosition `protobuf:"bytes,1,opt,name=commit_position,json=commitPosition,proto3" json:"commit_position,omitempty"`
    // Creation time of the invocation that contains the result.
    InvocationTimestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=invocation_timestamp,json=invocationTimestamp,proto3" json:"invocation_timestamp,omitempty"`
    // The result itself. Masked by the `fields` field of
    // `GetResultHistoryRequest`.
    Result *TestResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
    // contains filtered or unexported fields
}

func (*GetTestResultHistoryResponse_Entry) Descriptor Uses

func (*GetTestResultHistoryResponse_Entry) Descriptor() ([]byte, []int)

Deprecated: Use GetTestResultHistoryResponse_Entry.ProtoReflect.Descriptor instead.

func (*GetTestResultHistoryResponse_Entry) GetCommitPosition Uses

func (x *GetTestResultHistoryResponse_Entry) GetCommitPosition() *CommitPosition

func (*GetTestResultHistoryResponse_Entry) GetInvocationTimestamp Uses

func (x *GetTestResultHistoryResponse_Entry) GetInvocationTimestamp() *timestamp.Timestamp

func (*GetTestResultHistoryResponse_Entry) GetResult Uses

func (x *GetTestResultHistoryResponse_Entry) GetResult() *TestResult

func (*GetTestResultHistoryResponse_Entry) ProtoMessage Uses

func (*GetTestResultHistoryResponse_Entry) ProtoMessage()

func (*GetTestResultHistoryResponse_Entry) ProtoReflect Uses

func (x *GetTestResultHistoryResponse_Entry) ProtoReflect() protoreflect.Message

func (*GetTestResultHistoryResponse_Entry) Reset Uses

func (x *GetTestResultHistoryResponse_Entry) Reset()

func (*GetTestResultHistoryResponse_Entry) String Uses

func (x *GetTestResultHistoryResponse_Entry) String() string

type GetTestResultRequest Uses

type GetTestResultRequest struct {

    // The name of the test result to request, see TestResult.name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

A request message for GetTestResult RPC.

func (*GetTestResultRequest) Descriptor Uses

func (*GetTestResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTestResultRequest.ProtoReflect.Descriptor instead.

func (*GetTestResultRequest) GetName Uses

func (x *GetTestResultRequest) GetName() string

func (*GetTestResultRequest) ProtoMessage Uses

func (*GetTestResultRequest) ProtoMessage()

func (*GetTestResultRequest) ProtoReflect Uses

func (x *GetTestResultRequest) ProtoReflect() protoreflect.Message

func (*GetTestResultRequest) Reset Uses

func (x *GetTestResultRequest) Reset()

func (*GetTestResultRequest) String Uses

func (x *GetTestResultRequest) String() string

type HistoryOptions Uses

type HistoryOptions struct {

    // Set this to index the results by the containing invocation's create_time.
    UseInvocationTimestamp bool `protobuf:"varint,1,opt,name=use_invocation_timestamp,json=useInvocationTimestamp,proto3" json:"use_invocation_timestamp,omitempty"`
    // Set this to index by commit position.
    // It's up to the creator of the invocation to set this consistently over
    // time across the same test variant.
    Commit *CommitPosition `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
    // contains filtered or unexported fields
}

HistoryOptions indicates how the invocations should be indexed, so that their results can be queried over a range of time or of commits.

func (*HistoryOptions) Descriptor Uses

func (*HistoryOptions) Descriptor() ([]byte, []int)

Deprecated: Use HistoryOptions.ProtoReflect.Descriptor instead.

func (*HistoryOptions) GetCommit Uses

func (x *HistoryOptions) GetCommit() *CommitPosition

func (*HistoryOptions) GetUseInvocationTimestamp Uses

func (x *HistoryOptions) GetUseInvocationTimestamp() bool

func (*HistoryOptions) ProtoMessage Uses

func (*HistoryOptions) ProtoMessage()

func (*HistoryOptions) ProtoReflect Uses

func (x *HistoryOptions) ProtoReflect() protoreflect.Message

func (*HistoryOptions) Reset Uses

func (x *HistoryOptions) Reset()

func (*HistoryOptions) String Uses

func (x *HistoryOptions) String() string

type Invocation Uses

type Invocation struct {

    // Can be used to refer to this invocation, e.g. in ResultDB.GetInvocation
    // RPC.
    // Format: invocations/{INVOCATION_ID}
    // See also https://aip.dev/122.
    //
    // Output only.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Current state of the invocation.
    //
    // Output only.
    State Invocation_State `protobuf:"varint,2,opt,name=state,proto3,enum=luci.resultdb.v1.Invocation_State" json:"state,omitempty"`
    // When the invocation was created.
    // Output only.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Invocation-level string key-value pairs.
    // A key can be repeated.
    Tags []*StringPair `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
    // When the invocation was finalized, i.e. transitioned to FINALIZED state.
    // If this field is set, implies that the invocation is finalized.
    //
    // Output only.
    FinalizeTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=finalize_time,json=finalizeTime,proto3" json:"finalize_time,omitempty"`
    // Timestamp when the invocation will be forcefully finalized.
    // Can be extended with UpdateInvocation until finalized.
    Deadline *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deadline,proto3" json:"deadline,omitempty"`
    // Names of invocations included into this one. Overall results of this
    // invocation is a UNION of results directly included into this invocation
    // and results from the included invocations, recursively.
    // For example, a Buildbucket build invocation may include invocations of its
    // child swarming tasks and represent overall result of the build,
    // encapsulating the internal structure of the build.
    //
    // The graph is directed.
    // There can be at most one edge between a given pair of invocations.
    // The shape of the graph does not matter. What matters is only the set of
    // reachable invocations. Thus cycles are allowed and are noop.
    //
    // QueryTestResults returns test results from the transitive closure of
    // invocations.
    //
    // Use Recorder.Include RPC to modify this field.
    IncludedInvocations []string `protobuf:"bytes,8,rep,name=included_invocations,json=includedInvocations,proto3" json:"included_invocations,omitempty"`
    // bigquery_exports indicates what BigQuery table(s) that results in this
    // invocation should export to.
    BigqueryExports []*BigQueryExport `protobuf:"bytes,9,rep,name=bigquery_exports,json=bigqueryExports,proto3" json:"bigquery_exports,omitempty"`
    // LUCI identity (e.g. "user:<email>") who created the invocation.
    // Typically, a LUCI service account (e.g.
    // "user:cr-buildbucket@appspot.gserviceaccount.com"), but can also be a user
    // (e.g. "user:johndoe@example.com").
    //
    // Output only.
    CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
    // Full name of the resource that produced results in this invocation.
    // See also https://aip.dev/122#full-resource-names
    // Typical examples:
    // - Swarming task: "//chromium-swarm.appspot.com/tasks/deadbeef"
    // - Buildbucket build: "//cr-buildbucket.appspot.com/builds/1234567890".
    ProducerResource string `protobuf:"bytes,11,opt,name=producer_resource,json=producerResource,proto3" json:"producer_resource,omitempty"`
    // Realm that the invocation exists under.
    // See https://chromium.googlesource.com/infra/luci/luci-py/+/refs/heads/master/appengine/auth_service/proto/realms_config.proto
    Realm string `protobuf:"bytes,12,opt,name=realm,proto3" json:"realm,omitempty"`
    // Specifies if/how to index the contents of this invocation.
    HistoryOptions *HistoryOptions `protobuf:"bytes,13,opt,name=history_options,json=historyOptions,proto3" json:"history_options,omitempty"`
    // contains filtered or unexported fields
}

A conceptual container of results. Immutable once finalized. It represents all results of some computation; examples: swarming task, buildbucket build, CQ attempt. Composable: can include other invocations, see inclusion.proto.

Next id: 14.

func (*Invocation) Descriptor Uses

func (*Invocation) Descriptor() ([]byte, []int)

Deprecated: Use Invocation.ProtoReflect.Descriptor instead.

func (*Invocation) GetBigqueryExports Uses

func (x *Invocation) GetBigqueryExports() []*BigQueryExport

func (*Invocation) GetCreateTime Uses

func (x *Invocation) GetCreateTime() *timestamp.Timestamp

func (*Invocation) GetCreatedBy Uses

func (x *Invocation) GetCreatedBy() string

func (*Invocation) GetDeadline Uses

func (x *Invocation) GetDeadline() *timestamp.Timestamp

func (*Invocation) GetFinalizeTime Uses

func (x *Invocation) GetFinalizeTime() *timestamp.Timestamp

func (*Invocation) GetHistoryOptions Uses

func (x *Invocation) GetHistoryOptions() *HistoryOptions

func (*Invocation) GetIncludedInvocations Uses

func (x *Invocation) GetIncludedInvocations() []string

func (*Invocation) GetName Uses

func (x *Invocation) GetName() string

func (*Invocation) GetProducerResource Uses

func (x *Invocation) GetProducerResource() string

func (*Invocation) GetRealm Uses

func (x *Invocation) GetRealm() string

func (*Invocation) GetState Uses

func (x *Invocation) GetState() Invocation_State

func (*Invocation) GetTags Uses

func (x *Invocation) GetTags() []*StringPair

func (*Invocation) ProtoMessage Uses

func (*Invocation) ProtoMessage()

func (*Invocation) ProtoReflect Uses

func (x *Invocation) ProtoReflect() protoreflect.Message

func (*Invocation) Reset Uses

func (x *Invocation) Reset()

func (*Invocation) String Uses

func (x *Invocation) String() string

type Invocation_State Uses

type Invocation_State int32
const (
    // The default value. This value is used if the state is omitted.
    Invocation_STATE_UNSPECIFIED Invocation_State = 0
    // The invocation was created and accepts new results.
    Invocation_ACTIVE Invocation_State = 1
    // The invocation is in the process of transitioning into FINALIZED state.
    // This will happen automatically soon after all of its directly or
    // indirectly included invocations become inactive.
    Invocation_FINALIZING Invocation_State = 2
    // The invocation is immutable and no longer accepts new results nor
    // inclusions directly or indirectly.
    Invocation_FINALIZED Invocation_State = 3
)

func (Invocation_State) Descriptor Uses

func (Invocation_State) Descriptor() protoreflect.EnumDescriptor

func (Invocation_State) Enum Uses

func (x Invocation_State) Enum() *Invocation_State

func (Invocation_State) EnumDescriptor Uses

func (Invocation_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Invocation_State.Descriptor instead.

func (Invocation_State) Number Uses

func (x Invocation_State) Number() protoreflect.EnumNumber

func (Invocation_State) String Uses

func (x Invocation_State) String() string

func (Invocation_State) Type Uses

func (Invocation_State) Type() protoreflect.EnumType

type ListArtifactsRequest Uses

type ListArtifactsRequest struct {

    // Name of the parent, e.g. an invocation (see Invocation.name) or
    // a test result (see TestResult.name).
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The maximum number of artifacts to return.
    //
    // The service may return fewer than this value.
    // If unspecified, at most 100 artifacts will be returned.
    // The maximum value is 1000; values above 1000 will be coerced to 1000.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A page token, received from a previous `ListArtifacts` call.
    // Provide this to retrieve the subsequent page.
    //
    // When paginating, all other parameters provided to `ListArtifacts` MUST
    // match the call that provided the page token.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

A request message for ListArtifacts RPC.

func (*ListArtifactsRequest) Descriptor Uses

func (*ListArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactsRequest) GetPageSize Uses

func (x *ListArtifactsRequest) GetPageSize() int32

func (*ListArtifactsRequest) GetPageToken Uses

func (x *ListArtifactsRequest) GetPageToken() string

func (*ListArtifactsRequest) GetParent Uses

func (x *ListArtifactsRequest) GetParent() string

func (*ListArtifactsRequest) ProtoMessage Uses

func (*ListArtifactsRequest) ProtoMessage()

func (*ListArtifactsRequest) ProtoReflect Uses

func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message

func (*ListArtifactsRequest) Reset Uses

func (x *ListArtifactsRequest) Reset()

func (*ListArtifactsRequest) String Uses

func (x *ListArtifactsRequest) String() string

type ListArtifactsResponse Uses

type ListArtifactsResponse struct {

    // The artifacts from the specified parent.
    Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
    // A token, which can be sent as `page_token` to retrieve the next page.
    // If this field is omitted, there were no subsequent pages at the time of
    // request.
    // If the invocation is not finalized, more results may appear later.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

A response message for ListArtifacts RPC.

func (*ListArtifactsResponse) Descriptor Uses

func (*ListArtifactsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse) GetArtifacts Uses

func (x *ListArtifactsResponse) GetArtifacts() []*Artifact

func (*ListArtifactsResponse) GetNextPageToken Uses

func (x *ListArtifactsResponse) GetNextPageToken() string

func (*ListArtifactsResponse) ProtoMessage Uses

func (*ListArtifactsResponse) ProtoMessage()

func (*ListArtifactsResponse) ProtoReflect Uses

func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message

func (*ListArtifactsResponse) Reset Uses

func (x *ListArtifactsResponse) Reset()

func (*ListArtifactsResponse) String Uses

func (x *ListArtifactsResponse) String() string

type ListTestExonerationsRequest Uses

type ListTestExonerationsRequest struct {

    // Name of the invocation, e.g. "invocations/{id}".
    Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
    // The maximum number of test exonerations to return.
    //
    // The service may return fewer than this value.
    // If unspecified, at most 100 test exonerations will be returned.
    // The maximum value is 1000; values above 1000 will be coerced to 1000.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A page token, received from a previous `ListTestExonerations` call.
    // Provide this to retrieve the subsequent page.
    //
    // When paginating, all other parameters provided to `ListTestExonerations`
    // MUST match the call that provided the page token.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

A request message for ListTestExonerations RPC.

func (*ListTestExonerationsRequest) Descriptor Uses

func (*ListTestExonerationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTestExonerationsRequest.ProtoReflect.Descriptor instead.

func (*ListTestExonerationsRequest) GetInvocation Uses

func (x *ListTestExonerationsRequest) GetInvocation() string

func (*ListTestExonerationsRequest) GetPageSize Uses

func (x *ListTestExonerationsRequest) GetPageSize() int32

func (*ListTestExonerationsRequest) GetPageToken Uses

func (x *ListTestExonerationsRequest) GetPageToken() string

func (*ListTestExonerationsRequest) ProtoMessage Uses

func (*ListTestExonerationsRequest) ProtoMessage()

func (*ListTestExonerationsRequest) ProtoReflect Uses

func (x *ListTestExonerationsRequest) ProtoReflect() protoreflect.Message

func (*ListTestExonerationsRequest) Reset Uses

func (x *ListTestExonerationsRequest) Reset()

func (*ListTestExonerationsRequest) String Uses

func (x *ListTestExonerationsRequest) String() string

type ListTestExonerationsResponse Uses

type ListTestExonerationsResponse struct {

    // The test exonerations from the specified invocation.
    TestExonerations []*TestExoneration `protobuf:"bytes,1,rep,name=test_exonerations,json=testExonerations,proto3" json:"test_exonerations,omitempty"`
    // A token, which can be sent as `page_token` to retrieve the next page.
    // If this field is omitted, there were no subsequent pages at the time of
    // request.
    // If the invocation is not finalized, more results may appear later.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

A response message for ListTestExonerations RPC.

func (*ListTestExonerationsResponse) Descriptor Uses

func (*ListTestExonerationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTestExonerationsResponse.ProtoReflect.Descriptor instead.

func (*ListTestExonerationsResponse) GetNextPageToken Uses

func (x *ListTestExonerationsResponse) GetNextPageToken() string

func (*ListTestExonerationsResponse) GetTestExonerations Uses

func (x *ListTestExonerationsResponse) GetTestExonerations() []*TestExoneration

func (*ListTestExonerationsResponse) ProtoMessage Uses

func (*ListTestExonerationsResponse) ProtoMessage()

func (*ListTestExonerationsResponse) ProtoReflect Uses

func (x *ListTestExonerationsResponse) ProtoReflect() protoreflect.Message

func (*ListTestExonerationsResponse) Reset Uses

func (x *ListTestExonerationsResponse) Reset()

func (*ListTestExonerationsResponse) String Uses

func (x *ListTestExonerationsResponse) String() string

type ListTestResultsRequest Uses

type ListTestResultsRequest struct {

    // Name of the invocation, e.g. "invocations/{id}".
    Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
    // The maximum number of test results to return.
    //
    // The service may return fewer than this value.
    // If unspecified, at most 100 test results will be returned.
    // The maximum value is 1000; values above 1000 will be coerced to 1000.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A page token, received from a previous `ListTestResults` call.
    // Provide this to retrieve the subsequent page.
    //
    // When paginating, all other parameters provided to `ListTestResults` MUST
    // match the call that provided the page token.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // Fields to include in the response.
    // If not set, the default mask is used where summary_html and tags are
    // excluded.
    // Test result names will always be included even if "name" is not a part of
    // the mask.
    ReadMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
    // contains filtered or unexported fields
}

A request message for ListTestResults RPC.

func (*ListTestResultsRequest) Descriptor Uses

func (*ListTestResultsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTestResultsRequest.ProtoReflect.Descriptor instead.

func (*ListTestResultsRequest) GetInvocation Uses

func (x *ListTestResultsRequest) GetInvocation() string

func (*ListTestResultsRequest) GetPageSize Uses

func (x *ListTestResultsRequest) GetPageSize() int32

func (*ListTestResultsRequest) GetPageToken Uses

func (x *ListTestResultsRequest) GetPageToken() string

func (*ListTestResultsRequest) GetReadMask Uses

func (x *ListTestResultsRequest) GetReadMask() *field_mask.FieldMask

func (*ListTestResultsRequest) ProtoMessage Uses

func (*ListTestResultsRequest) ProtoMessage()

func (*ListTestResultsRequest) ProtoReflect Uses

func (x *ListTestResultsRequest) ProtoReflect() protoreflect.Message

func (*ListTestResultsRequest) Reset Uses

func (x *ListTestResultsRequest) Reset()

func (*ListTestResultsRequest) String Uses

func (x *ListTestResultsRequest) String() string

type ListTestResultsResponse Uses

type ListTestResultsResponse struct {

    // The test results from the specified invocation.
    TestResults []*TestResult `protobuf:"bytes,1,rep,name=test_results,json=testResults,proto3" json:"test_results,omitempty"`
    // A token, which can be sent as `page_token` to retrieve the next page.
    // If this field is omitted, there were no subsequent pages at the time of
    // request.
    // If the invocation is not finalized, more results may appear later.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

A response message for ListTestResults RPC.

func (*ListTestResultsResponse) Descriptor Uses

func (*ListTestResultsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTestResultsResponse.ProtoReflect.Descriptor instead.

func (*ListTestResultsResponse) GetNextPageToken Uses

func (x *ListTestResultsResponse) GetNextPageToken() string

func (*ListTestResultsResponse) GetTestResults Uses

func (x *ListTestResultsResponse) GetTestResults() []*TestResult

func (*ListTestResultsResponse) ProtoMessage Uses

func (*ListTestResultsResponse) ProtoMessage()

func (*ListTestResultsResponse) ProtoReflect Uses

func (x *ListTestResultsResponse) ProtoReflect() protoreflect.Message

func (*ListTestResultsResponse) Reset Uses

func (x *ListTestResultsResponse) Reset()

func (*ListTestResultsResponse) String Uses

func (x *ListTestResultsResponse) String() string

type MockDeriverClient Uses

type MockDeriverClient struct {
    // contains filtered or unexported fields
}

MockDeriverClient is a mock of DeriverClient interface.

func NewMockDeriverClient Uses

func NewMockDeriverClient(ctrl *gomock.Controller) *MockDeriverClient

NewMockDeriverClient creates a new mock instance.

func (*MockDeriverClient) DeriveChromiumInvocation Uses

func (m *MockDeriverClient) DeriveChromiumInvocation(ctx context.Context, in *DeriveChromiumInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)

DeriveChromiumInvocation mocks base method.

func (*MockDeriverClient) EXPECT Uses

func (m *MockDeriverClient) EXPECT() *MockDeriverClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockDeriverClientMockRecorder Uses

type MockDeriverClientMockRecorder struct {
    // contains filtered or unexported fields
}

MockDeriverClientMockRecorder is the mock recorder for MockDeriverClient.

func (*MockDeriverClientMockRecorder) DeriveChromiumInvocation Uses

func (mr *MockDeriverClientMockRecorder) DeriveChromiumInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

DeriveChromiumInvocation indicates an expected call of DeriveChromiumInvocation.

type MockDeriverServer Uses

type MockDeriverServer struct {
    // contains filtered or unexported fields
}

MockDeriverServer is a mock of DeriverServer interface.

func NewMockDeriverServer Uses

func NewMockDeriverServer(ctrl *gomock.Controller) *MockDeriverServer

NewMockDeriverServer creates a new mock instance.

func (*MockDeriverServer) DeriveChromiumInvocation Uses

func (m *MockDeriverServer) DeriveChromiumInvocation(arg0 context.Context, arg1 *DeriveChromiumInvocationRequest) (*Invocation, error)

DeriveChromiumInvocation mocks base method.

func (*MockDeriverServer) EXPECT Uses

func (m *MockDeriverServer) EXPECT() *MockDeriverServerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockDeriverServerMockRecorder Uses

type MockDeriverServerMockRecorder struct {
    // contains filtered or unexported fields
}

MockDeriverServerMockRecorder is the mock recorder for MockDeriverServer.

func (*MockDeriverServerMockRecorder) DeriveChromiumInvocation Uses

func (mr *MockDeriverServerMockRecorder) DeriveChromiumInvocation(arg0, arg1 interface{}) *gomock.Call

DeriveChromiumInvocation indicates an expected call of DeriveChromiumInvocation.

type MockRecorderClient Uses

type MockRecorderClient struct {
    // contains filtered or unexported fields
}

MockRecorderClient is a mock of RecorderClient interface.

func NewMockRecorderClient Uses

func NewMockRecorderClient(ctrl *gomock.Controller) *MockRecorderClient

NewMockRecorderClient creates a new mock instance.

func (*MockRecorderClient) BatchCreateInvocations Uses

func (m *MockRecorderClient) BatchCreateInvocations(ctx context.Context, in *BatchCreateInvocationsRequest, opts ...grpc.CallOption) (*BatchCreateInvocationsResponse, error)

BatchCreateInvocations mocks base method.

func (*MockRecorderClient) BatchCreateTestExonerations Uses

func (m *MockRecorderClient) BatchCreateTestExonerations(ctx context.Context, in *BatchCreateTestExonerationsRequest, opts ...grpc.CallOption) (*BatchCreateTestExonerationsResponse, error)

BatchCreateTestExonerations mocks base method.

func (*MockRecorderClient) BatchCreateTestResults Uses

func (m *MockRecorderClient) BatchCreateTestResults(ctx context.Context, in *BatchCreateTestResultsRequest, opts ...grpc.CallOption) (*BatchCreateTestResultsResponse, error)

BatchCreateTestResults mocks base method.

func (*MockRecorderClient) CreateInvocation Uses

func (m *MockRecorderClient) CreateInvocation(ctx context.Context, in *CreateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)

CreateInvocation mocks base method.

func (*MockRecorderClient) CreateTestExoneration Uses

func (m *MockRecorderClient) CreateTestExoneration(ctx context.Context, in *CreateTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)

CreateTestExoneration mocks base method.

func (*MockRecorderClient) CreateTestResult Uses

func (m *MockRecorderClient) CreateTestResult(ctx context.Context, in *CreateTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)

CreateTestResult mocks base method.

func (*MockRecorderClient) EXPECT Uses

func (m *MockRecorderClient) EXPECT() *MockRecorderClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRecorderClient) FinalizeInvocation Uses

func (m *MockRecorderClient) FinalizeInvocation(ctx context.Context, in *FinalizeInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)

FinalizeInvocation mocks base method.

func (*MockRecorderClient) UpdateIncludedInvocations Uses

func (m *MockRecorderClient) UpdateIncludedInvocations(ctx context.Context, in *UpdateIncludedInvocationsRequest, opts ...grpc.CallOption) (*empty.Empty, error)

UpdateIncludedInvocations mocks base method.

func (*MockRecorderClient) UpdateInvocation Uses

func (m *MockRecorderClient) UpdateInvocation(ctx context.Context, in *UpdateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)

UpdateInvocation mocks base method.

type MockRecorderClientMockRecorder Uses

type MockRecorderClientMockRecorder struct {
    // contains filtered or unexported fields
}

MockRecorderClientMockRecorder is the mock recorder for MockRecorderClient.

func (*MockRecorderClientMockRecorder) BatchCreateInvocations Uses

func (mr *MockRecorderClientMockRecorder) BatchCreateInvocations(ctx, in interface{}, opts ...interface{}) *gomock.Call

BatchCreateInvocations indicates an expected call of BatchCreateInvocations.

func (*MockRecorderClientMockRecorder) BatchCreateTestExonerations Uses

func (mr *MockRecorderClientMockRecorder) BatchCreateTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call

BatchCreateTestExonerations indicates an expected call of BatchCreateTestExonerations.

func (*MockRecorderClientMockRecorder) BatchCreateTestResults Uses

func (mr *MockRecorderClientMockRecorder) BatchCreateTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call

BatchCreateTestResults indicates an expected call of BatchCreateTestResults.

func (*MockRecorderClientMockRecorder) CreateInvocation Uses

func (mr *MockRecorderClientMockRecorder) CreateInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateInvocation indicates an expected call of CreateInvocation.

func (*MockRecorderClientMockRecorder) CreateTestExoneration Uses

func (mr *MockRecorderClientMockRecorder) CreateTestExoneration(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateTestExoneration indicates an expected call of CreateTestExoneration.

func (*MockRecorderClientMockRecorder) CreateTestResult Uses

func (mr *MockRecorderClientMockRecorder) CreateTestResult(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateTestResult indicates an expected call of CreateTestResult.

func (*MockRecorderClientMockRecorder) FinalizeInvocation Uses

func (mr *MockRecorderClientMockRecorder) FinalizeInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

FinalizeInvocation indicates an expected call of FinalizeInvocation.

func (*MockRecorderClientMockRecorder) UpdateIncludedInvocations Uses

func (mr *MockRecorderClientMockRecorder) UpdateIncludedInvocations(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateIncludedInvocations indicates an expected call of UpdateIncludedInvocations.

func (*MockRecorderClientMockRecorder) UpdateInvocation Uses

func (mr *MockRecorderClientMockRecorder) UpdateInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateInvocation indicates an expected call of UpdateInvocation.

type MockRecorderServer Uses

type MockRecorderServer struct {
    // contains filtered or unexported fields
}

MockRecorderServer is a mock of RecorderServer interface.

func NewMockRecorderServer Uses

func NewMockRecorderServer(ctrl *gomock.Controller) *MockRecorderServer

NewMockRecorderServer creates a new mock instance.

func (*MockRecorderServer) BatchCreateInvocations Uses

func (m *MockRecorderServer) BatchCreateInvocations(arg0 context.Context, arg1 *BatchCreateInvocationsRequest) (*BatchCreateInvocationsResponse, error)

BatchCreateInvocations mocks base method.

func (*MockRecorderServer) BatchCreateTestExonerations Uses

func (m *MockRecorderServer) BatchCreateTestExonerations(arg0 context.Context, arg1 *BatchCreateTestExonerationsRequest) (*BatchCreateTestExonerationsResponse, error)

BatchCreateTestExonerations mocks base method.

func (*MockRecorderServer) BatchCreateTestResults Uses

func (m *MockRecorderServer) BatchCreateTestResults(arg0 context.Context, arg1 *BatchCreateTestResultsRequest) (*BatchCreateTestResultsResponse, error)

BatchCreateTestResults mocks base method.

func (*MockRecorderServer) CreateInvocation Uses

func (m *MockRecorderServer) CreateInvocation(arg0 context.Context, arg1 *CreateInvocationRequest) (*Invocation, error)

CreateInvocation mocks base method.

func (*MockRecorderServer) CreateTestExoneration Uses

func (m *MockRecorderServer) CreateTestExoneration(arg0 context.Context, arg1 *CreateTestExonerationRequest) (*TestExoneration, error)

CreateTestExoneration mocks base method.

func (*MockRecorderServer) CreateTestResult Uses

func (m *MockRecorderServer) CreateTestResult(arg0 context.Context, arg1 *CreateTestResultRequest) (*TestResult, error)

CreateTestResult mocks base method.

func (*MockRecorderServer) EXPECT Uses

func (m *MockRecorderServer) EXPECT() *MockRecorderServerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRecorderServer) FinalizeInvocation Uses

func (m *MockRecorderServer) FinalizeInvocation(arg0 context.Context, arg1 *FinalizeInvocationRequest) (*Invocation, error)

FinalizeInvocation mocks base method.

func (*MockRecorderServer) UpdateIncludedInvocations Uses

func (m *MockRecorderServer) UpdateIncludedInvocations(arg0 context.Context, arg1 *UpdateIncludedInvocationsRequest) (*empty.Empty, error)

UpdateIncludedInvocations mocks base method.

func (*MockRecorderServer) UpdateInvocation Uses

func (m *MockRecorderServer) UpdateInvocation(arg0 context.Context, arg1 *UpdateInvocationRequest) (*Invocation, error)

UpdateInvocation mocks base method.

type MockRecorderServerMockRecorder Uses

type MockRecorderServerMockRecorder struct {
    // contains filtered or unexported fields
}

MockRecorderServerMockRecorder is the mock recorder for MockRecorderServer.

func (*MockRecorderServerMockRecorder) BatchCreateInvocations Uses

func (mr *MockRecorderServerMockRecorder) BatchCreateInvocations(arg0, arg1 interface{}) *gomock.Call

BatchCreateInvocations indicates an expected call of BatchCreateInvocations.

func (*MockRecorderServerMockRecorder) BatchCreateTestExonerations Uses

func (mr *MockRecorderServerMockRecorder) BatchCreateTestExonerations(arg0, arg1 interface{}) *gomock.Call

BatchCreateTestExonerations indicates an expected call of BatchCreateTestExonerations.

func (*MockRecorderServerMockRecorder) BatchCreateTestResults Uses

func (mr *MockRecorderServerMockRecorder) BatchCreateTestResults(arg0, arg1 interface{}) *gomock.Call

BatchCreateTestResults indicates an expected call of BatchCreateTestResults.

func (*MockRecorderServerMockRecorder) CreateInvocation Uses

func (mr *MockRecorderServerMockRecorder) CreateInvocation(arg0, arg1 interface{}) *gomock.Call

CreateInvocation indicates an expected call of CreateInvocation.

func (*MockRecorderServerMockRecorder) CreateTestExoneration Uses

func (mr *MockRecorderServerMockRecorder) CreateTestExoneration(arg0, arg1 interface{}) *gomock.Call

CreateTestExoneration indicates an expected call of CreateTestExoneration.

func (*MockRecorderServerMockRecorder) CreateTestResult Uses

func (mr *MockRecorderServerMockRecorder) CreateTestResult(arg0, arg1 interface{}) *gomock.Call

CreateTestResult indicates an expected call of CreateTestResult.

func (*MockRecorderServerMockRecorder) FinalizeInvocation Uses

func (mr *MockRecorderServerMockRecorder) FinalizeInvocation(arg0, arg1 interface{}) *gomock.Call

FinalizeInvocation indicates an expected call of FinalizeInvocation.

func (*MockRecorderServerMockRecorder) UpdateIncludedInvocations Uses

func (mr *MockRecorderServerMockRecorder) UpdateIncludedInvocations(arg0, arg1 interface{}) *gomock.Call

UpdateIncludedInvocations indicates an expected call of UpdateIncludedInvocations.

func (*MockRecorderServerMockRecorder) UpdateInvocation Uses

func (mr *MockRecorderServerMockRecorder) UpdateInvocation(arg0, arg1 interface{}) *gomock.Call

UpdateInvocation indicates an expected call of UpdateInvocation.

type MockResultDBClient Uses

type MockResultDBClient struct {
    // contains filtered or unexported fields
}

MockResultDBClient is a mock of ResultDBClient interface.

func NewMockResultDBClient Uses

func NewMockResultDBClient(ctrl *gomock.Controller) *MockResultDBClient

NewMockResultDBClient creates a new mock instance.

func (*MockResultDBClient) EXPECT Uses

func (m *MockResultDBClient) EXPECT() *MockResultDBClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResultDBClient) GetArtifact Uses

func (m *MockResultDBClient) GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)

GetArtifact mocks base method.

func (*MockResultDBClient) GetInvocation Uses

func (m *MockResultDBClient) GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)

GetInvocation mocks base method.

func (*MockResultDBClient) GetTestExoneration Uses

func (m *MockResultDBClient) GetTestExoneration(ctx context.Context, in *GetTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)

GetTestExoneration mocks base method.

func (*MockResultDBClient) GetTestResult Uses

func (m *MockResultDBClient) GetTestResult(ctx context.Context, in *GetTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)

GetTestResult mocks base method.

func (*MockResultDBClient) GetTestResultHistory Uses

func (m *MockResultDBClient) GetTestResultHistory(ctx context.Context, in *GetTestResultHistoryRequest, opts ...grpc.CallOption) (*GetTestResultHistoryResponse, error)

GetTestResultHistory mocks base method.

func (*MockResultDBClient) ListArtifacts Uses

func (m *MockResultDBClient) ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error)

ListArtifacts mocks base method.

func (*MockResultDBClient) ListTestExonerations Uses

func (m *MockResultDBClient) ListTestExonerations(ctx context.Context, in *ListTestExonerationsRequest, opts ...grpc.CallOption) (*ListTestExonerationsResponse, error)

ListTestExonerations mocks base method.

func (*MockResultDBClient) ListTestResults Uses

func (m *MockResultDBClient) ListTestResults(ctx context.Context, in *ListTestResultsRequest, opts ...grpc.CallOption) (*ListTestResultsResponse, error)

ListTestResults mocks base method.

func (*MockResultDBClient) QueryArtifacts Uses

func (m *MockResultDBClient) QueryArtifacts(ctx context.Context, in *QueryArtifactsRequest, opts ...grpc.CallOption) (*QueryArtifactsResponse, error)

QueryArtifacts mocks base method.

func (*MockResultDBClient) QueryTestExonerations Uses

func (m *MockResultDBClient) QueryTestExonerations(ctx context.Context, in *QueryTestExonerationsRequest, opts ...grpc.CallOption) (*QueryTestExonerationsResponse, error)

QueryTestExonerations mocks base method.

func (*MockResultDBClient) QueryTestResultStatistics Uses

func (m *MockResultDBClient) QueryTestResultStatistics(ctx context.Context, in *QueryTestResultStatisticsRequest, opts ...grpc.CallOption) (*QueryTestResultStatisticsResponse, error)

QueryTestResultStatistics mocks base method.

func (*MockResultDBClient) QueryTestResults Uses

func (m *MockResultDBClient) QueryTestResults(ctx context.Context, in *QueryTestResultsRequest, opts ...grpc.CallOption) (*QueryTestResultsResponse, error)

QueryTestResults mocks base method.

type MockResultDBClientMockRecorder Uses

type MockResultDBClientMockRecorder struct {
    // contains filtered or unexported fields
}

MockResultDBClientMockRecorder is the mock recorder for MockResultDBClient.

func (*MockResultDBClientMockRecorder) GetArtifact Uses

func (mr *MockResultDBClientMockRecorder) GetArtifact(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetArtifact indicates an expected call of GetArtifact.

func (*MockResultDBClientMockRecorder) GetInvocation Uses

func (mr *MockResultDBClientMockRecorder) GetInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetInvocation indicates an expected call of GetInvocation.

func (*MockResultDBClientMockRecorder) GetTestExoneration Uses

func (mr *MockResultDBClientMockRecorder) GetTestExoneration(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetTestExoneration indicates an expected call of GetTestExoneration.

func (*MockResultDBClientMockRecorder) GetTestResult Uses

func (mr *MockResultDBClientMockRecorder) GetTestResult(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetTestResult indicates an expected call of GetTestResult.

func (*MockResultDBClientMockRecorder) GetTestResultHistory Uses

func (mr *MockResultDBClientMockRecorder) GetTestResultHistory(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetTestResultHistory indicates an expected call of GetTestResultHistory.

func (*MockResultDBClientMockRecorder) ListArtifacts Uses

func (mr *MockResultDBClientMockRecorder) ListArtifacts(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListArtifacts indicates an expected call of ListArtifacts.

func (*MockResultDBClientMockRecorder) ListTestExonerations Uses

func (mr *MockResultDBClientMockRecorder) ListTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListTestExonerations indicates an expected call of ListTestExonerations.

func (*MockResultDBClientMockRecorder) ListTestResults Uses

func (mr *MockResultDBClientMockRecorder) ListTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListTestResults indicates an expected call of ListTestResults.

func (*MockResultDBClientMockRecorder) QueryArtifacts Uses

func (mr *MockResultDBClientMockRecorder) QueryArtifacts(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryArtifacts indicates an expected call of QueryArtifacts.

func (*MockResultDBClientMockRecorder) QueryTestExonerations Uses

func (mr *MockResultDBClientMockRecorder) QueryTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryTestExonerations indicates an expected call of QueryTestExonerations.

func (*MockResultDBClientMockRecorder) QueryTestResultStatistics Uses

func (mr *MockResultDBClientMockRecorder) QueryTestResultStatistics(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryTestResultStatistics indicates an expected call of QueryTestResultStatistics.

func (*MockResultDBClientMockRecorder) QueryTestResults Uses

func (mr *MockResultDBClientMockRecorder) QueryTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryTestResults indicates an expected call of QueryTestResults.

type MockResultDBServer Uses

type MockResultDBServer struct {
    // contains filtered or unexported fields
}

MockResultDBServer is a mock of ResultDBServer interface.

func NewMockResultDBServer Uses

func NewMockResultDBServer(ctrl *gomock.Controller) *MockResultDBServer

NewMockResultDBServer creates a new mock instance.

func (*MockResultDBServer) EXPECT Uses

func (m *MockResultDBServer) EXPECT() *MockResultDBServerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResultDBServer) GetArtifact Uses

func (m *MockResultDBServer) GetArtifact(arg0 context.Context, arg1 *GetArtifactRequest) (*Artifact, error)

GetArtifact mocks base method.

func (*MockResultDBServer) GetInvocation Uses

func (m *MockResultDBServer) GetInvocation(arg0 context.Context, arg1 *GetInvocationRequest) (*Invocation, error)

GetInvocation mocks base method.

func (*MockResultDBServer) GetTestExoneration Uses

func (m *MockResultDBServer) GetTestExoneration(arg0 context.Context, arg1 *GetTestExonerationRequest) (*TestExoneration, error)

GetTestExoneration mocks base method.

func (*MockResultDBServer) GetTestResult Uses

func (m *MockResultDBServer) GetTestResult(arg0 context.Context, arg1 *GetTestResultRequest) (*TestResult, error)

GetTestResult mocks base method.

func (*MockResultDBServer) GetTestResultHistory Uses

func (m *MockResultDBServer) GetTestResultHistory(arg0 context.Context, arg1 *GetTestResultHistoryRequest) (*GetTestResultHistoryResponse, error)

GetTestResultHistory mocks base method.

func (*MockResultDBServer) ListArtifacts Uses

func (m *MockResultDBServer) ListArtifacts(arg0 context.Context, arg1 *ListArtifactsRequest) (*ListArtifactsResponse, error)

ListArtifacts mocks base method.

func (*MockResultDBServer) ListTestExonerations Uses

func (m *MockResultDBServer) ListTestExonerations(arg0 context.Context, arg1 *ListTestExonerationsRequest) (*ListTestExonerationsResponse, error)

ListTestExonerations mocks base method.

func (*MockResultDBServer) ListTestResults Uses

func (m *MockResultDBServer) ListTestResults(arg0 context.Context, arg1 *ListTestResultsRequest) (*ListTestResultsResponse, error)

ListTestResults mocks base method.

func (*MockResultDBServer) QueryArtifacts Uses

func (m *MockResultDBServer) QueryArtifacts(arg0 context.Context, arg1 *QueryArtifactsRequest) (*QueryArtifactsResponse, error)

QueryArtifacts mocks base method.

func (*MockResultDBServer) QueryTestExonerations Uses

func (m *MockResultDBServer) QueryTestExonerations(arg0 context.Context, arg1 *QueryTestExonerationsRequest) (*QueryTestExonerationsResponse, error)

QueryTestExonerations mocks base method.

func (*MockResultDBServer) QueryTestResultStatistics Uses

func (m *MockResultDBServer) QueryTestResultStatistics(arg0 context.Context, arg1 *QueryTestResultStatisticsRequest) (*QueryTestResultStatisticsResponse, error)

QueryTestResultStatistics mocks base method.

func (*MockResultDBServer) QueryTestResults Uses

func (m *MockResultDBServer) QueryTestResults(arg0 context.Context, arg1 *QueryTestResultsRequest) (*QueryTestResultsResponse, error)

QueryTestResults mocks base method.

type MockResultDBServerMockRecorder Uses

type MockResultDBServerMockRecorder struct {
    // contains filtered or unexported fields
}

MockResultDBServerMockRecorder is the mock recorder for MockResultDBServer.

func (*MockResultDBServerMockRecorder) GetArtifact Uses

func (mr *MockResultDBServerMockRecorder) GetArtifact(arg0, arg1 interface{}) *gomock.Call

GetArtifact indicates an expected call of GetArtifact.

func (*MockResultDBServerMockRecorder) GetInvocation Uses

func (mr *MockResultDBServerMockRecorder) GetInvocation(arg0, arg1 interface{}) *gomock.Call

GetInvocation indicates an expected call of GetInvocation.

func (*MockResultDBServerMockRecorder) GetTestExoneration Uses

func (mr *MockResultDBServerMockRecorder) GetTestExoneration(arg0, arg1 interface{}) *gomock.Call

GetTestExoneration indicates an expected call of GetTestExoneration.

func (*MockResultDBServerMockRecorder) GetTestResult Uses

func (mr *MockResultDBServerMockRecorder) GetTestResult(arg0, arg1 interface{}) *gomock.Call

GetTestResult indicates an expected call of GetTestResult.

func (*MockResultDBServerMockRecorder) GetTestResultHistory Uses

func (mr *MockResultDBServerMockRecorder) GetTestResultHistory(arg0, arg1 interface{}) *gomock.Call

GetTestResultHistory indicates an expected call of GetTestResultHistory.

func (*MockResultDBServerMockRecorder) ListArtifacts Uses

func (mr *MockResultDBServerMockRecorder) ListArtifacts(arg0, arg1 interface{}) *gomock.Call

ListArtifacts indicates an expected call of ListArtifacts.

func (*MockResultDBServerMockRecorder) ListTestExonerations Uses

func (mr *MockResultDBServerMockRecorder) ListTestExonerations(arg0, arg1 interface{}) *gomock.Call

ListTestExonerations indicates an expected call of ListTestExonerations.

func (*MockResultDBServerMockRecorder) ListTestResults Uses

func (mr *MockResultDBServerMockRecorder) ListTestResults(arg0, arg1 interface{}) *gomock.Call

ListTestResults indicates an expected call of ListTestResults.

func (*MockResultDBServerMockRecorder) QueryArtifacts Uses

func (mr *MockResultDBServerMockRecorder) QueryArtifacts(arg0, arg1 interface{}) *gomock.Call

QueryArtifacts indicates an expected call of QueryArtifacts.

func (*MockResultDBServerMockRecorder) QueryTestExonerations Uses

func (mr *MockResultDBServerMockRecorder) QueryTestExonerations(arg0, arg1 interface{}) *gomock.Call

QueryTestExonerations indicates an expected call of QueryTestExonerations.

func (*MockResultDBServerMockRecorder) QueryTestResultStatistics Uses

func (mr *MockResultDBServerMockRecorder) QueryTestResultStatistics(arg0, arg1 interface{}) *gomock.Call

QueryTestResultStatistics indicates an expected call of QueryTestResultStatistics.

func (*MockResultDBServerMockRecorder) QueryTestResults Uses

func (mr *MockResultDBServerMockRecorder) QueryTestResults(arg0, arg1 interface{}) *gomock.Call

QueryTestResults indicates an expected call of QueryTestResults.

type MockisGetTestResultHistoryRequest_Range Uses

type MockisGetTestResultHistoryRequest_Range struct {
    // contains filtered or unexported fields
}

MockisGetTestResultHistoryRequest_Range is a mock of isGetTestResultHistoryRequest_Range interface.

func NewMockisGetTestResultHistoryRequest_Range Uses

func NewMockisGetTestResultHistoryRequest_Range(ctrl *gomock.Controller) *MockisGetTestResultHistoryRequest_Range

NewMockisGetTestResultHistoryRequest_Range creates a new mock instance.

func (*MockisGetTestResultHistoryRequest_Range) EXPECT Uses

func (m *MockisGetTestResultHistoryRequest_Range) EXPECT() *MockisGetTestResultHistoryRequest_RangeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockisGetTestResultHistoryRequest_RangeMockRecorder Uses

type MockisGetTestResultHistoryRequest_RangeMockRecorder struct {
    // contains filtered or unexported fields
}

MockisGetTestResultHistoryRequest_RangeMockRecorder is the mock recorder for MockisGetTestResultHistoryRequest_Range.

type QueryArtifactsRequest Uses

type QueryArtifactsRequest struct {

    // Retrieve artifacts included in these invocations, directly or indirectly
    // (via Invocation.included_invocations and via contained test results).
    //
    // Specifying multiple invocations is equivalent to querying one invocation
    // that includes these.
    Invocations []string `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
    // Specifies which edges to follow when retrieving directly/indirectly
    // included artifacts.
    // For example,
    // - to retrieve only invocation-level artifacts, use
    //   {included_invocations: true}.
    // - to retrieve only test-result-level artifacts, use {test_results: true}.
    //
    // By default, follows all edges.
    FollowEdges *QueryArtifactsRequest_EdgeTypeSet `protobuf:"bytes,2,opt,name=follow_edges,json=followEdges,proto3" json:"follow_edges,omitempty"` // defaults to All.
    // If an Artifact belongs to a TestResult, then the test result must satisfy
    // this predicate.
    // Note: this predicate does NOT apply to invocation-level artifacts.
    // To exclude them from the response, use follow_edges.
    TestResultPredicate *TestResultPredicate `protobuf:"bytes,3,opt,name=test_result_predicate,json=testResultPredicate,proto3" json:"test_result_predicate,omitempty"`
    // The version of the state from which the response draws is allowed to be
    // stale up to this duration.
    // For example, with max staleness of 5m, the response might not contain
    // artifacts uploaded 4m ago.
    // Choosing a larger duration may reduce request latency.
    // Must be <=30m.
    MaxStaleness *duration.Duration `protobuf:"bytes,4,opt,name=max_staleness,json=maxStaleness,proto3" json:"max_staleness,omitempty"`
    // The maximum number of artifacts to return.
    //
    // The service may return fewer than this value.
    // If unspecified, at most 100 artifacts will be returned.
    // The maximum value is 1000; values above 1000 will be coerced to 1000.
    PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A page token, received from a previous `QueryArtifacts` call.
    // Provide this to retrieve the subsequent page.
    //
    // When paginating, all other parameters provided to `QueryArtifacts` MUST
    // match the call that provided the page token.
    PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

A request message for QueryArtifacts RPC.

func (*QueryArtifactsRequest) Descriptor Uses

func (*QueryArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryArtifactsRequest.ProtoReflect.Descriptor instead.

func (*QueryArtifactsRequest) GetFollowEdges Uses

func (x *QueryArtifactsRequest) GetFollowEdges() *QueryArtifactsRequest_EdgeTypeSet

func (*QueryArtifactsRequest) GetInvocations Uses

func (x *QueryArtifactsRequest) GetInvocations() []string

func (*QueryArtifactsRequest) GetMaxStaleness Uses

func (x *QueryArtifactsRequest) GetMaxStaleness() *duration.Duration

func (*QueryArtifactsRequest) GetPageSize Uses

func (x *QueryArtifactsRequest) GetPageSize() int32

func (*QueryArtifactsRequest) GetPageToken Uses

func (x *QueryArtifactsRequest) GetPageToken() string

func (*QueryArtifactsRequest) GetTestResultPredicate Uses

func (x *QueryArtifactsRequest) GetTestResultPredicate() *TestResultPredicate

func (*QueryArtifactsRequest) ProtoMessage Uses

func (*QueryArtifactsRequest) ProtoMessage()

func (*QueryArtifactsRequest) ProtoReflect Uses

func (x *QueryArtifactsRequest) ProtoReflect() protoreflect.Message

func (*QueryArtifactsRequest) Reset Uses

func (x *QueryArtifactsRequest) Reset()

func (*QueryArtifactsRequest) String Uses

func (x *QueryArtifactsRequest) String() string

type QueryArtifactsRequest_EdgeTypeSet Uses

type QueryArtifactsRequest_EdgeTypeSet struct {

    // The edges represented by Invocation.included_invocations field.
    IncludedInvocations bool `protobuf:"varint,1,opt,name=included_invocations,json=includedInvocations,proto3" json:"included_invocations,omitempty"`
    // The parent-child relationship between Invocation and TestResult.
    TestResults bool `protobuf:"varint,2,opt,name=test_results,json=testResults,proto3" json:"test_results,omitempty"`
    // contains filtered or unexported fields
}

A set of Invocation's outgoing edge types.

func (*QueryArtifactsRequest_EdgeTypeSet) Descriptor Uses

func (*QueryArtifactsRequest_EdgeTypeSet) Descriptor() ([]byte, []int)

Deprecated: Use QueryArtifactsRequest_EdgeTypeSet.ProtoReflect.Descriptor instead.

func (*QueryArtifactsRequest_EdgeTypeSet) GetIncludedInvocations Uses

func (x *QueryArtifactsRequest_EdgeTypeSet) GetIncludedInvocations() bool

func (*QueryArtifactsRequest_EdgeTypeSet) GetTestResults Uses

func (x *QueryArtifactsRequest_EdgeTypeSet) GetTestResults() bool

func (*QueryArtifactsRequest_EdgeTypeSet) ProtoMessage Uses

func (*QueryArtifactsRequest_EdgeTypeSet) ProtoMessage()

func (*QueryArtifactsRequest_EdgeTypeSet) ProtoReflect Uses

func (x *QueryArtifactsRequest_EdgeTypeSet) ProtoReflect() protoreflect.Message

func (*QueryArtifactsRequest_EdgeTypeSet) Reset Uses

func (x *QueryArtifactsRequest_EdgeTypeSet) Reset()

func (*QueryArtifactsRequest_EdgeTypeSet) String Uses

func (x *QueryArtifactsRequest_EdgeTypeSet) String() string

type QueryArtifactsResponse Uses

type QueryArtifactsResponse struct {

    // Matched artifacts.
    // First invocation-level artifacts, then test-result-level artifacts
    // ordered by parent invocation ID, test ID and artifact ID.
    Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
    // A token, which can be sent as `page_token` to retrieve the next page.
    // If this field is omitted, there were no subsequent pages at the time of
    // request.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

A response message for QueryArtifacts RPC.

func (*QueryArtifactsResponse) Descriptor Uses

func (*QueryArtifactsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryArtifactsResponse.ProtoReflect.Descriptor instead.

func (*QueryArtifactsResponse) GetArtifacts Uses

func (x *QueryArtifactsResponse) GetArtifacts() []*Artifact

func (*QueryArtifactsResponse) GetNextPageToken Uses

func (x *QueryArtifactsResponse) GetNextPageToken() string

func (*QueryArtifactsResponse) ProtoMessage Uses

func (*QueryArtifactsResponse) ProtoMessage()

func (*QueryArtifactsResponse) ProtoReflect Uses

func (x *QueryArtifactsResponse) ProtoReflect() protoreflect.Message

func (*QueryArtifactsResponse) Reset Uses

func (x *QueryArtifactsResponse) Reset()

func (*QueryArtifactsResponse) String Uses

func (x *QueryArtifactsResponse) String() string

type QueryTestExonerationsRequest Uses

type QueryTestExonerationsRequest struct {

    // Retrieve test exonerations included in these invocations, directly or
    // indirectly (via Invocation.included_invocations).
    //
    // Specifying multiple invocations is equivalent to querying one invocation
    // that includes these.
    Invocations []string `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
    // A test exoneration in the response must satisfy this predicate.
    Predicate *TestExonerationPredicate `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
    // The version of the state from which the response draws is allowed to be
    // stale up to this duration.
    // For example, with max staleness of 5m, the response might not contain
    // results uploaded 4m ago.
    // Choosing a larger duration may reduce request latency.
    // Must be <=30m.
    MaxStaleness *duration.Duration `protobuf:"bytes,3,opt,name=max_staleness,json=maxStaleness,proto3" json:"max_staleness,omitempty"`
    // The maximum number of test exonerations to return.
    //
    // The service may return fewer than this value.
    // If unspecified, at most 100 test exonerations will be returned.
    // The maximum value is 1000; values above 1000 will be coerced to 1000.
    PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A page token, received from a previous `QueryTestExonerations` call.
    // Provide this to retrieve the subsequent page.
    //
    // When paginating, all other parameters provided to `QueryTestExonerations`
    // MUST match the call that provided the page token.
    PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

A request message for QueryTestExonerations RPC.

func (*QueryTestExonerationsRequest) Descriptor Uses

func (*QueryTestExonerationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestExonerationsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestExonerationsRequest) GetInvocations Uses

func (x *QueryTestExonerationsRequest) GetInvocations() []string

func (*QueryTestExonerationsRequest) GetMaxStaleness Uses

func (x *QueryTestExonerationsRequest) GetMaxStaleness() *duration.Duration

func (*QueryTestExonerationsRequest) GetPageSize Uses

func (x *QueryTestExonerationsRequest) GetPageSize() int32

func (*QueryTestExonerationsRequest) GetPageToken Uses

func (x *QueryTestExonerationsRequest) GetPageToken() string

func (*QueryTestExonerationsRequest) GetPredicate Uses

func (x *QueryTestExonerationsRequest) GetPredicate() *TestExonerationPredicate

func (*QueryTestExonerationsRequest) ProtoMessage Uses

func (*QueryTestExonerationsRequest) ProtoMessage()

func (*QueryTestExonerationsRequest) ProtoReflect Uses

func (x *QueryTestExonerationsRequest) ProtoReflect() protoreflect.Message

func (*QueryTestExonerationsRequest) Reset Uses

func (x *QueryTestExonerationsRequest) Reset()

func (*QueryTestExonerationsRequest) String Uses

func (x *QueryTestExonerationsRequest) String() string

type QueryTestExonerationsResponse Uses

type QueryTestExonerationsResponse struct {

    // The test exonerations matching the predicate.
    // Ordered by parent invocation ID, test ID and exoneration ID.
    TestExonerations []*TestExoneration `protobuf:"bytes,1,rep,name=test_exonerations,json=testExonerations,proto3" json:"test_exonerations,omitempty"`
    // A token, which can be sent as `page_token` to retrieve the next page.
    // If this field is omitted, there were no subsequent pages at the time of
    // request.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

A response message for QueryTestExonerations RPC.

func (*QueryTestExonerationsResponse) Descriptor Uses

func (*QueryTestExonerationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestExonerationsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestExonerationsResponse) GetNextPageToken Uses

func (x *QueryTestExonerationsResponse) GetNextPageToken() string

func (*QueryTestExonerationsResponse) GetTestExonerations Uses

func (x *QueryTestExonerationsResponse) GetTestExonerations() []*TestExoneration

func (*QueryTestExonerationsResponse) ProtoMessage Uses

func (*QueryTestExonerationsResponse) ProtoMessage()

func (*QueryTestExonerationsResponse) ProtoReflect Uses

func (x *QueryTestExonerationsResponse) ProtoReflect() protoreflect.Message

func (*QueryTestExonerationsResponse) Reset Uses

func (x *QueryTestExonerationsResponse) Reset()

func (*QueryTestExonerationsResponse) String Uses

func (x *QueryTestExonerationsResponse) String() string

type QueryTestResultStatisticsRequest Uses

type QueryTestResultStatisticsRequest struct {

    // Retrieve statistics of test result belong to these invocations,
    // directly or indirectly (via Invocation.included_invocations).
    //
    // Specifying multiple invocations is equivalent to requesting one invocation
    // that includes these.
    Invocations []string `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
    // The version of the state from which the response draws is allowed to be
    // stale up to this duration.
    // For example, with max staleness of 5m, the response might not contain
    // results uploaded 4m ago.
    // Choosing a larger duration may reduce request latency.
    // Must be <=30m.
    MaxStaleness *duration.Duration `protobuf:"bytes,2,opt,name=max_staleness,json=maxStaleness,proto3" json:"max_staleness,omitempty"`
    // contains filtered or unexported fields
}

A request message for QueryTestResultStatistics RPC.

func (*QueryTestResultStatisticsRequest) Descriptor Uses

func (*QueryTestResultStatisticsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestResultStatisticsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestResultStatisticsRequest) GetInvocations Uses

func (x *QueryTestResultStatisticsRequest) GetInvocations() []string

func (*QueryTestResultStatisticsRequest) GetMaxStaleness Uses

func (x *QueryTestResultStatisticsRequest) GetMaxStaleness() *duration.Duration

func (*QueryTestResultStatisticsRequest) ProtoMessage Uses

func (*QueryTestResultStatisticsRequest) ProtoMessage()

func (*QueryTestResultStatisticsRequest) ProtoReflect Uses

func (x *QueryTestResultStatisticsRequest) ProtoReflect() protoreflect.Message

func (*QueryTestResultStatisticsRequest) Reset Uses

func (x *QueryTestResultStatisticsRequest) Reset()

func (*QueryTestResultStatisticsRequest) String Uses

func (x *QueryTestResultStatisticsRequest) String() string

type QueryTestResultStatisticsResponse Uses

type QueryTestResultStatisticsResponse struct {

    // Total number of test results.
    TotalTestResults int64 `protobuf:"varint,1,opt,name=total_test_results,json=totalTestResults,proto3" json:"total_test_results,omitempty"`
    // contains filtered or unexported fields
}

A response message for QueryTestResultStatistics RPC.

func (*QueryTestResultStatisticsResponse) Descriptor Uses

func (*QueryTestResultStatisticsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestResultStatisticsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestResultStatisticsResponse) GetTotalTestResults Uses

func (x *QueryTestResultStatisticsResponse) GetTotalTestResults() int64

func (*QueryTestResultStatisticsResponse) ProtoMessage Uses

func (*QueryTestResultStatisticsResponse) ProtoMessage()

func (*QueryTestResultStatisticsResponse) ProtoReflect Uses

func (x *QueryTestResultStatisticsResponse) ProtoReflect() protoreflect.Message

func (*QueryTestResultStatisticsResponse) Reset Uses

func (x *QueryTestResultStatisticsResponse) Reset()

func (*QueryTestResultStatisticsResponse) String Uses

func (x *QueryTestResultStatisticsResponse) String() string

type QueryTestResultsRequest Uses

type QueryTestResultsRequest struct {

    // Retrieve test results included in these invocations, directly or indirectly
    // (via Invocation.included_invocations).
    //
    // Specifying multiple invocations is equivalent to querying one invocation
    // that includes these.
    Invocations []string `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
    // A test result in the response must satisfy this predicate.
    Predicate *TestResultPredicate `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
    // The version of the state from which the response draws is allowed to be
    // stale up to this duration.
    // For example, with max staleness of 5m, the response might not contain
    // results uploaded 4m ago.
    // Choosing a larger duration may reduce request latency.
    // Must be <=30m.
    MaxStaleness *duration.Duration `protobuf:"bytes,3,opt,name=max_staleness,json=maxStaleness,proto3" json:"max_staleness,omitempty"`
    // The maximum number of test results to return.
    //
    // The service may return fewer than this value.
    // If unspecified, at most 100 test results will be returned.
    // The maximum value is 1000; values above 1000 will be coerced to 1000.
    PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A page token, received from a previous `QueryTestResults` call.
    // Provide this to retrieve the subsequent page.
    //
    // When paginating, all other parameters provided to `QueryTestResults` MUST
    // match the call that provided the page token.
    PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // Fields to include in the response.
    // If not set, the default mask is used where summary_html and tags are
    // excluded.
    // Test result names will always be included even if "name" is not a part of
    // the mask.
    ReadMask *field_mask.FieldMask `protobuf:"bytes,6,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
    // contains filtered or unexported fields
}

A request message for QueryTestResults RPC.

func (*QueryTestResultsRequest) Descriptor Uses

func (*QueryTestResultsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestResultsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestResultsRequest) GetInvocations Uses

func (x *QueryTestResultsRequest) GetInvocations() []string

func (*QueryTestResultsRequest) GetMaxStaleness Uses

func (x *QueryTestResultsRequest) GetMaxStaleness() *duration.Duration

func (*QueryTestResultsRequest) GetPageSize Uses

func (x *QueryTestResultsRequest) GetPageSize() int32

func (*QueryTestResultsRequest) GetPageToken Uses

func (x *QueryTestResultsRequest) GetPageToken() string

func (*QueryTestResultsRequest) GetPredicate Uses

func (x *QueryTestResultsRequest) GetPredicate() *TestResultPredicate

func (*QueryTestResultsRequest) GetReadMask Uses

func (x *QueryTestResultsRequest) GetReadMask() *field_mask.FieldMask

func (*QueryTestResultsRequest) ProtoMessage Uses

func (*QueryTestResultsRequest) ProtoMessage()

func (*QueryTestResultsRequest) ProtoReflect Uses

func (x *QueryTestResultsRequest) ProtoReflect() protoreflect.Message

func (*QueryTestResultsRequest) Reset Uses

func (x *QueryTestResultsRequest) Reset()

func (*QueryTestResultsRequest) String Uses

func (x *QueryTestResultsRequest) String() string

type QueryTestResultsResponse Uses

type QueryTestResultsResponse struct {

    // Matched test results.
    // Ordered by parent invocation ID, test ID and result ID.
    TestResults []*TestResult `protobuf:"bytes,1,rep,name=test_results,json=testResults,proto3" json:"test_results,omitempty"`
    // A token, which can be sent as `page_token` to retrieve the next page.
    // If this field is omitted, there were no subsequent pages at the time of
    // request.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

A response message for QueryTestResults RPC.

func (*QueryTestResultsResponse) Descriptor Uses

func (*QueryTestResultsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestResultsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestResultsResponse) GetNextPageToken Uses

func (x *QueryTestResultsResponse) GetNextPageToken() string

func (*QueryTestResultsResponse) GetTestResults Uses

func (x *QueryTestResultsResponse) GetTestResults() []*TestResult

func (*QueryTestResultsResponse) ProtoMessage Uses

func (*QueryTestResultsResponse) ProtoMessage()

func (*QueryTestResultsResponse) ProtoReflect Uses

func (x *QueryTestResultsResponse) ProtoReflect() protoreflect.Message

func (*QueryTestResultsResponse) Reset Uses

func (x *QueryTestResultsResponse) Reset()

func (*QueryTestResultsResponse) String Uses

func (x *QueryTestResultsResponse) String() string

type RecorderClient Uses

type RecorderClient interface {
    // Creates a new invocation.
    // The request specifies the invocation id and its contents.
    //
    // The response header metadata contains "update-token" required for future
    // updates, including finalization.
    //
    // If invocation with the given ID already exists, returns ALREADY_EXISTS
    // error code.
    CreateInvocation(ctx context.Context, in *CreateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
    // Creates multiple invocations in a single rpc.
    //
    // The response header metadata contains a multi-valued "update-token"
    // required for future updates, including finalization. The tokens will be
    // given in the same order as BatchCreateInvocationRequest.requests.
    BatchCreateInvocations(ctx context.Context, in *BatchCreateInvocationsRequest, opts ...grpc.CallOption) (*BatchCreateInvocationsResponse, error)
    // Updates an existing non-finalized invocation.
    UpdateInvocation(ctx context.Context, in *UpdateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
    // Transitions the given invocation to the state FINALIZED.
    FinalizeInvocation(ctx context.Context, in *FinalizeInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
    // Updates inclusions for a non-finalized invocation.
    UpdateIncludedInvocations(ctx context.Context, in *UpdateIncludedInvocationsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Appends a test result to a non-finalized invocation.
    CreateTestResult(ctx context.Context, in *CreateTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
    // Atomically appends a batch of test results to a non-finalized invocation.
    BatchCreateTestResults(ctx context.Context, in *BatchCreateTestResultsRequest, opts ...grpc.CallOption) (*BatchCreateTestResultsResponse, error)
    // Appends a test exoneration to a non-finalized invocation.
    CreateTestExoneration(ctx context.Context, in *CreateTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)
    // Atomically appends a batch of test exonerations to a non-finalized
    // invocation.
    BatchCreateTestExonerations(ctx context.Context, in *BatchCreateTestExonerationsRequest, opts ...grpc.CallOption) (*BatchCreateTestExonerationsResponse, error)
}

RecorderClient is the client API for Recorder service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRecorderClient Uses

func NewRecorderClient(cc grpc.ClientConnInterface) RecorderClient

func NewRecorderPRPCClient Uses

func NewRecorderPRPCClient(client *prpc.Client) RecorderClient

type RecorderServer Uses

type RecorderServer interface {
    // Creates a new invocation.
    // The request specifies the invocation id and its contents.
    //
    // The response header metadata contains "update-token" required for future
    // updates, including finalization.
    //
    // If invocation with the given ID already exists, returns ALREADY_EXISTS
    // error code.
    CreateInvocation(context.Context, *CreateInvocationRequest) (*Invocation, error)
    // Creates multiple invocations in a single rpc.
    //
    // The response header metadata contains a multi-valued "update-token"
    // required for future updates, including finalization. The tokens will be
    // given in the same order as BatchCreateInvocationRequest.requests.
    BatchCreateInvocations(context.Context, *BatchCreateInvocationsRequest) (*BatchCreateInvocationsResponse, error)
    // Updates an existing non-finalized invocation.
    UpdateInvocation(context.Context, *UpdateInvocationRequest) (*Invocation, error)
    // Transitions the given invocation to the state FINALIZED.
    FinalizeInvocation(context.Context, *FinalizeInvocationRequest) (*Invocation, error)
    // Updates inclusions for a non-finalized invocation.
    UpdateIncludedInvocations(context.Context, *UpdateIncludedInvocationsRequest) (*empty.Empty, error)
    // Appends a test result to a non-finalized invocation.
    CreateTestResult(context.Context, *CreateTestResultRequest) (*TestResult, error)
    // Atomically appends a batch of test results to a non-finalized invocation.
    BatchCreateTestResults(context.Context, *BatchCreateTestResultsRequest) (*BatchCreateTestResultsResponse, error)
    // Appends a test exoneration to a non-finalized invocation.
    CreateTestExoneration(context.Context, *CreateTestExonerationRequest) (*TestExoneration, error)
    // Atomically appends a batch of test exonerations to a non-finalized
    // invocation.
    BatchCreateTestExonerations(context.Context, *BatchCreateTestExonerationsRequest) (*BatchCreateTestExonerationsResponse, error)
}

RecorderServer is the server API for Recorder service.

type ResultDBClient Uses

type ResultDBClient interface {
    // Retrieves an invocation.
    GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
    // Retrieves a test result.
    GetTestResult(ctx context.Context, in *GetTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
    // Retrieves test results for a parent invocation.
    //
    // Note: response does not contain test results of included invocations.
    // Use QueryTestResults instead.
    ListTestResults(ctx context.Context, in *ListTestResultsRequest, opts ...grpc.CallOption) (*ListTestResultsResponse, error)
    // Retrieves a test exoneration.
    GetTestExoneration(ctx context.Context, in *GetTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)
    // Retrieves test exonerations for a parent invocation.
    //
    // Note: response does not contain test results of included invocations.
    // Use QueryTestExonerations instead.
    ListTestExonerations(ctx context.Context, in *ListTestExonerationsRequest, opts ...grpc.CallOption) (*ListTestExonerationsResponse, error)
    // Retrieves test results from an invocation, recursively.
    // Supports invocation inclusions.
    // Supports advanced filtering.
    QueryTestResults(ctx context.Context, in *QueryTestResultsRequest, opts ...grpc.CallOption) (*QueryTestResultsResponse, error)
    // Retrieves test exonerations from an invocation.
    // Supports invocation inclusions.
    // Supports advanced filtering.
    QueryTestExonerations(ctx context.Context, in *QueryTestExonerationsRequest, opts ...grpc.CallOption) (*QueryTestExonerationsResponse, error)
    // Retrieves the test result statistics of an invocation.
    // Currently supports total number of test results belong to the invocation,
    // directly and indirectly.
    QueryTestResultStatistics(ctx context.Context, in *QueryTestResultStatisticsRequest, opts ...grpc.CallOption) (*QueryTestResultStatisticsResponse, error)
    // Retrieves an artifact.
    GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
    // Retrieves artifacts for a parent invocation/testResult.
    //
    // Note: if the parent is an invocation, the response does not contain
    // artifacts of included invocations. Use QueryArtifacts instead.
    ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error)
    // Retrieves artifacts from an invocation, recursively.
    // Can retrieve artifacts of test results included in the invocation
    // directly or indirectly.
    // Supports invocation inclusions.
    QueryArtifacts(ctx context.Context, in *QueryArtifactsRequest, opts ...grpc.CallOption) (*QueryArtifactsResponse, error)
    GetTestResultHistory(ctx context.Context, in *GetTestResultHistoryRequest, opts ...grpc.CallOption) (*GetTestResultHistoryResponse, error)
}

ResultDBClient is the client API for ResultDB service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewResultDBClient Uses

func NewResultDBClient(cc grpc.ClientConnInterface) ResultDBClient

func NewResultDBPRPCClient Uses

func NewResultDBPRPCClient(client *prpc.Client) ResultDBClient

type ResultDBServer Uses

type ResultDBServer interface {
    // Retrieves an invocation.
    GetInvocation(context.Context, *GetInvocationRequest) (*Invocation, error)
    // Retrieves a test result.
    GetTestResult(context.Context, *GetTestResultRequest) (*TestResult, error)
    // Retrieves test results for a parent invocation.
    //
    // Note: response does not contain test results of included invocations.
    // Use QueryTestResults instead.
    ListTestResults(context.Context, *ListTestResultsRequest) (*ListTestResultsResponse, error)
    // Retrieves a test exoneration.
    GetTestExoneration(context.Context, *GetTestExonerationRequest) (*TestExoneration, error)
    // Retrieves test exonerations for a parent invocation.
    //
    // Note: response does not contain test results of included invocations.
    // Use QueryTestExonerations instead.
    ListTestExonerations(context.Context, *ListTestExonerationsRequest) (*ListTestExonerationsResponse, error)
    // Retrieves test results from an invocation, recursively.
    // Supports invocation inclusions.
    // Supports advanced filtering.
    QueryTestResults(context.Context, *QueryTestResultsRequest) (*QueryTestResultsResponse, error)
    // Retrieves test exonerations from an invocation.
    // Supports invocation inclusions.
    // Supports advanced filtering.
    QueryTestExonerations(context.Context, *QueryTestExonerationsRequest) (*QueryTestExonerationsResponse, error)
    // Retrieves the test result statistics of an invocation.
    // Currently supports total number of test results belong to the invocation,
    // directly and indirectly.
    QueryTestResultStatistics(context.Context, *QueryTestResultStatisticsRequest) (*QueryTestResultStatisticsResponse, error)
    // Retrieves an artifact.
    GetArtifact(context.Context, *GetArtifactRequest) (*Artifact, error)
    // Retrieves artifacts for a parent invocation/testResult.
    //
    // Note: if the parent is an invocation, the response does not contain
    // artifacts of included invocations. Use QueryArtifacts instead.
    ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
    // Retrieves artifacts from an invocation, recursively.
    // Can retrieve artifacts of test results included in the invocation
    // directly or indirectly.
    // Supports invocation inclusions.
    QueryArtifacts(context.Context, *QueryArtifactsRequest) (*QueryArtifactsResponse, error)
    GetTestResultHistory(context.Context, *GetTestResultHistoryRequest) (*GetTestResultHistoryResponse, error)
}

ResultDBServer is the server API for ResultDB service.

type StringPair Uses

type StringPair struct {

    // Regex: ^[a-z][a-z0-9_]*(/[a-z][a-z0-9_]*)*$
    // Max length: 64.
    Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    // Max length: 256.
    Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    // contains filtered or unexported fields
}

A string key-value pair. Typically used for tagging, see Invocation.tags

func (*StringPair) Descriptor Uses

func (*StringPair) Descriptor() ([]byte, []int)

Deprecated: Use StringPair.ProtoReflect.Descriptor instead.

func (*StringPair) GetKey Uses

func (x *StringPair) GetKey() string

func (*StringPair) GetValue Uses

func (x *StringPair) GetValue() string

func (*StringPair) ProtoMessage Uses

func (*StringPair) ProtoMessage()

func (*StringPair) ProtoReflect Uses

func (x *StringPair) ProtoReflect() protoreflect.Message

func (*StringPair) Reset Uses

func (x *StringPair) Reset()

func (*StringPair) String Uses

func (x *StringPair) String() string

type TestExoneration Uses

type TestExoneration struct {

    // Can be used to refer to this test exoneration, e.g. in
    // ResultDB.GetTestExoneration RPC.
    // Format:
    // invocations/{INVOCATION_ID}/tests/{URL_ESCAPED_TEST_ID}/exonerations/{EXONERATION_ID}.
    // URL_ESCAPED_TEST_ID is test_variant.test_id escaped with
    // https://golang.org/pkg/net/url/#PathEscape See also https://aip.dev/122.
    //
    // Output only.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Test identifier, see TestResult.test_id.
    TestId string `protobuf:"bytes,2,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
    // Description of the variant of the test, see Variant type.
    // Unlike TestResult.extra_variant_pairs, this one must be a full definition
    // of the variant, i.e. it is not combined with Invocation.base_test_variant.
    Variant *Variant `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
    // Identifies an exoneration in a given invocation and test id.
    // It is server-generated.
    ExonerationId string `protobuf:"bytes,4,opt,name=exoneration_id,json=exonerationId,proto3" json:"exoneration_id,omitempty"`
    // Reasoning behind the exoneration, in HTML.
    // MUST be sanitized before rendering in the browser.
    ExplanationHtml string `protobuf:"bytes,5,opt,name=explanation_html,json=explanationHtml,proto3" json:"explanation_html,omitempty"`
    // Hash of the variant.
    // hex(sha256(sorted(''.join('%s:%s\n' for k, v in variant.items())))).
    VariantHash string `protobuf:"bytes,6,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
    // contains filtered or unexported fields
}

Indicates the test subject (e.g. a CL) is absolved from blame for an unexpected result of a test variant. For example, the test variant fails both with and without CL, so it is not CL's fault.

func (*TestExoneration) Descriptor Uses

func (*TestExoneration) Descriptor() ([]byte, []int)

Deprecated: Use TestExoneration.ProtoReflect.Descriptor instead.

func (*TestExoneration) GetExonerationId Uses

func (x *TestExoneration) GetExonerationId() string

func (*TestExoneration) GetExplanationHtml Uses

func (x *TestExoneration) GetExplanationHtml() string

func (*TestExoneration) GetName Uses

func (x *TestExoneration) GetName() string

func (*TestExoneration) GetTestId Uses

func (x *TestExoneration) GetTestId() string

func (*TestExoneration) GetVariant Uses

func (x *TestExoneration) GetVariant() *Variant

func (*TestExoneration) GetVariantHash Uses

func (x *TestExoneration) GetVariantHash() string

func (*TestExoneration) ProtoMessage Uses

func (*TestExoneration) ProtoMessage()

func (*TestExoneration) ProtoReflect Uses

func (x *TestExoneration) ProtoReflect() protoreflect.Message

func (*TestExoneration) Reset Uses

func (x *TestExoneration) Reset()

func (*TestExoneration) String Uses

func (x *TestExoneration) String() string

type TestExonerationPredicate Uses

type TestExonerationPredicate struct {

    // A test exoneration must have a test id matching this regular expression
    // entirely, i.e. the expression is implicitly wrapped with ^ and $.
    TestIdRegexp string `protobuf:"bytes,1,opt,name=test_id_regexp,json=testIdRegexp,proto3" json:"test_id_regexp,omitempty"`
    // A test exoneration must have a variant satisfying this predicate.
    Variant *VariantPredicate `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"`
    // contains filtered or unexported fields
}

Represents a function TestExoneration -> bool. Empty message matches all test exonerations.

func (*TestExonerationPredicate) Descriptor Uses

func (*TestExonerationPredicate) Descriptor() ([]byte, []int)

Deprecated: Use TestExonerationPredicate.ProtoReflect.Descriptor instead.

func (*TestExonerationPredicate) GetTestIdRegexp Uses

func (x *TestExonerationPredicate) GetTestIdRegexp() string

func (*TestExonerationPredicate) GetVariant Uses

func (x *TestExonerationPredicate) GetVariant() *VariantPredicate

func (*TestExonerationPredicate) ProtoMessage Uses

func (*TestExonerationPredicate) ProtoMessage()

func (*TestExonerationPredicate) ProtoReflect Uses

func (x *TestExonerationPredicate) ProtoReflect() protoreflect.Message

func (*TestExonerationPredicate) Reset Uses

func (x *TestExonerationPredicate) Reset()

func (*TestExonerationPredicate) String Uses

func (x *TestExonerationPredicate) String() string

type TestLocation Uses

type TestLocation struct {

    // Name of the file where the test is defined.
    // For files in a repository, must start with "//"
    // Example: "//components/payments/core/payment_request_data_util_unittest.cc"
    // Max length: 512.
    // SHOULD not use backslashes.
    FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
    // One-based line number where the test is defined.
    Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
    // contains filtered or unexported fields
}

Location of the test definition.

func (*TestLocation) Descriptor Uses

func (*TestLocation) Descriptor() ([]byte, []int)

Deprecated: Use TestLocation.ProtoReflect.Descriptor instead.

func (*TestLocation) GetFileName Uses

func (x *TestLocation) GetFileName() string

func (*TestLocation) GetLine Uses

func (x *TestLocation) GetLine() int32

func (*TestLocation) ProtoMessage Uses

func (*TestLocation) ProtoMessage()

func (*TestLocation) ProtoReflect Uses

func (x *TestLocation) ProtoReflect() protoreflect.Message

func (*TestLocation) Reset Uses

func (x *TestLocation) Reset()

func (*TestLocation) String Uses

func (x *TestLocation) String() string

type TestResult Uses

type TestResult struct {

    // Can be used to refer to this test result, e.g. in ResultDB.GetTestResult
    // RPC.
    // Format:
    // "invocations/{INVOCATION_ID}/tests/{URL_ESCAPED_TEST_ID}/results/{RESULT_ID}".
    // where URL_ESCAPED_TEST_ID is test_id escaped with
    // https://golang.org/pkg/net/url/#PathEscape See also https://aip.dev/122.
    //
    // Output only.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Test id, a unique identifier of the test in a LUCI project.
    // Regex: ^[[::print::]]{1,256}$
    //
    // If two tests have a common test id prefix that ends with a
    // non-alphanumeric character, they considered a part of a group. Examples:
    // - "a/b/c"
    // - "a/b/d"
    // - "a/b/e:x"
    // - "a/b/e:y"
    // - "a/f"
    // This defines the following groups:
    // - All items belong to one group because of the common prefix "a/"
    // - Within that group, the first 4 form a sub-group because of the common
    //   prefix "a/b/"
    // - Within that group, "a/b/e:x" and "a/b/e:y" form a sub-group because of
    //   the common prefix "a/b/e:".
    // This can be used in UI.
    // LUCI does not interpret test ids in any other way.
    TestId string `protobuf:"bytes,2,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
    // Identifies a test result in a given invocation and test id.
    // Regex: ^[a-z0-9\-_.]{1,32}$
    ResultId string `protobuf:"bytes,3,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
    // Description of one specific way of running the test,
    // e.g. a specific bucket, builder and a test suite.
    Variant *Variant `protobuf:"bytes,4,opt,name=variant,proto3" json:"variant,omitempty"`
    // Whether the result of test case execution is expected.
    // In a typical Chromium CL, 99%+ of test results are expected.
    // Users are typically interested only in the unexpected results.
    //
    // An unexpected result != test case failure. There are test cases that are
    // expected to fail/skip/crash. The test harness compares the actual status
    // with the expected one(s) and this field is the result of the comparison.
    Expected bool `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"`
    // Machine-readable status of the test case.
    // MUST NOT be STATUS_UNSPECIFIED.
    Status TestStatus `protobuf:"varint,6,opt,name=status,proto3,enum=luci.resultdb.v1.TestStatus" json:"status,omitempty"`
    // Human-readable explanation of the result, in HTML.
    // MUST be sanitized before rendering in the browser.
    //
    // The size of the summary must be equal to or smaller than 4096 bytes in
    // UTF-8.
    SummaryHtml string `protobuf:"bytes,7,opt,name=summary_html,json=summaryHtml,proto3" json:"summary_html,omitempty"`
    // The point in time when the test case started to execute.
    StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // Duration of the test case execution.
    // MUST be equal to or greater than 0.
    Duration *duration.Duration `protobuf:"bytes,9,opt,name=duration,proto3" json:"duration,omitempty"`
    // Metadata for this test result.
    // It might describe this particular execution or the test case.
    // A key can be repeated.
    Tags []*StringPair `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
    // Where the test is defined, e.g. the file name.
    TestLocation *TestLocation `protobuf:"bytes,11,opt,name=test_location,json=testLocation,proto3" json:"test_location,omitempty"`
    // Hash of the variant.
    // hex(sha256(sorted(''.join('%s:%s\n' for k, v in variant.items())))).
    //
    // Output only.
    VariantHash string `protobuf:"bytes,12,opt,name=variant_hash,json=variantHash,proto3" json:"variant_hash,omitempty"`
    // contains filtered or unexported fields
}

A result of a functional test case. Often a single test case is executed multiple times and has multiple results, a single test suite has multiple test cases, and the same test suite can be executed in different variants (OS, GPU, compile flags, etc).

This message does not specify the test id. It should be available in the message that embeds this message.

func (*TestResult) Descriptor Uses

func (*TestResult) Descriptor() ([]byte, []int)

Deprecated: Use TestResult.ProtoReflect.Descriptor instead.

func (*TestResult) GetDuration Uses

func (x *TestResult) GetDuration() *duration.Duration

func (*TestResult) GetExpected Uses

func (x *TestResult) GetExpected() bool

func (*TestResult) GetName Uses

func (x *TestResult) GetName() string

func (*TestResult) GetResultId Uses

func (x *TestResult) GetResultId() string

func (*TestResult) GetStartTime Uses

func (x *TestResult) GetStartTime() *timestamp.Timestamp

func (*TestResult) GetStatus Uses

func (x *TestResult) GetStatus() TestStatus

func (*TestResult) GetSummaryHtml Uses

func (x *TestResult) GetSummaryHtml() string

func (*TestResult) GetTags Uses

func (x *TestResult) GetTags() []*StringPair

func (*TestResult) GetTestId Uses

func (x *TestResult) GetTestId() string

func (*TestResult) GetTestLocation Uses

func (x *TestResult) GetTestLocation() *TestLocation

func (*TestResult) GetVariant Uses

func (x *TestResult) GetVariant() *Variant

func (*TestResult) GetVariantHash Uses

func (x *TestResult) GetVariantHash() string

func (*TestResult) ProtoMessage Uses

func (*TestResult) ProtoMessage()

func (*TestResult) ProtoReflect Uses

func (x *TestResult) ProtoReflect() protoreflect.Message

func (*TestResult) Reset Uses

func (x *TestResult) Reset()

func (*TestResult) String Uses

func (x *TestResult) String() string

type TestResultPredicate Uses

type TestResultPredicate struct {

    // A test result must have a test id matching this regular expression
    // entirely, i.e. the expression is implicitly wrapped with ^ and $.
    TestIdRegexp string `protobuf:"bytes,1,opt,name=test_id_regexp,json=testIdRegexp,proto3" json:"test_id_regexp,omitempty"`
    // A test result must have a variant satisfying this predicate.
    Variant *VariantPredicate `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"`
    // A test result must match this predicate based on TestResult.expected field.
    // Most clients would want to override this field because the default
    // typically causes a large response size.
    Expectancy TestResultPredicate_Expectancy `protobuf:"varint,3,opt,name=expectancy,proto3,enum=luci.resultdb.v1.TestResultPredicate_Expectancy" json:"expectancy,omitempty"`
    // If true, filter out exonerated test variants.
    // Mutually exclusive with Expectancy.ALL.
    //
    // If false, the filter is NOT applied.
    // That is, the test result may or may not be exonerated.
    ExcludeExonerated bool `protobuf:"varint,4,opt,name=exclude_exonerated,json=excludeExonerated,proto3" json:"exclude_exonerated,omitempty"`
    // contains filtered or unexported fields
}

Represents a function TestResult -> bool. Empty message matches all test results.

Most clients would want to set expected_results to VARIANTS_WITH_UNEXPECTED_RESULTS.

func (*TestResultPredicate) Descriptor Uses

func (*TestResultPredicate) Descriptor() ([]byte, []int)

Deprecated: Use TestResultPredicate.ProtoReflect.Descriptor instead.

func (*TestResultPredicate) GetExcludeExonerated Uses

func (x *TestResultPredicate) GetExcludeExonerated() bool

func (*TestResultPredicate) GetExpectancy Uses

func (x *TestResultPredicate) GetExpectancy() TestResultPredicate_Expectancy

func (*TestResultPredicate) GetTestIdRegexp Uses

func (x *TestResultPredicate) GetTestIdRegexp() string

func (*TestResultPredicate) GetVariant Uses

func (x *TestResultPredicate) GetVariant() *VariantPredicate

func (*TestResultPredicate) ProtoMessage Uses

func (*TestResultPredicate) ProtoMessage()

func (*TestResultPredicate) ProtoReflect Uses

func (x *TestResultPredicate) ProtoReflect() protoreflect.Message

func (*TestResultPredicate) Reset Uses

func (x *TestResultPredicate) Reset()

func (*TestResultPredicate) String Uses

func (x *TestResultPredicate) String() string

type TestResultPredicate_Expectancy Uses

type TestResultPredicate_Expectancy int32

Filters test results based on TestResult.expected field.

const (
    // All test results satisfiy this.
    // WARNING: using this significantly increases response size and latency.
    TestResultPredicate_ALL TestResultPredicate_Expectancy = 0
    // A test result must belong to a test variant that has one or more
    // unexpected results. It can be used to fetch both unexpected and flakily
    // expected results.
    //
    // Note that the predicate is defined at the test variant level.
    // For example, if a test variant expects a PASS and has results
    // [FAIL, FAIL, PASS], then all results satisfy the predicate because
    // the variant satisfies the predicate.
    TestResultPredicate_VARIANTS_WITH_UNEXPECTED_RESULTS TestResultPredicate_Expectancy = 1
    // Similar to VARIANTS_WITH_UNEXPECTED_RESULTS, but the test variant
    // must not have any expected results.
    TestResultPredicate_VARIANTS_WITH_ONLY_UNEXPECTED_RESULTS TestResultPredicate_Expectancy = 2
)

func (TestResultPredicate_Expectancy) Descriptor Uses

func (TestResultPredicate_Expectancy) Descriptor() protoreflect.EnumDescriptor

func (TestResultPredicate_Expectancy) Enum Uses

func (x TestResultPredicate_Expectancy) Enum() *TestResultPredicate_Expectancy

func (TestResultPredicate_Expectancy) EnumDescriptor Uses

func (TestResultPredicate_Expectancy) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestResultPredicate_Expectancy.Descriptor instead.

func (TestResultPredicate_Expectancy) Number Uses

func (x TestResultPredicate_Expectancy) Number() protoreflect.EnumNumber

func (TestResultPredicate_Expectancy) String Uses

func (x TestResultPredicate_Expectancy) String() string

func (TestResultPredicate_Expectancy) Type Uses

func (TestResultPredicate_Expectancy) Type() protoreflect.EnumType

type TestStatus Uses

type TestStatus int32

Machine-readable status of a test result.

const (
    // Status was not specified.
    // Not to be used in actual test results; serves as a default value for an
    // unset field.
    TestStatus_STATUS_UNSPECIFIED TestStatus = 0
    // The test case has passed.
    TestStatus_PASS TestStatus = 1
    // The test case has failed.
    // Suggests that the code under test is incorrect, but it is also possible
    // that the test is incorrect or it is a flake.
    TestStatus_FAIL TestStatus = 2
    // The test case has crashed during execution.
    // The outcome is inconclusive: the code under test might or might not be
    // correct, but the test+code is incorrect.
    TestStatus_CRASH TestStatus = 3
    // The test case has started, but was aborted before finishing.
    // A common reason: timeout.
    TestStatus_ABORT TestStatus = 4
    // The test case did not execute.
    // Examples:
    // - The execution of the collection of test cases, such as a test
    //   binary, was aborted prematurely and execution of some test cases was
    //   skipped.
    // - The test harness configuration specified that the test case MUST be
    //   skipped.
    TestStatus_SKIP TestStatus = 5
)

func (TestStatus) Descriptor Uses

func (TestStatus) Descriptor() protoreflect.EnumDescriptor

func (TestStatus) Enum Uses

func (x TestStatus) Enum() *TestStatus

func (TestStatus) EnumDescriptor Uses

func (TestStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestStatus.Descriptor instead.

func (TestStatus) Number Uses

func (x TestStatus) Number() protoreflect.EnumNumber

func (TestStatus) String Uses

func (x TestStatus) String() string

func (TestStatus) Type Uses

func (TestStatus) Type() protoreflect.EnumType

type TimeRange Uses

type TimeRange struct {

    // The oldest timestamp to include in the range.
    Earliest *timestamp.Timestamp `protobuf:"bytes,1,opt,name=earliest,proto3" json:"earliest,omitempty"`
    // Include only timestamps that are strictly older than this.
    Latest *timestamp.Timestamp `protobuf:"bytes,2,opt,name=latest,proto3" json:"latest,omitempty"`
    // contains filtered or unexported fields
}

A range of timestamps. Used for specifying ranges to query in ResultDB.GetTestResultHistory.

func (*TimeRange) Descriptor Uses

func (*TimeRange) Descriptor() ([]byte, []int)

Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.

func (*TimeRange) GetEarliest Uses

func (x *TimeRange) GetEarliest() *timestamp.Timestamp

func (*TimeRange) GetLatest Uses

func (x *TimeRange) GetLatest() *timestamp.Timestamp

func (*TimeRange) ProtoMessage Uses

func (*TimeRange) ProtoMessage()

func (*TimeRange) ProtoReflect Uses

func (x *TimeRange) ProtoReflect() protoreflect.Message

func (*TimeRange) Reset Uses

func (x *TimeRange) Reset()

func (*TimeRange) String Uses

func (x *TimeRange) String() string

type UnimplementedDeriverServer Uses

type UnimplementedDeriverServer struct {
}

UnimplementedDeriverServer can be embedded to have forward compatible implementations.

func (*UnimplementedDeriverServer) DeriveChromiumInvocation Uses

func (*UnimplementedDeriverServer) DeriveChromiumInvocation(context.Context, *DeriveChromiumInvocationRequest) (*Invocation, error)

type UnimplementedRecorderServer Uses

type UnimplementedRecorderServer struct {
}

UnimplementedRecorderServer can be embedded to have forward compatible implementations.

func (*UnimplementedRecorderServer) BatchCreateInvocations Uses

func (*UnimplementedRecorderServer) BatchCreateInvocations(context.Context, *BatchCreateInvocationsRequest) (*BatchCreateInvocationsResponse, error)

func (*UnimplementedRecorderServer) BatchCreateTestExonerations Uses

func (*UnimplementedRecorderServer) BatchCreateTestExonerations(context.Context, *BatchCreateTestExonerationsRequest) (*BatchCreateTestExonerationsResponse, error)

func (*UnimplementedRecorderServer) BatchCreateTestResults Uses

func (*UnimplementedRecorderServer) BatchCreateTestResults(context.Context, *BatchCreateTestResultsRequest) (*BatchCreateTestResultsResponse, error)

func (*UnimplementedRecorderServer) CreateInvocation Uses

func (*UnimplementedRecorderServer) CreateInvocation(context.Context, *CreateInvocationRequest) (*Invocation, error)

func (*UnimplementedRecorderServer) CreateTestExoneration Uses

func (*UnimplementedRecorderServer) CreateTestExoneration(context.Context, *CreateTestExonerationRequest) (*TestExoneration, error)

func (*UnimplementedRecorderServer) CreateTestResult Uses

func (*UnimplementedRecorderServer) CreateTestResult(context.Context, *CreateTestResultRequest) (*TestResult, error)

func (*UnimplementedRecorderServer) FinalizeInvocation Uses

func (*UnimplementedRecorderServer) FinalizeInvocation(context.Context, *FinalizeInvocationRequest) (*Invocation, error)

func (*UnimplementedRecorderServer) UpdateIncludedInvocations Uses

func (*UnimplementedRecorderServer) UpdateIncludedInvocations(context.Context, *UpdateIncludedInvocationsRequest) (*empty.Empty, error)

func (*UnimplementedRecorderServer) UpdateInvocation Uses

func (*UnimplementedRecorderServer) UpdateInvocation(context.Context, *UpdateInvocationRequest) (*Invocation, error)

type UnimplementedResultDBServer Uses

type UnimplementedResultDBServer struct {
}

UnimplementedResultDBServer can be embedded to have forward compatible implementations.

func (*UnimplementedResultDBServer) GetArtifact Uses

func (*UnimplementedResultDBServer) GetArtifact(context.Context, *GetArtifactRequest) (*Artifact, error)

func (*UnimplementedResultDBServer) GetInvocation Uses

func (*UnimplementedResultDBServer) GetInvocation(context.Context, *GetInvocationRequest) (*Invocation, error)

func (*UnimplementedResultDBServer) GetTestExoneration Uses

func (*UnimplementedResultDBServer) GetTestExoneration(context.Context, *GetTestExonerationRequest) (*TestExoneration, error)

func (*UnimplementedResultDBServer) GetTestResult Uses

func (*UnimplementedResultDBServer) GetTestResult(context.Context, *GetTestResultRequest) (*TestResult, error)

func (*UnimplementedResultDBServer) GetTestResultHistory Uses

func (*UnimplementedResultDBServer) GetTestResultHistory(context.Context, *GetTestResultHistoryRequest) (*GetTestResultHistoryResponse, error)

func (*UnimplementedResultDBServer) ListArtifacts Uses

func (*UnimplementedResultDBServer) ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)

func (*UnimplementedResultDBServer) ListTestExonerations Uses

func (*UnimplementedResultDBServer) ListTestExonerations(context.Context, *ListTestExonerationsRequest) (*ListTestExonerationsResponse, error)

func (*UnimplementedResultDBServer) ListTestResults Uses

func (*UnimplementedResultDBServer) ListTestResults(context.Context, *ListTestResultsRequest) (*ListTestResultsResponse, error)

func (*UnimplementedResultDBServer) QueryArtifacts Uses

func (*UnimplementedResultDBServer) QueryArtifacts(context.Context, *QueryArtifactsRequest) (*QueryArtifactsResponse, error)

func (*UnimplementedResultDBServer) QueryTestExonerations Uses

func (*UnimplementedResultDBServer) QueryTestExonerations(context.Context, *QueryTestExonerationsRequest) (*QueryTestExonerationsResponse, error)

func (*UnimplementedResultDBServer) QueryTestResultStatistics Uses

func (*UnimplementedResultDBServer) QueryTestResultStatistics(context.Context, *QueryTestResultStatisticsRequest) (*QueryTestResultStatisticsResponse, error)

func (*UnimplementedResultDBServer) QueryTestResults Uses

func (*UnimplementedResultDBServer) QueryTestResults(context.Context, *QueryTestResultsRequest) (*QueryTestResultsResponse, error)

type UpdateIncludedInvocationsRequest Uses

type UpdateIncludedInvocationsRequest struct {

    // Name of the invocation to add/remove inclusions to/from,
    // see Invocation.name.
    // For example, name of the buildbucket build invocation that should include
    // a swarming task invocation.
    IncludingInvocation string `protobuf:"bytes,1,opt,name=including_invocation,json=includingInvocation,proto3" json:"including_invocation,omitempty"`
    // Names of the invocations to include, see Invocation.name.
    // If any of these invocations are already included, they will be silently
    // ignored for idempotency.
    AddInvocations []string `protobuf:"bytes,2,rep,name=add_invocations,json=addInvocations,proto3" json:"add_invocations,omitempty"`
    // Names of the previously included invocations to remove, see
    // Invocation.name.
    // If any of these invocations are not included already, they will be silently
    // ignored for idempotency.
    RemoveInvocations []string `protobuf:"bytes,3,rep,name=remove_invocations,json=removeInvocations,proto3" json:"remove_invocations,omitempty"`
    // contains filtered or unexported fields
}

A request message for UpdateIncludedInvocations RPC.

func (*UpdateIncludedInvocationsRequest) Descriptor Uses

func (*UpdateIncludedInvocationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIncludedInvocationsRequest.ProtoReflect.Descriptor instead.

func (*UpdateIncludedInvocationsRequest) GetAddInvocations Uses

func (x *UpdateIncludedInvocationsRequest) GetAddInvocations() []string

func (*UpdateIncludedInvocationsRequest) GetIncludingInvocation Uses

func (x *UpdateIncludedInvocationsRequest) GetIncludingInvocation() string

func (*UpdateIncludedInvocationsRequest) GetRemoveInvocations Uses

func (x *UpdateIncludedInvocationsRequest) GetRemoveInvocations() []string

func (*UpdateIncludedInvocationsRequest) ProtoMessage Uses

func (*UpdateIncludedInvocationsRequest) ProtoMessage()

func (*UpdateIncludedInvocationsRequest) ProtoReflect Uses

func (x *UpdateIncludedInvocationsRequest) ProtoReflect() protoreflect.Message

func (*UpdateIncludedInvocationsRequest) Reset Uses

func (x *UpdateIncludedInvocationsRequest) Reset()

func (*UpdateIncludedInvocationsRequest) String Uses

func (x *UpdateIncludedInvocationsRequest) String() string

type UpdateInvocationRequest Uses

type UpdateInvocationRequest struct {

    // Invocation to update.
    Invocation *Invocation `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"`
    // The list of fields to be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

A request message for UpdateInvocation RPC.

func (*UpdateInvocationRequest) Descriptor Uses

func (*UpdateInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInvocationRequest.ProtoReflect.Descriptor instead.

func (*UpdateInvocationRequest) GetInvocation Uses

func (x *UpdateInvocationRequest) GetInvocation() *Invocation

func (*UpdateInvocationRequest) GetUpdateMask Uses

func (x *UpdateInvocationRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateInvocationRequest) ProtoMessage Uses

func (*UpdateInvocationRequest) ProtoMessage()

func (*UpdateInvocationRequest) ProtoReflect Uses

func (x *UpdateInvocationRequest) ProtoReflect() protoreflect.Message

func (*UpdateInvocationRequest) Reset Uses

func (x *UpdateInvocationRequest) Reset()

func (*UpdateInvocationRequest) String Uses

func (x *UpdateInvocationRequest) String() string

type Variant Uses

type Variant struct {

    // The definition of the variant.
    // Key and values must be valid StringPair keys and values, see their
    // constraints.
    Def map[string]string `protobuf:"bytes,1,rep,name=def,proto3" json:"def,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

A key-value map describing one variant of a test case.

The same test case can be executed in different ways, for example on different OS, GPUs, with different compile options or runtime flags. A variant definition captures one variant. A test case with a specific variant definition is called test variant.

Guidelines for variant definition design: - This rule guides what keys MUST be present in the definition.

A single expected result of a given test variant is enough to consider it
passing (potentially flakily). If it is important to differentiate across
a certain dimension (e.g. whether web tests are executed with or without
site per process isolation), then there MUST be a key that captures the
dimension (e.g. a name from test_suites.pyl).
Otherwise, a pass in one variant will hide a failure of another one.

- This rule guides what keys MUST NOT be present in the definition.

A change in the key-value set essentially resets the test result history.
For example, if GN args are among variant key-value pairs, then adding a
new GN arg changes the identity of the test variant and resets its history.

In Chromium, variant keys are: - bucket: the LUCI bucket, e.g. "ci" - builder: the LUCI builder, e.g. "linux-rel" - test_suite: a name from

https://cs.chromium.org/chromium/src/testing/buildbot/test_suites.pyl

func (*Variant) Descriptor Uses

func (*Variant) Descriptor() ([]byte, []int)

Deprecated: Use Variant.ProtoReflect.Descriptor instead.

func (*Variant) GetDef Uses

func (x *Variant) GetDef() map[string]string

func (*Variant) ProtoMessage Uses

func (*Variant) ProtoMessage()

func (*Variant) ProtoReflect Uses

func (x *Variant) ProtoReflect() protoreflect.Message

func (*Variant) Reset Uses

func (x *Variant) Reset()

func (*Variant) String Uses

func (x *Variant) String() string

type VariantPredicate Uses

type VariantPredicate struct {

    // Types that are assignable to Predicate:
    //	*VariantPredicate_Equals
    //	*VariantPredicate_Contains
    Predicate isVariantPredicate_Predicate `protobuf_oneof:"predicate"`
    // contains filtered or unexported fields
}

Represents a function Variant -> bool.

func (*VariantPredicate) Descriptor Uses

func (*VariantPredicate) Descriptor() ([]byte, []int)

Deprecated: Use VariantPredicate.ProtoReflect.Descriptor instead.

func (*VariantPredicate) GetContains Uses

func (x *VariantPredicate) GetContains() *Variant

func (*VariantPredicate) GetEquals Uses

func (x *VariantPredicate) GetEquals() *Variant

func (*VariantPredicate) GetPredicate Uses

func (m *VariantPredicate) GetPredicate() isVariantPredicate_Predicate

func (*VariantPredicate) ProtoMessage Uses

func (*VariantPredicate) ProtoMessage()

func (*VariantPredicate) ProtoReflect Uses

func (x *VariantPredicate) ProtoReflect() protoreflect.Message

func (*VariantPredicate) Reset Uses

func (x *VariantPredicate) Reset()

func (*VariantPredicate) String Uses

func (x *VariantPredicate) String() string

type VariantPredicate_Contains Uses

type VariantPredicate_Contains struct {
    // A variant's key-value pairs must contain those in this one.
    Contains *Variant `protobuf:"bytes,2,opt,name=contains,proto3,oneof"`
}

type VariantPredicate_Equals Uses

type VariantPredicate_Equals struct {
    // A variant must be equal this definition exactly.
    Equals *Variant `protobuf:"bytes,1,opt,name=equals,proto3,oneof"`
}

Package resultpb imports 18 packages (graph) and is imported by 31 packages. Updated 2020-09-29. Refresh now. Tools for package owners.