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

package rpcpb

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

Index

Package Files

gen.go invocation.pb.go invocation_processing.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 Invocation_State_name = map[int32]string{
    0:  "STATE_UNSPECIFIED",
    1:  "ACTIVE",
    2:  "COMPLETED",
    3:  "INTERRUPTED",
}
var Invocation_State_value = map[string]int32{
    "STATE_UNSPECIFIED": 0,
    "ACTIVE":            1,
    "COMPLETED":         2,
    "INTERRUPTED":       3,
}
var TestResultPredicate_Expectancy_name = map[int32]string{
    0:  "ALL",
    1:  "VARIANTS_WITH_UNEXPECTED_RESULTS",
}
var TestResultPredicate_Expectancy_value = map[string]int32{
    "ALL":                              0,
    "VARIANTS_WITH_UNEXPECTED_RESULTS": 1,
}
var TestStatus_name = map[int32]string{
    0:  "STATUS_UNSPECIFIED",
    1:  "PASS",
    2:  "FAIL",
    3:  "CRASH",
    4:  "ABORT",
    5:  "SKIP",
}
var TestStatus_value = map[string]int32{
    "STATUS_UNSPECIFIED": 0,
    "PASS":               1,
    "FAIL":               2,
    "CRASH":              3,
    "ABORT":              4,
    "SKIP":               5,
}

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 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 {
    // A slash-separated relative path, identifies the artifact.
    // Example: "traces/a.txt".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Machine-readable URL to fetch the contents of the artifact.
    // Valid schemes: "isolate", "gs", "logdog", "rbe-cas".
    FetchUrl string `protobuf:"bytes,2,opt,name=fetch_url,json=fetchUrl,proto3" json:"fetch_url,omitempty"`
    // Human-consumable URL to the file content.
    // Typically a URL of a page where the user can view/download the arficact.
    ViewUrl string `protobuf:"bytes,3,opt,name=view_url,json=viewUrl,proto3" json:"view_url,omitempty"`
    // Media type of the artifact.
    // Logs are typically "plain/text" and screenshots are typically "image/png".
    ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
    // Size of the file, in bytes.
    // Can be used in UI to decide whether to fetch an artifact and display it
    // inline, or only show a link if it is too large.
    Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
    // Contents of the artifact if it is stored inline with the test result.
    // Empty for artifacts stored elsewhere. To fetch such artifacts, use
    // fetch_url.
    // Size MUST be <= 8KB.
    Contents             []byte   `protobuf:"bytes,6,opt,name=contents,proto3" json:"contents,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A file produced/consumed by a test case. See TestResult.output_artifacts for examples.

func (*Artifact) Descriptor Uses

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

func (*Artifact) GetContentType Uses

func (m *Artifact) GetContentType() string

func (*Artifact) GetContents Uses

func (m *Artifact) GetContents() []byte

func (*Artifact) GetFetchUrl Uses

func (m *Artifact) GetFetchUrl() string

func (*Artifact) GetName Uses

func (m *Artifact) GetName() string

func (*Artifact) GetSize Uses

func (m *Artifact) GetSize() int64

func (*Artifact) GetViewUrl Uses

func (m *Artifact) GetViewUrl() string

func (*Artifact) ProtoMessage Uses

func (*Artifact) ProtoMessage()

func (*Artifact) Reset Uses

func (m *Artifact) Reset()

func (*Artifact) String Uses

func (m *Artifact) String() string

func (*Artifact) XXX_DiscardUnknown Uses

func (m *Artifact) XXX_DiscardUnknown()

func (*Artifact) XXX_Marshal Uses

func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Artifact) XXX_Merge Uses

func (m *Artifact) XXX_Merge(src proto.Message)

func (*Artifact) XXX_Size Uses

func (m *Artifact) XXX_Size() int

func (*Artifact) XXX_Unmarshal Uses

func (m *Artifact) XXX_Unmarshal(b []byte) error

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.
    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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for BatchCreateTestExonerations RPC.

func (*BatchCreateTestExonerationsRequest) Descriptor Uses

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

func (*BatchCreateTestExonerationsRequest) GetInvocation Uses

func (m *BatchCreateTestExonerationsRequest) GetInvocation() string

func (*BatchCreateTestExonerationsRequest) GetRequestId Uses

func (m *BatchCreateTestExonerationsRequest) GetRequestId() string

func (*BatchCreateTestExonerationsRequest) GetRequests Uses

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

func (*BatchCreateTestExonerationsRequest) ProtoMessage Uses

func (*BatchCreateTestExonerationsRequest) ProtoMessage()

func (*BatchCreateTestExonerationsRequest) Reset Uses

func (m *BatchCreateTestExonerationsRequest) Reset()

func (*BatchCreateTestExonerationsRequest) String Uses

func (m *BatchCreateTestExonerationsRequest) String() string

func (*BatchCreateTestExonerationsRequest) XXX_DiscardUnknown Uses

func (m *BatchCreateTestExonerationsRequest) XXX_DiscardUnknown()

func (*BatchCreateTestExonerationsRequest) XXX_Marshal Uses

func (m *BatchCreateTestExonerationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCreateTestExonerationsRequest) XXX_Merge Uses

func (m *BatchCreateTestExonerationsRequest) XXX_Merge(src proto.Message)

func (*BatchCreateTestExonerationsRequest) XXX_Size Uses

func (m *BatchCreateTestExonerationsRequest) XXX_Size() int

func (*BatchCreateTestExonerationsRequest) XXX_Unmarshal Uses

func (m *BatchCreateTestExonerationsRequest) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

A response message for BatchCreateTestExonerations RPC.

func (*BatchCreateTestExonerationsResponse) Descriptor Uses

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

func (*BatchCreateTestExonerationsResponse) GetTestExonerations Uses

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

func (*BatchCreateTestExonerationsResponse) ProtoMessage Uses

func (*BatchCreateTestExonerationsResponse) ProtoMessage()

func (*BatchCreateTestExonerationsResponse) Reset Uses

func (m *BatchCreateTestExonerationsResponse) Reset()

func (*BatchCreateTestExonerationsResponse) String Uses

func (m *BatchCreateTestExonerationsResponse) String() string

func (*BatchCreateTestExonerationsResponse) XXX_DiscardUnknown Uses

func (m *BatchCreateTestExonerationsResponse) XXX_DiscardUnknown()

func (*BatchCreateTestExonerationsResponse) XXX_Marshal Uses

func (m *BatchCreateTestExonerationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCreateTestExonerationsResponse) XXX_Merge Uses

func (m *BatchCreateTestExonerationsResponse) XXX_Merge(src proto.Message)

func (*BatchCreateTestExonerationsResponse) XXX_Size Uses

func (m *BatchCreateTestExonerationsResponse) XXX_Size() int

func (*BatchCreateTestExonerationsResponse) XXX_Unmarshal Uses

func (m *BatchCreateTestExonerationsResponse) XXX_Unmarshal(b []byte) error

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.
    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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for BatchCreateTestResults RPC.

func (*BatchCreateTestResultsRequest) Descriptor Uses

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

func (*BatchCreateTestResultsRequest) GetInvocation Uses

func (m *BatchCreateTestResultsRequest) GetInvocation() string

func (*BatchCreateTestResultsRequest) GetRequestId Uses

func (m *BatchCreateTestResultsRequest) GetRequestId() string

func (*BatchCreateTestResultsRequest) GetRequests Uses

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

func (*BatchCreateTestResultsRequest) ProtoMessage Uses

func (*BatchCreateTestResultsRequest) ProtoMessage()

func (*BatchCreateTestResultsRequest) Reset Uses

func (m *BatchCreateTestResultsRequest) Reset()

func (*BatchCreateTestResultsRequest) String Uses

func (m *BatchCreateTestResultsRequest) String() string

func (*BatchCreateTestResultsRequest) XXX_DiscardUnknown Uses

func (m *BatchCreateTestResultsRequest) XXX_DiscardUnknown()

func (*BatchCreateTestResultsRequest) XXX_Marshal Uses

func (m *BatchCreateTestResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCreateTestResultsRequest) XXX_Merge Uses

func (m *BatchCreateTestResultsRequest) XXX_Merge(src proto.Message)

func (*BatchCreateTestResultsRequest) XXX_Size Uses

func (m *BatchCreateTestResultsRequest) XXX_Size() int

func (*BatchCreateTestResultsRequest) XXX_Unmarshal Uses

func (m *BatchCreateTestResultsRequest) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

A response message for BatchCreateTestResults RPC.

func (*BatchCreateTestResultsResponse) Descriptor Uses

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

func (*BatchCreateTestResultsResponse) GetTestResults Uses

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

func (*BatchCreateTestResultsResponse) ProtoMessage Uses

func (*BatchCreateTestResultsResponse) ProtoMessage()

func (*BatchCreateTestResultsResponse) Reset Uses

func (m *BatchCreateTestResultsResponse) Reset()

func (*BatchCreateTestResultsResponse) String Uses

func (m *BatchCreateTestResultsResponse) String() string

func (*BatchCreateTestResultsResponse) XXX_DiscardUnknown Uses

func (m *BatchCreateTestResultsResponse) XXX_DiscardUnknown()

func (*BatchCreateTestResultsResponse) XXX_Marshal Uses

func (m *BatchCreateTestResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCreateTestResultsResponse) XXX_Merge Uses

func (m *BatchCreateTestResultsResponse) XXX_Merge(src proto.Message)

func (*BatchCreateTestResultsResponse) XXX_Size Uses

func (m *BatchCreateTestResultsResponse) XXX_Size() int

func (*BatchCreateTestResultsResponse) XXX_Unmarshal Uses

func (m *BatchCreateTestResultsResponse) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
    XXX_unrecognized     []byte                      `json:"-"`
    XXX_sizecache        int32                       `json:"-"`
}

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

func (*BigQueryExport) Descriptor Uses

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

func (*BigQueryExport) GetDataset Uses

func (m *BigQueryExport) GetDataset() string

func (*BigQueryExport) GetProject Uses

func (m *BigQueryExport) GetProject() string

func (*BigQueryExport) GetTable Uses

func (m *BigQueryExport) GetTable() string

func (*BigQueryExport) GetTestResults Uses

func (m *BigQueryExport) GetTestResults() *BigQueryExport_TestResults

func (*BigQueryExport) ProtoMessage Uses

func (*BigQueryExport) ProtoMessage()

func (*BigQueryExport) Reset Uses

func (m *BigQueryExport) Reset()

func (*BigQueryExport) String Uses

func (m *BigQueryExport) String() string

func (*BigQueryExport) XXX_DiscardUnknown Uses

func (m *BigQueryExport) XXX_DiscardUnknown()

func (*BigQueryExport) XXX_Marshal Uses

func (m *BigQueryExport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BigQueryExport) XXX_Merge Uses

func (m *BigQueryExport) XXX_Merge(src proto.Message)

func (*BigQueryExport) XXX_Size Uses

func (m *BigQueryExport) XXX_Size() int

func (*BigQueryExport) XXX_Unmarshal Uses

func (m *BigQueryExport) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

TestResultExport indicates that test results should be exported.

func (*BigQueryExport_TestResults) Descriptor Uses

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

func (*BigQueryExport_TestResults) GetPredicate Uses

func (m *BigQueryExport_TestResults) GetPredicate() *TestResultPredicate

func (*BigQueryExport_TestResults) ProtoMessage Uses

func (*BigQueryExport_TestResults) ProtoMessage()

func (*BigQueryExport_TestResults) Reset Uses

func (m *BigQueryExport_TestResults) Reset()

func (*BigQueryExport_TestResults) String Uses

func (m *BigQueryExport_TestResults) String() string

func (*BigQueryExport_TestResults) XXX_DiscardUnknown Uses

func (m *BigQueryExport_TestResults) XXX_DiscardUnknown()

func (*BigQueryExport_TestResults) XXX_Marshal Uses

func (m *BigQueryExport_TestResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BigQueryExport_TestResults) XXX_Merge Uses

func (m *BigQueryExport_TestResults) XXX_Merge(src proto.Message)

func (*BigQueryExport_TestResults) XXX_Size Uses

func (m *BigQueryExport_TestResults) XXX_Size() int

func (*BigQueryExport_TestResults) XXX_Unmarshal Uses

func (m *BigQueryExport_TestResults) XXX_Unmarshal(b []byte) error

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"`
    // bigquery_exports indicates what BigQuery table(s) that results in this
    // invocation should export to, with optional filter on the results.
    BigqueryExports      []*BigQueryExport `protobuf:"bytes,4,rep,name=bigquery_exports,json=bigqueryExports,proto3" json:"bigquery_exports,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

A request message for CreateInvocation.

func (*CreateInvocationRequest) Descriptor Uses

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

func (*CreateInvocationRequest) GetBigqueryExports Uses

func (m *CreateInvocationRequest) GetBigqueryExports() []*BigQueryExport

func (*CreateInvocationRequest) GetInvocation Uses

func (m *CreateInvocationRequest) GetInvocation() *Invocation

func (*CreateInvocationRequest) GetInvocationId Uses

func (m *CreateInvocationRequest) GetInvocationId() string

func (*CreateInvocationRequest) GetRequestId Uses

func (m *CreateInvocationRequest) GetRequestId() string

func (*CreateInvocationRequest) ProtoMessage Uses

func (*CreateInvocationRequest) ProtoMessage()

func (*CreateInvocationRequest) Reset Uses

func (m *CreateInvocationRequest) Reset()

func (*CreateInvocationRequest) String Uses

func (m *CreateInvocationRequest) String() string

func (*CreateInvocationRequest) XXX_DiscardUnknown Uses

func (m *CreateInvocationRequest) XXX_DiscardUnknown()

func (*CreateInvocationRequest) XXX_Marshal Uses

func (m *CreateInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateInvocationRequest) XXX_Merge Uses

func (m *CreateInvocationRequest) XXX_Merge(src proto.Message)

func (*CreateInvocationRequest) XXX_Size Uses

func (m *CreateInvocationRequest) XXX_Size() int

func (*CreateInvocationRequest) XXX_Unmarshal Uses

func (m *CreateInvocationRequest) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for CreateTestExoneration RPC.

func (*CreateTestExonerationRequest) Descriptor Uses

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

func (*CreateTestExonerationRequest) GetInvocation Uses

func (m *CreateTestExonerationRequest) GetInvocation() string

func (*CreateTestExonerationRequest) GetRequestId Uses

func (m *CreateTestExonerationRequest) GetRequestId() string

func (*CreateTestExonerationRequest) GetTestExoneration Uses

func (m *CreateTestExonerationRequest) GetTestExoneration() *TestExoneration

func (*CreateTestExonerationRequest) ProtoMessage Uses

func (*CreateTestExonerationRequest) ProtoMessage()

func (*CreateTestExonerationRequest) Reset Uses

func (m *CreateTestExonerationRequest) Reset()

func (*CreateTestExonerationRequest) String Uses

func (m *CreateTestExonerationRequest) String() string

func (*CreateTestExonerationRequest) XXX_DiscardUnknown Uses

func (m *CreateTestExonerationRequest) XXX_DiscardUnknown()

func (*CreateTestExonerationRequest) XXX_Marshal Uses

func (m *CreateTestExonerationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTestExonerationRequest) XXX_Merge Uses

func (m *CreateTestExonerationRequest) XXX_Merge(src proto.Message)

func (*CreateTestExonerationRequest) XXX_Size Uses

func (m *CreateTestExonerationRequest) XXX_Size() int

func (*CreateTestExonerationRequest) XXX_Unmarshal Uses

func (m *CreateTestExonerationRequest) XXX_Unmarshal(b []byte) error

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 path and result id are used to dedup requests, i.e.
    // if a test result with the same test path 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for CreateTestResult RPC.

func (*CreateTestResultRequest) Descriptor Uses

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

func (*CreateTestResultRequest) GetInvocation Uses

func (m *CreateTestResultRequest) GetInvocation() string

func (*CreateTestResultRequest) GetRequestId Uses

func (m *CreateTestResultRequest) GetRequestId() string

func (*CreateTestResultRequest) GetTestResult Uses

func (m *CreateTestResultRequest) GetTestResult() *TestResult

func (*CreateTestResultRequest) ProtoMessage Uses

func (*CreateTestResultRequest) ProtoMessage()

func (*CreateTestResultRequest) Reset Uses

func (m *CreateTestResultRequest) Reset()

func (*CreateTestResultRequest) String Uses

func (m *CreateTestResultRequest) String() string

func (*CreateTestResultRequest) XXX_DiscardUnknown Uses

func (m *CreateTestResultRequest) XXX_DiscardUnknown()

func (*CreateTestResultRequest) XXX_Marshal Uses

func (m *CreateTestResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTestResultRequest) XXX_Merge Uses

func (m *CreateTestResultRequest) XXX_Merge(src proto.Message)

func (*CreateTestResultRequest) XXX_Size Uses

func (m *CreateTestResultRequest) XXX_Size() int

func (*CreateTestResultRequest) XXX_Unmarshal Uses

func (m *CreateTestResultRequest) XXX_Unmarshal(b []byte) 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) 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) DeriveInvocation Uses

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

func (*DecoratedRecorder) FinalizeInvocation Uses

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

func (*DecoratedRecorder) Include Uses

func (s *DecoratedRecorder) Include(ctx context.Context, req *IncludeRequest) (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) 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) 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) QueryTestExonerations Uses

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

func (*DecoratedResultDB) QueryTestResults Uses

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

type DeriveInvocationRequest Uses

type DeriveInvocationRequest struct {
    // Derive the invocation from the Swarming task.
    SwarmingTask         *DeriveInvocationRequest_SwarmingTask `protobuf:"bytes,1,opt,name=swarming_task,json=swarmingTask,proto3" json:"swarming_task,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
    XXX_unrecognized     []byte                                `json:"-"`
    XXX_sizecache        int32                                 `json:"-"`
}

A request message for DeriveInvocation RPC.

func (*DeriveInvocationRequest) Descriptor Uses

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

func (*DeriveInvocationRequest) GetSwarmingTask Uses

func (m *DeriveInvocationRequest) GetSwarmingTask() *DeriveInvocationRequest_SwarmingTask

func (*DeriveInvocationRequest) ProtoMessage Uses

func (*DeriveInvocationRequest) ProtoMessage()

func (*DeriveInvocationRequest) Reset Uses

func (m *DeriveInvocationRequest) Reset()

func (*DeriveInvocationRequest) String Uses

func (m *DeriveInvocationRequest) String() string

func (*DeriveInvocationRequest) XXX_DiscardUnknown Uses

func (m *DeriveInvocationRequest) XXX_DiscardUnknown()

func (*DeriveInvocationRequest) XXX_Marshal Uses

func (m *DeriveInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeriveInvocationRequest) XXX_Merge Uses

func (m *DeriveInvocationRequest) XXX_Merge(src proto.Message)

func (*DeriveInvocationRequest) XXX_Size Uses

func (m *DeriveInvocationRequest) XXX_Size() int

func (*DeriveInvocationRequest) XXX_Unmarshal Uses

func (m *DeriveInvocationRequest) XXX_Unmarshal(b []byte) error

type DeriveInvocationRequest_SwarmingTask Uses

type DeriveInvocationRequest_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:
    //  gn_target: the GN target used to compile the test binary used in the
    //    task
    //  bucket: the LUCI bucket of the parent build
    //  buildername: the LUCI builder of the parent build.
    //  test_suite: a name from
    //    https://chromium.googlesource.com/chromium/src/+/master/testing/buildbot/test_suites.pyl
    //    used to create the swarming task.
    Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Identifies a swarming task.

func (*DeriveInvocationRequest_SwarmingTask) Descriptor Uses

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

func (*DeriveInvocationRequest_SwarmingTask) GetHostname Uses

func (m *DeriveInvocationRequest_SwarmingTask) GetHostname() string

func (*DeriveInvocationRequest_SwarmingTask) GetId Uses

func (m *DeriveInvocationRequest_SwarmingTask) GetId() string

func (*DeriveInvocationRequest_SwarmingTask) ProtoMessage Uses

func (*DeriveInvocationRequest_SwarmingTask) ProtoMessage()

func (*DeriveInvocationRequest_SwarmingTask) Reset Uses

func (m *DeriveInvocationRequest_SwarmingTask) Reset()

func (*DeriveInvocationRequest_SwarmingTask) String Uses

func (m *DeriveInvocationRequest_SwarmingTask) String() string

func (*DeriveInvocationRequest_SwarmingTask) XXX_DiscardUnknown Uses

func (m *DeriveInvocationRequest_SwarmingTask) XXX_DiscardUnknown()

func (*DeriveInvocationRequest_SwarmingTask) XXX_Marshal Uses

func (m *DeriveInvocationRequest_SwarmingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeriveInvocationRequest_SwarmingTask) XXX_Merge Uses

func (m *DeriveInvocationRequest_SwarmingTask) XXX_Merge(src proto.Message)

func (*DeriveInvocationRequest_SwarmingTask) XXX_Size Uses

func (m *DeriveInvocationRequest_SwarmingTask) XXX_Size() int

func (*DeriveInvocationRequest_SwarmingTask) XXX_Unmarshal Uses

func (m *DeriveInvocationRequest_SwarmingTask) XXX_Unmarshal(b []byte) error

type FinalizeInvocationRequest Uses

type FinalizeInvocationRequest struct {
    // Name of the invocation to finalize.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Flag to indicate if the invocation is interrupted.
    // If true, Invocation.state will be set to INTERRUPTED; otherwise COMPLETED.
    // Refer to Invocation.state for the meaning of each state.
    Interrupted          bool     `protobuf:"varint,2,opt,name=interrupted,proto3" json:"interrupted,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for FinalizeInvocation RPC.

func (*FinalizeInvocationRequest) Descriptor Uses

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

func (*FinalizeInvocationRequest) GetInterrupted Uses

func (m *FinalizeInvocationRequest) GetInterrupted() bool

func (*FinalizeInvocationRequest) GetName Uses

func (m *FinalizeInvocationRequest) GetName() string

func (*FinalizeInvocationRequest) ProtoMessage Uses

func (*FinalizeInvocationRequest) ProtoMessage()

func (*FinalizeInvocationRequest) Reset Uses

func (m *FinalizeInvocationRequest) Reset()

func (*FinalizeInvocationRequest) String Uses

func (m *FinalizeInvocationRequest) String() string

func (*FinalizeInvocationRequest) XXX_DiscardUnknown Uses

func (m *FinalizeInvocationRequest) XXX_DiscardUnknown()

func (*FinalizeInvocationRequest) XXX_Marshal Uses

func (m *FinalizeInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FinalizeInvocationRequest) XXX_Merge Uses

func (m *FinalizeInvocationRequest) XXX_Merge(src proto.Message)

func (*FinalizeInvocationRequest) XXX_Size Uses

func (m *FinalizeInvocationRequest) XXX_Size() int

func (*FinalizeInvocationRequest) XXX_Unmarshal Uses

func (m *FinalizeInvocationRequest) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for GetInvocation RPC.

func (*GetInvocationRequest) Descriptor Uses

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

func (*GetInvocationRequest) GetName Uses

func (m *GetInvocationRequest) GetName() string

func (*GetInvocationRequest) ProtoMessage Uses

func (*GetInvocationRequest) ProtoMessage()

func (*GetInvocationRequest) Reset Uses

func (m *GetInvocationRequest) Reset()

func (*GetInvocationRequest) String Uses

func (m *GetInvocationRequest) String() string

func (*GetInvocationRequest) XXX_DiscardUnknown Uses

func (m *GetInvocationRequest) XXX_DiscardUnknown()

func (*GetInvocationRequest) XXX_Marshal Uses

func (m *GetInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInvocationRequest) XXX_Merge Uses

func (m *GetInvocationRequest) XXX_Merge(src proto.Message)

func (*GetInvocationRequest) XXX_Size Uses

func (m *GetInvocationRequest) XXX_Size() int

func (*GetInvocationRequest) XXX_Unmarshal Uses

func (m *GetInvocationRequest) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for GetTestExoneration RPC.

func (*GetTestExonerationRequest) Descriptor Uses

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

func (*GetTestExonerationRequest) GetName Uses

func (m *GetTestExonerationRequest) GetName() string

func (*GetTestExonerationRequest) ProtoMessage Uses

func (*GetTestExonerationRequest) ProtoMessage()

func (*GetTestExonerationRequest) Reset Uses

func (m *GetTestExonerationRequest) Reset()

func (*GetTestExonerationRequest) String Uses

func (m *GetTestExonerationRequest) String() string

func (*GetTestExonerationRequest) XXX_DiscardUnknown Uses

func (m *GetTestExonerationRequest) XXX_DiscardUnknown()

func (*GetTestExonerationRequest) XXX_Marshal Uses

func (m *GetTestExonerationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTestExonerationRequest) XXX_Merge Uses

func (m *GetTestExonerationRequest) XXX_Merge(src proto.Message)

func (*GetTestExonerationRequest) XXX_Size Uses

func (m *GetTestExonerationRequest) XXX_Size() int

func (*GetTestExonerationRequest) XXX_Unmarshal Uses

func (m *GetTestExonerationRequest) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for GetTestResult RPC.

func (*GetTestResultRequest) Descriptor Uses

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

func (*GetTestResultRequest) GetName Uses

func (m *GetTestResultRequest) GetName() string

func (*GetTestResultRequest) ProtoMessage Uses

func (*GetTestResultRequest) ProtoMessage()

func (*GetTestResultRequest) Reset Uses

func (m *GetTestResultRequest) Reset()

func (*GetTestResultRequest) String Uses

func (m *GetTestResultRequest) String() string

func (*GetTestResultRequest) XXX_DiscardUnknown Uses

func (m *GetTestResultRequest) XXX_DiscardUnknown()

func (*GetTestResultRequest) XXX_Marshal Uses

func (m *GetTestResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTestResultRequest) XXX_Merge Uses

func (m *GetTestResultRequest) XXX_Merge(src proto.Message)

func (*GetTestResultRequest) XXX_Size Uses

func (m *GetTestResultRequest) XXX_Size() int

func (*GetTestResultRequest) XXX_Unmarshal Uses

func (m *GetTestResultRequest) XXX_Unmarshal(b []byte) error

type IncludeRequest Uses

type IncludeRequest struct {
    // Name of the invocation to include into, 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"`
    // Name of the invocation to include, see Invocation.name.
    // For example, name of the swarming task invocation to include into a
    // buildbucket build invocation.
    // This invocation MUST be finalized.
    IncludedInvocation   string   `protobuf:"bytes,2,opt,name=included_invocation,json=includedInvocation,proto3" json:"included_invocation,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for Include RPC.

func (*IncludeRequest) Descriptor Uses

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

func (*IncludeRequest) GetIncludedInvocation Uses

func (m *IncludeRequest) GetIncludedInvocation() string

func (*IncludeRequest) GetIncludingInvocation Uses

func (m *IncludeRequest) GetIncludingInvocation() string

func (*IncludeRequest) ProtoMessage Uses

func (*IncludeRequest) ProtoMessage()

func (*IncludeRequest) Reset Uses

func (m *IncludeRequest) Reset()

func (*IncludeRequest) String Uses

func (m *IncludeRequest) String() string

func (*IncludeRequest) XXX_DiscardUnknown Uses

func (m *IncludeRequest) XXX_DiscardUnknown()

func (*IncludeRequest) XXX_Marshal Uses

func (m *IncludeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IncludeRequest) XXX_Merge Uses

func (m *IncludeRequest) XXX_Merge(src proto.Message)

func (*IncludeRequest) XXX_Size Uses

func (m *IncludeRequest) XXX_Size() int

func (*IncludeRequest) XXX_Unmarshal Uses

func (m *IncludeRequest) XXX_Unmarshal(b []byte) error

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.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Current state of the invocation.
    State Invocation_State `protobuf:"varint,2,opt,name=state,proto3,enum=luci.resultdb.rpc.v1.Invocation_State" json:"state,omitempty"`
    // When the invocation was created.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Invocation-level string key-value pairs.
    // A key can be repeated.
    Tags []*_type.StringPair `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
    // When the invocation was finalized, i.e. transitioned to COMPLETED or
    // INTERRUPTED state.
    // If this field is set, implies that the invocation is finalized.
    FinalizeTime *timestamp.Timestamp `protobuf:"bytes,5,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,6,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,7,rep,name=included_invocations,json=includedInvocations,proto3" json:"included_invocations,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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.

func (*Invocation) Descriptor Uses

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

func (*Invocation) GetCreateTime Uses

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

func (*Invocation) GetDeadline Uses

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

func (*Invocation) GetFinalizeTime Uses

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

func (*Invocation) GetIncludedInvocations Uses

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

func (*Invocation) GetName Uses

func (m *Invocation) GetName() string

func (*Invocation) GetState Uses

func (m *Invocation) GetState() Invocation_State

func (*Invocation) GetTags Uses

func (m *Invocation) GetTags() []*_type.StringPair

func (*Invocation) ProtoMessage Uses

func (*Invocation) ProtoMessage()

func (*Invocation) Reset Uses

func (m *Invocation) Reset()

func (*Invocation) String Uses

func (m *Invocation) String() string

func (*Invocation) XXX_DiscardUnknown Uses

func (m *Invocation) XXX_DiscardUnknown()

func (*Invocation) XXX_Marshal Uses

func (m *Invocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Invocation) XXX_Merge Uses

func (m *Invocation) XXX_Merge(src proto.Message)

func (*Invocation) XXX_Size Uses

func (m *Invocation) XXX_Size() int

func (*Invocation) XXX_Unmarshal Uses

func (m *Invocation) XXX_Unmarshal(b []byte) error

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 finalized and contains all the results that the
    // associated computation was expected to compute; unlike INTERRUPTED state.
    //
    // The invocation is immutable and no longer accepts new results.
    Invocation_COMPLETED Invocation_State = 2
    // The invocation is finalized and does NOT contain all the results that the
    // associated computation was expected to compute.
    // The computation was interrupted prematurely.
    //
    // Such invocation should be discarded.
    // Often the associated computation is retried.
    //
    // The invocation is immutable and no longer accepts new results.
    Invocation_INTERRUPTED Invocation_State = 3
)

func (Invocation_State) EnumDescriptor Uses

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

func (Invocation_State) String Uses

func (x Invocation_State) 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for ListTestExonerations RPC.

func (*ListTestExonerationsRequest) Descriptor Uses

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

func (*ListTestExonerationsRequest) GetInvocation Uses

func (m *ListTestExonerationsRequest) GetInvocation() string

func (*ListTestExonerationsRequest) GetPageSize Uses

func (m *ListTestExonerationsRequest) GetPageSize() int32

func (*ListTestExonerationsRequest) GetPageToken Uses

func (m *ListTestExonerationsRequest) GetPageToken() string

func (*ListTestExonerationsRequest) ProtoMessage Uses

func (*ListTestExonerationsRequest) ProtoMessage()

func (*ListTestExonerationsRequest) Reset Uses

func (m *ListTestExonerationsRequest) Reset()

func (*ListTestExonerationsRequest) String Uses

func (m *ListTestExonerationsRequest) String() string

func (*ListTestExonerationsRequest) XXX_DiscardUnknown Uses

func (m *ListTestExonerationsRequest) XXX_DiscardUnknown()

func (*ListTestExonerationsRequest) XXX_Marshal Uses

func (m *ListTestExonerationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTestExonerationsRequest) XXX_Merge Uses

func (m *ListTestExonerationsRequest) XXX_Merge(src proto.Message)

func (*ListTestExonerationsRequest) XXX_Size Uses

func (m *ListTestExonerationsRequest) XXX_Size() int

func (*ListTestExonerationsRequest) XXX_Unmarshal Uses

func (m *ListTestExonerationsRequest) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response message for ListTestExonerations RPC.

func (*ListTestExonerationsResponse) Descriptor Uses

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

func (*ListTestExonerationsResponse) GetNextPageToken Uses

func (m *ListTestExonerationsResponse) GetNextPageToken() string

func (*ListTestExonerationsResponse) GetTestExonerations Uses

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

func (*ListTestExonerationsResponse) ProtoMessage Uses

func (*ListTestExonerationsResponse) ProtoMessage()

func (*ListTestExonerationsResponse) Reset Uses

func (m *ListTestExonerationsResponse) Reset()

func (*ListTestExonerationsResponse) String Uses

func (m *ListTestExonerationsResponse) String() string

func (*ListTestExonerationsResponse) XXX_DiscardUnknown Uses

func (m *ListTestExonerationsResponse) XXX_DiscardUnknown()

func (*ListTestExonerationsResponse) XXX_Marshal Uses

func (m *ListTestExonerationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTestExonerationsResponse) XXX_Merge Uses

func (m *ListTestExonerationsResponse) XXX_Merge(src proto.Message)

func (*ListTestExonerationsResponse) XXX_Size Uses

func (m *ListTestExonerationsResponse) XXX_Size() int

func (*ListTestExonerationsResponse) XXX_Unmarshal Uses

func (m *ListTestExonerationsResponse) XXX_Unmarshal(b []byte) error

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.
    //
    // Does NOT guarantee returning all test results from chained reads until
    // cursor exhaustion unless the invocation was finalized at the time of first
    // ListTestResults request.
    PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for ListTestResults RPC.

func (*ListTestResultsRequest) Descriptor Uses

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

func (*ListTestResultsRequest) GetInvocation Uses

func (m *ListTestResultsRequest) GetInvocation() string

func (*ListTestResultsRequest) GetPageSize Uses

func (m *ListTestResultsRequest) GetPageSize() int32

func (*ListTestResultsRequest) GetPageToken Uses

func (m *ListTestResultsRequest) GetPageToken() string

func (*ListTestResultsRequest) ProtoMessage Uses

func (*ListTestResultsRequest) ProtoMessage()

func (*ListTestResultsRequest) Reset Uses

func (m *ListTestResultsRequest) Reset()

func (*ListTestResultsRequest) String Uses

func (m *ListTestResultsRequest) String() string

func (*ListTestResultsRequest) XXX_DiscardUnknown Uses

func (m *ListTestResultsRequest) XXX_DiscardUnknown()

func (*ListTestResultsRequest) XXX_Marshal Uses

func (m *ListTestResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTestResultsRequest) XXX_Merge Uses

func (m *ListTestResultsRequest) XXX_Merge(src proto.Message)

func (*ListTestResultsRequest) XXX_Size Uses

func (m *ListTestResultsRequest) XXX_Size() int

func (*ListTestResultsRequest) XXX_Unmarshal Uses

func (m *ListTestResultsRequest) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response message for ListTestResults RPC.

func (*ListTestResultsResponse) Descriptor Uses

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

func (*ListTestResultsResponse) GetNextPageToken Uses

func (m *ListTestResultsResponse) GetNextPageToken() string

func (*ListTestResultsResponse) GetTestResults Uses

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

func (*ListTestResultsResponse) ProtoMessage Uses

func (*ListTestResultsResponse) ProtoMessage()

func (*ListTestResultsResponse) Reset Uses

func (m *ListTestResultsResponse) Reset()

func (*ListTestResultsResponse) String Uses

func (m *ListTestResultsResponse) String() string

func (*ListTestResultsResponse) XXX_DiscardUnknown Uses

func (m *ListTestResultsResponse) XXX_DiscardUnknown()

func (*ListTestResultsResponse) XXX_Marshal Uses

func (m *ListTestResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTestResultsResponse) XXX_Merge Uses

func (m *ListTestResultsResponse) XXX_Merge(src proto.Message)

func (*ListTestResultsResponse) XXX_Size Uses

func (m *ListTestResultsResponse) XXX_Size() int

func (*ListTestResultsResponse) XXX_Unmarshal Uses

func (m *ListTestResultsResponse) XXX_Unmarshal(b []byte) error

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) 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) DeriveInvocation Uses

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

DeriveInvocation 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) Include Uses

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

Include 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) 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) DeriveInvocation Uses

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

DeriveInvocation indicates an expected call of DeriveInvocation

func (*MockRecorderClientMockRecorder) FinalizeInvocation Uses

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

FinalizeInvocation indicates an expected call of FinalizeInvocation

func (*MockRecorderClientMockRecorder) Include Uses

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

Include indicates an expected call of Include

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) 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) DeriveInvocation Uses

func (m *MockRecorderServer) DeriveInvocation(arg0 context.Context, arg1 *DeriveInvocationRequest) (*Invocation, error)

DeriveInvocation 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) Include Uses

func (m *MockRecorderServer) Include(arg0 context.Context, arg1 *IncludeRequest) (*empty.Empty, error)

Include 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) 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) DeriveInvocation Uses

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

DeriveInvocation indicates an expected call of DeriveInvocation

func (*MockRecorderServerMockRecorder) FinalizeInvocation Uses

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

FinalizeInvocation indicates an expected call of FinalizeInvocation

func (*MockRecorderServerMockRecorder) Include Uses

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

Include indicates an expected call of Include

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) 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) 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) QueryTestExonerations Uses

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

QueryTestExonerations 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) 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) 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) QueryTestExonerations Uses

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

QueryTestExonerations indicates an expected call of QueryTestExonerations

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) 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) 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) QueryTestExonerations Uses

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

QueryTestExonerations 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) 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) 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) QueryTestExonerations Uses

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

QueryTestExonerations indicates an expected call of QueryTestExonerations

func (*MockResultDBServerMockRecorder) QueryTestResults Uses

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

QueryTestResults indicates an expected call of QueryTestResults

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.
    // Field predicate.invocation is required.
    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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for QueryTestExonerations RPC.

func (*QueryTestExonerationsRequest) Descriptor Uses

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

func (*QueryTestExonerationsRequest) GetInvocations Uses

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

func (*QueryTestExonerationsRequest) GetMaxStaleness Uses

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

func (*QueryTestExonerationsRequest) GetPageSize Uses

func (m *QueryTestExonerationsRequest) GetPageSize() int32

func (*QueryTestExonerationsRequest) GetPageToken Uses

func (m *QueryTestExonerationsRequest) GetPageToken() string

func (*QueryTestExonerationsRequest) GetPredicate Uses

func (m *QueryTestExonerationsRequest) GetPredicate() *TestExonerationPredicate

func (*QueryTestExonerationsRequest) ProtoMessage Uses

func (*QueryTestExonerationsRequest) ProtoMessage()

func (*QueryTestExonerationsRequest) Reset Uses

func (m *QueryTestExonerationsRequest) Reset()

func (*QueryTestExonerationsRequest) String Uses

func (m *QueryTestExonerationsRequest) String() string

func (*QueryTestExonerationsRequest) XXX_DiscardUnknown Uses

func (m *QueryTestExonerationsRequest) XXX_DiscardUnknown()

func (*QueryTestExonerationsRequest) XXX_Marshal Uses

func (m *QueryTestExonerationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTestExonerationsRequest) XXX_Merge Uses

func (m *QueryTestExonerationsRequest) XXX_Merge(src proto.Message)

func (*QueryTestExonerationsRequest) XXX_Size Uses

func (m *QueryTestExonerationsRequest) XXX_Size() int

func (*QueryTestExonerationsRequest) XXX_Unmarshal Uses

func (m *QueryTestExonerationsRequest) XXX_Unmarshal(b []byte) error

type QueryTestExonerationsResponse Uses

type QueryTestExonerationsResponse struct {
    // The test exonerations matching the predicate.
    //
    // The order is not defined, but test exonerations from the same invocation
    // are contiguous.
    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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response message for QueryTestExonerations RPC.

func (*QueryTestExonerationsResponse) Descriptor Uses

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

func (*QueryTestExonerationsResponse) GetNextPageToken Uses

func (m *QueryTestExonerationsResponse) GetNextPageToken() string

func (*QueryTestExonerationsResponse) GetTestExonerations Uses

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

func (*QueryTestExonerationsResponse) ProtoMessage Uses

func (*QueryTestExonerationsResponse) ProtoMessage()

func (*QueryTestExonerationsResponse) Reset Uses

func (m *QueryTestExonerationsResponse) Reset()

func (*QueryTestExonerationsResponse) String Uses

func (m *QueryTestExonerationsResponse) String() string

func (*QueryTestExonerationsResponse) XXX_DiscardUnknown Uses

func (m *QueryTestExonerationsResponse) XXX_DiscardUnknown()

func (*QueryTestExonerationsResponse) XXX_Marshal Uses

func (m *QueryTestExonerationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTestExonerationsResponse) XXX_Merge Uses

func (m *QueryTestExonerationsResponse) XXX_Merge(src proto.Message)

func (*QueryTestExonerationsResponse) XXX_Size Uses

func (m *QueryTestExonerationsResponse) XXX_Size() int

func (*QueryTestExonerationsResponse) XXX_Unmarshal Uses

func (m *QueryTestExonerationsResponse) XXX_Unmarshal(b []byte) error

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.
    // Field predicate.invocation is required.
    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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for QueryTestResults RPC.

func (*QueryTestResultsRequest) Descriptor Uses

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

func (*QueryTestResultsRequest) GetInvocations Uses

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

func (*QueryTestResultsRequest) GetMaxStaleness Uses

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

func (*QueryTestResultsRequest) GetPageSize Uses

func (m *QueryTestResultsRequest) GetPageSize() int32

func (*QueryTestResultsRequest) GetPageToken Uses

func (m *QueryTestResultsRequest) GetPageToken() string

func (*QueryTestResultsRequest) GetPredicate Uses

func (m *QueryTestResultsRequest) GetPredicate() *TestResultPredicate

func (*QueryTestResultsRequest) ProtoMessage Uses

func (*QueryTestResultsRequest) ProtoMessage()

func (*QueryTestResultsRequest) Reset Uses

func (m *QueryTestResultsRequest) Reset()

func (*QueryTestResultsRequest) String Uses

func (m *QueryTestResultsRequest) String() string

func (*QueryTestResultsRequest) XXX_DiscardUnknown Uses

func (m *QueryTestResultsRequest) XXX_DiscardUnknown()

func (*QueryTestResultsRequest) XXX_Marshal Uses

func (m *QueryTestResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTestResultsRequest) XXX_Merge Uses

func (m *QueryTestResultsRequest) XXX_Merge(src proto.Message)

func (*QueryTestResultsRequest) XXX_Size Uses

func (m *QueryTestResultsRequest) XXX_Size() int

func (*QueryTestResultsRequest) XXX_Unmarshal Uses

func (m *QueryTestResultsRequest) XXX_Unmarshal(b []byte) error

type QueryTestResultsResponse Uses

type QueryTestResultsResponse struct {
    // Matched test results.
    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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response message for QueryTestResults RPC.

func (*QueryTestResultsResponse) Descriptor Uses

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

func (*QueryTestResultsResponse) GetNextPageToken Uses

func (m *QueryTestResultsResponse) GetNextPageToken() string

func (*QueryTestResultsResponse) GetTestResults Uses

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

func (*QueryTestResultsResponse) ProtoMessage Uses

func (*QueryTestResultsResponse) ProtoMessage()

func (*QueryTestResultsResponse) Reset Uses

func (m *QueryTestResultsResponse) Reset()

func (*QueryTestResultsResponse) String Uses

func (m *QueryTestResultsResponse) String() string

func (*QueryTestResultsResponse) XXX_DiscardUnknown Uses

func (m *QueryTestResultsResponse) XXX_DiscardUnknown()

func (*QueryTestResultsResponse) XXX_Marshal Uses

func (m *QueryTestResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTestResultsResponse) XXX_Merge Uses

func (m *QueryTestResultsResponse) XXX_Merge(src proto.Message)

func (*QueryTestResultsResponse) XXX_Size Uses

func (m *QueryTestResultsResponse) XXX_Size() int

func (*QueryTestResultsResponse) XXX_Unmarshal Uses

func (m *QueryTestResultsResponse) XXX_Unmarshal(b []byte) error

type RecorderClient Uses

type RecorderClient interface {
    // Creates a new invocation.
    // The request specifies the invocation id and its contents.
    //
    // The response header medata 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)
    // 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)
    // Includes an invocation in the given non-finalized invocation.
    Include(ctx context.Context, in *IncludeRequest, 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)
    // 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.
    //
    // TODO: Remove. This is meant as a temporary rpc for the intermediary stage
    // in which we derive invocations given swarming task IDs, rather than have
    // tasks make RPCs directly.
    DeriveInvocation(ctx context.Context, in *DeriveInvocationRequest, opts ...grpc.CallOption) (*Invocation, 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.ClientConn) 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 medata 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)
    // 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)
    // Includes an invocation in the given non-finalized invocation.
    Include(context.Context, *IncludeRequest) (*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)
    // 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.
    //
    // TODO: Remove. This is meant as a temporary rpc for the intermediary stage
    // in which we derive invocations given swarming task IDs, rather than have
    // tasks make RPCs directly.
    DeriveInvocation(context.Context, *DeriveInvocationRequest) (*Invocation, 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.
    // 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)
}

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.ClientConn) 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.
    // 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)
}

ResultDBServer is the server API for ResultDB service.

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_PATH}/exonerations/{EXONERATION_ID}.
    // URL_ESCAPED_TEST_PATH is test_variant.test_path escaped with
    // https://golang.org/pkg/net/url/#PathEscape See also https://aip.dev/122.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Test identifier, see TestResult.test_path.
    TestPath string `protobuf:"bytes,2,opt,name=test_path,json=testPath,proto3" json:"test_path,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 *_type.Variant `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
    // Identifies an exoneration in a given invocation and test path.
    // 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 markdown.
    // Markdown spec: https://spec.commonmark.org/0.29/
    ExplanationMarkdown  string   `protobuf:"bytes,5,opt,name=explanation_markdown,json=explanationMarkdown,proto3" json:"explanation_markdown,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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)

func (*TestExoneration) GetExonerationId Uses

func (m *TestExoneration) GetExonerationId() string

func (*TestExoneration) GetExplanationMarkdown Uses

func (m *TestExoneration) GetExplanationMarkdown() string

func (*TestExoneration) GetName Uses

func (m *TestExoneration) GetName() string

func (*TestExoneration) GetTestPath Uses

func (m *TestExoneration) GetTestPath() string

func (*TestExoneration) GetVariant Uses

func (m *TestExoneration) GetVariant() *_type.Variant

func (*TestExoneration) ProtoMessage Uses

func (*TestExoneration) ProtoMessage()

func (*TestExoneration) Reset Uses

func (m *TestExoneration) Reset()

func (*TestExoneration) String Uses

func (m *TestExoneration) String() string

func (*TestExoneration) XXX_DiscardUnknown Uses

func (m *TestExoneration) XXX_DiscardUnknown()

func (*TestExoneration) XXX_Marshal Uses

func (m *TestExoneration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestExoneration) XXX_Merge Uses

func (m *TestExoneration) XXX_Merge(src proto.Message)

func (*TestExoneration) XXX_Size Uses

func (m *TestExoneration) XXX_Size() int

func (*TestExoneration) XXX_Unmarshal Uses

func (m *TestExoneration) XXX_Unmarshal(b []byte) error

type TestExonerationPredicate Uses

type TestExonerationPredicate struct {
    // A test exoneration must have a test path matching this regular expression
    // entirely, i.e. the expression is implicitly wrapped with ^ and $.
    TestPathRegexp string `protobuf:"bytes,1,opt,name=test_path_regexp,json=testPathRegexp,proto3" json:"test_path_regexp,omitempty"`
    // A test exoneration must have a variant satisfying this predicate.
    Variant              *VariantPredicate `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

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

func (*TestExonerationPredicate) Descriptor Uses

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

func (*TestExonerationPredicate) GetTestPathRegexp Uses

func (m *TestExonerationPredicate) GetTestPathRegexp() string

func (*TestExonerationPredicate) GetVariant Uses

func (m *TestExonerationPredicate) GetVariant() *VariantPredicate

func (*TestExonerationPredicate) ProtoMessage Uses

func (*TestExonerationPredicate) ProtoMessage()

func (*TestExonerationPredicate) Reset Uses

func (m *TestExonerationPredicate) Reset()

func (*TestExonerationPredicate) String Uses

func (m *TestExonerationPredicate) String() string

func (*TestExonerationPredicate) XXX_DiscardUnknown Uses

func (m *TestExonerationPredicate) XXX_DiscardUnknown()

func (*TestExonerationPredicate) XXX_Marshal Uses

func (m *TestExonerationPredicate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestExonerationPredicate) XXX_Merge Uses

func (m *TestExonerationPredicate) XXX_Merge(src proto.Message)

func (*TestExonerationPredicate) XXX_Size Uses

func (m *TestExonerationPredicate) XXX_Size() int

func (*TestExonerationPredicate) XXX_Unmarshal Uses

func (m *TestExonerationPredicate) XXX_Unmarshal(b []byte) error

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_PATH}/results/{RESULT_ID}".
    // URL_ESCAPED_TEST_PATH is test_path escaped with
    // https://golang.org/pkg/net/url/#PathEscape See also https://aip.dev/122.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Test path, a unique identifier of the test in a LUCI project.
    // Regex: ^[[::print::]]+$.
    //
    // If two tests have a common test path 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 paths in any other way.
    TestPath string `protobuf:"bytes,2,opt,name=test_path,json=testPath,proto3" json:"test_path,omitempty"`
    // Identifies a test result in a given invocation and test path.
    // Regex: ^[[:ascii:]]{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 *_type.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.rpc.v1.TestStatus" json:"status,omitempty"`
    // Human-readable explanation of the result.
    // Markdown spec: https://spec.commonmark.org/0.29/
    SummaryMarkdown string `protobuf:"bytes,7,opt,name=summary_markdown,json=summaryMarkdown,proto3" json:"summary_markdown,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.
    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.
    Tags []*_type.StringPair `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
    // Artifacts consumed by this test result.
    //
    // Example: building a Chrome OS image is expensive and non-deterministic, so
    // they are retained and used as input artifact to a test case.
    InputArtifacts []*Artifact `protobuf:"bytes,11,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"`
    // Artifacts produced by this test result.
    // Examples: traces, logs, screenshots, memory dumps, profiler output.
    OutputArtifacts      []*Artifact `protobuf:"bytes,12,rep,name=output_artifacts,json=outputArtifacts,proto3" json:"output_artifacts,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

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 path. It should be available in the message that embeds this message.

func (*TestResult) Descriptor Uses

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

func (*TestResult) GetDuration Uses

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

func (*TestResult) GetExpected Uses

func (m *TestResult) GetExpected() bool

func (*TestResult) GetInputArtifacts Uses

func (m *TestResult) GetInputArtifacts() []*Artifact

func (*TestResult) GetName Uses

func (m *TestResult) GetName() string

func (*TestResult) GetOutputArtifacts Uses

func (m *TestResult) GetOutputArtifacts() []*Artifact

func (*TestResult) GetResultId Uses

func (m *TestResult) GetResultId() string

func (*TestResult) GetStartTime Uses

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

func (*TestResult) GetStatus Uses

func (m *TestResult) GetStatus() TestStatus

func (*TestResult) GetSummaryMarkdown Uses

func (m *TestResult) GetSummaryMarkdown() string

func (*TestResult) GetTags Uses

func (m *TestResult) GetTags() []*_type.StringPair

func (*TestResult) GetTestPath Uses

func (m *TestResult) GetTestPath() string

func (*TestResult) GetVariant Uses

func (m *TestResult) GetVariant() *_type.Variant

func (*TestResult) ProtoMessage Uses

func (*TestResult) ProtoMessage()

func (*TestResult) Reset Uses

func (m *TestResult) Reset()

func (*TestResult) String Uses

func (m *TestResult) String() string

func (*TestResult) XXX_DiscardUnknown Uses

func (m *TestResult) XXX_DiscardUnknown()

func (*TestResult) XXX_Marshal Uses

func (m *TestResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestResult) XXX_Merge Uses

func (m *TestResult) XXX_Merge(src proto.Message)

func (*TestResult) XXX_Size Uses

func (m *TestResult) XXX_Size() int

func (*TestResult) XXX_Unmarshal Uses

func (m *TestResult) XXX_Unmarshal(b []byte) error

type TestResultPredicate Uses

type TestResultPredicate struct {
    // A test result must have a test path matching this regular expression
    // entirely, i.e. the expression is implicitly wrapped with ^ and $.
    TestPathRegexp string `protobuf:"bytes,1,opt,name=test_path_regexp,json=testPathRegexp,proto3" json:"test_path_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.rpc.v1.TestResultPredicate_Expectancy" json:"expectancy,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
    XXX_unrecognized     []byte                         `json:"-"`
    XXX_sizecache        int32                          `json:"-"`
}

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)

func (*TestResultPredicate) GetExpectancy Uses

func (m *TestResultPredicate) GetExpectancy() TestResultPredicate_Expectancy

func (*TestResultPredicate) GetTestPathRegexp Uses

func (m *TestResultPredicate) GetTestPathRegexp() string

func (*TestResultPredicate) GetVariant Uses

func (m *TestResultPredicate) GetVariant() *VariantPredicate

func (*TestResultPredicate) ProtoMessage Uses

func (*TestResultPredicate) ProtoMessage()

func (*TestResultPredicate) Reset Uses

func (m *TestResultPredicate) Reset()

func (*TestResultPredicate) String Uses

func (m *TestResultPredicate) String() string

func (*TestResultPredicate) XXX_DiscardUnknown Uses

func (m *TestResultPredicate) XXX_DiscardUnknown()

func (*TestResultPredicate) XXX_Marshal Uses

func (m *TestResultPredicate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestResultPredicate) XXX_Merge Uses

func (m *TestResultPredicate) XXX_Merge(src proto.Message)

func (*TestResultPredicate) XXX_Size Uses

func (m *TestResultPredicate) XXX_Size() int

func (*TestResultPredicate) XXX_Unmarshal Uses

func (m *TestResultPredicate) XXX_Unmarshal(b []byte) error

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
)

func (TestResultPredicate_Expectancy) EnumDescriptor Uses

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

func (TestResultPredicate_Expectancy) String Uses

func (x TestResultPredicate_Expectancy) String() string

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) EnumDescriptor Uses

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

func (TestStatus) String Uses

func (x TestStatus) String() string

type UnimplementedRecorderServer Uses

type UnimplementedRecorderServer struct {
}

UnimplementedRecorderServer can be embedded to have forward compatible implementations.

func (*UnimplementedRecorderServer) BatchCreateTestExonerations Uses

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

func (*UnimplementedRecorderServer) BatchCreateTestResults Uses

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

func (*UnimplementedRecorderServer) CreateInvocation Uses

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

func (*UnimplementedRecorderServer) CreateTestExoneration Uses

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

func (*UnimplementedRecorderServer) CreateTestResult Uses

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

func (*UnimplementedRecorderServer) DeriveInvocation Uses

func (*UnimplementedRecorderServer) DeriveInvocation(ctx context.Context, req *DeriveInvocationRequest) (*Invocation, error)

func (*UnimplementedRecorderServer) FinalizeInvocation Uses

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

func (*UnimplementedRecorderServer) Include Uses

func (*UnimplementedRecorderServer) Include(ctx context.Context, req *IncludeRequest) (*empty.Empty, error)

func (*UnimplementedRecorderServer) UpdateInvocation Uses

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

type UnimplementedResultDBServer Uses

type UnimplementedResultDBServer struct {
}

UnimplementedResultDBServer can be embedded to have forward compatible implementations.

func (*UnimplementedResultDBServer) GetInvocation Uses

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

func (*UnimplementedResultDBServer) GetTestExoneration Uses

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

func (*UnimplementedResultDBServer) GetTestResult Uses

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

func (*UnimplementedResultDBServer) ListTestExonerations Uses

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

func (*UnimplementedResultDBServer) ListTestResults Uses

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

func (*UnimplementedResultDBServer) QueryTestExonerations Uses

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

func (*UnimplementedResultDBServer) QueryTestResults Uses

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

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"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

A request message for UpdateInvocation RPC.

func (*UpdateInvocationRequest) Descriptor Uses

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

func (*UpdateInvocationRequest) GetInvocation Uses

func (m *UpdateInvocationRequest) GetInvocation() *Invocation

func (*UpdateInvocationRequest) GetUpdateMask Uses

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

func (*UpdateInvocationRequest) ProtoMessage Uses

func (*UpdateInvocationRequest) ProtoMessage()

func (*UpdateInvocationRequest) Reset Uses

func (m *UpdateInvocationRequest) Reset()

func (*UpdateInvocationRequest) String Uses

func (m *UpdateInvocationRequest) String() string

func (*UpdateInvocationRequest) XXX_DiscardUnknown Uses

func (m *UpdateInvocationRequest) XXX_DiscardUnknown()

func (*UpdateInvocationRequest) XXX_Marshal Uses

func (m *UpdateInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateInvocationRequest) XXX_Merge Uses

func (m *UpdateInvocationRequest) XXX_Merge(src proto.Message)

func (*UpdateInvocationRequest) XXX_Size Uses

func (m *UpdateInvocationRequest) XXX_Size() int

func (*UpdateInvocationRequest) XXX_Unmarshal Uses

func (m *UpdateInvocationRequest) XXX_Unmarshal(b []byte) error

type VariantPredicate Uses

type VariantPredicate struct {
    // Types that are valid to be assigned to Predicate:
    //	*VariantPredicate_Exact
    //	*VariantPredicate_Contains
    Predicate            isVariantPredicate_Predicate `protobuf_oneof:"predicate"`
    XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
    XXX_unrecognized     []byte                       `json:"-"`
    XXX_sizecache        int32                        `json:"-"`
}

Represents a function Variant -> bool.

func (*VariantPredicate) Descriptor Uses

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

func (*VariantPredicate) GetContains Uses

func (m *VariantPredicate) GetContains() *_type.Variant

func (*VariantPredicate) GetExact Uses

func (m *VariantPredicate) GetExact() *_type.Variant

func (*VariantPredicate) GetPredicate Uses

func (m *VariantPredicate) GetPredicate() isVariantPredicate_Predicate

func (*VariantPredicate) ProtoMessage Uses

func (*VariantPredicate) ProtoMessage()

func (*VariantPredicate) Reset Uses

func (m *VariantPredicate) Reset()

func (*VariantPredicate) String Uses

func (m *VariantPredicate) String() string

func (*VariantPredicate) XXX_DiscardUnknown Uses

func (m *VariantPredicate) XXX_DiscardUnknown()

func (*VariantPredicate) XXX_Marshal Uses

func (m *VariantPredicate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VariantPredicate) XXX_Merge Uses

func (m *VariantPredicate) XXX_Merge(src proto.Message)

func (*VariantPredicate) XXX_OneofWrappers Uses

func (*VariantPredicate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*VariantPredicate) XXX_Size Uses

func (m *VariantPredicate) XXX_Size() int

func (*VariantPredicate) XXX_Unmarshal Uses

func (m *VariantPredicate) XXX_Unmarshal(b []byte) error

type VariantPredicate_Contains Uses

type VariantPredicate_Contains struct {
    Contains *_type.Variant `protobuf:"bytes,2,opt,name=contains,proto3,oneof"`
}

type VariantPredicate_Exact Uses

type VariantPredicate_Exact struct {
    Exact *_type.Variant `protobuf:"bytes,1,opt,name=exact,proto3,oneof"`
}

Package rpcpb imports 18 packages (graph) and is imported by 14 packages. Updated 2019-12-14. Refresh now. Tools for package owners.