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

package sinkpb

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

Index

Package Files

gen.go pb.discovery.go sink.mock.pb.go sink.pb.go sinkserver_dec.go test_result.pb.go

Variables

var TestResultFile_Format_name = map[int32]string{
    0:  "LUCI",
    1:  "CHROMIUM_JSON_TEST_RESULTS",
    2:  "GOOGLE_TEST",
}
var TestResultFile_Format_value = map[string]int32{
    "LUCI":                       0,
    "CHROMIUM_JSON_TEST_RESULTS": 1,
    "GOOGLE_TEST":                2,
}
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 RegisterSinkServer Uses

func RegisterSinkServer(s prpc.Registrar, srv SinkServer)

type Artifact Uses

type Artifact struct {
    // Types that are valid to be assigned to Body:
    //	*Artifact_FilePath
    //	*Artifact_Contents
    Body isArtifact_Body `protobuf_oneof:"body"`
    // Equivalent of luci.resultpb.Artifact.content_type.
    ContentType          string   `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A local equivalent of luci.resultdb.Artifact message in ../../rpc/v1/test_result.proto. See its comments for details. Does not have a name because the latter is avialable as a map key in TestResult.input_artifacts and TestResult.output_artifacts.

func (*Artifact) Descriptor Uses

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

func (*Artifact) GetBody Uses

func (m *Artifact) GetBody() isArtifact_Body

func (*Artifact) GetContentType Uses

func (m *Artifact) GetContentType() string

func (*Artifact) GetContents Uses

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

func (*Artifact) GetFilePath Uses

func (m *Artifact) GetFilePath() 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_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

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 Artifact_Contents Uses

type Artifact_Contents struct {
    Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3,oneof"`
}

type Artifact_FilePath Uses

type Artifact_FilePath struct {
    FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3,oneof"`
}

type DecoratedSink Uses

type DecoratedSink struct {
    // Service is the service to decorate.
    Service SinkServer
    // 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 (*DecoratedSink) ReportTestResults Uses

func (s *DecoratedSink) ReportTestResults(ctx context.Context, req *ReportTestResultsRequest) (rsp *ReportTestResultsResponse, err error)

type Handshake Uses

type Handshake struct {
    // The auth token is available to eligible subprocesses via
    // test_results.uploader.auth_token LUCI_CONTEXT value.
    // More about LUCI_CONTEXT: https://chromium.googlesource.com/infra/luci/luci-py/+/6b6dad7aef994b96d3bb5b6f13fae8168938560f/client/LUCI_CONTEXT.md
    // If the value is unexpected, the server will close the connection.
    AuthToken            string   `protobuf:"bytes,1,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The very first message in a ResultSink TCP connection.

func (*Handshake) Descriptor Uses

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

func (*Handshake) GetAuthToken Uses

func (m *Handshake) GetAuthToken() string

func (*Handshake) ProtoMessage Uses

func (*Handshake) ProtoMessage()

func (*Handshake) Reset Uses

func (m *Handshake) Reset()

func (*Handshake) String Uses

func (m *Handshake) String() string

func (*Handshake) XXX_DiscardUnknown Uses

func (m *Handshake) XXX_DiscardUnknown()

func (*Handshake) XXX_Marshal Uses

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

func (*Handshake) XXX_Merge Uses

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

func (*Handshake) XXX_Size Uses

func (m *Handshake) XXX_Size() int

func (*Handshake) XXX_Unmarshal Uses

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

type MockSinkClient Uses

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

MockSinkClient is a mock of SinkClient interface

func NewMockSinkClient Uses

func NewMockSinkClient(ctrl *gomock.Controller) *MockSinkClient

NewMockSinkClient creates a new mock instance

func (*MockSinkClient) EXPECT Uses

func (m *MockSinkClient) EXPECT() *MockSinkClientMockRecorder

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

func (*MockSinkClient) ReportTestResults Uses

func (m *MockSinkClient) ReportTestResults(ctx context.Context, in *ReportTestResultsRequest, opts ...grpc.CallOption) (*ReportTestResultsResponse, error)

ReportTestResults mocks base method

type MockSinkClientMockRecorder Uses

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

MockSinkClientMockRecorder is the mock recorder for MockSinkClient

func (*MockSinkClientMockRecorder) ReportTestResults Uses

func (mr *MockSinkClientMockRecorder) ReportTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call

ReportTestResults indicates an expected call of ReportTestResults

type MockSinkServer Uses

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

MockSinkServer is a mock of SinkServer interface

func NewMockSinkServer Uses

func NewMockSinkServer(ctrl *gomock.Controller) *MockSinkServer

NewMockSinkServer creates a new mock instance

func (*MockSinkServer) EXPECT Uses

func (m *MockSinkServer) EXPECT() *MockSinkServerMockRecorder

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

func (*MockSinkServer) ReportTestResults Uses

func (m *MockSinkServer) ReportTestResults(arg0 context.Context, arg1 *ReportTestResultsRequest) (*ReportTestResultsResponse, error)

ReportTestResults mocks base method

type MockSinkServerMockRecorder Uses

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

MockSinkServerMockRecorder is the mock recorder for MockSinkServer

func (*MockSinkServerMockRecorder) ReportTestResults Uses

func (mr *MockSinkServerMockRecorder) ReportTestResults(arg0, arg1 interface{}) *gomock.Call

ReportTestResults indicates an expected call of ReportTestResults

type MockisSinkMessageContainer_Msg Uses

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

MockisSinkMessageContainer_Msg is a mock of isSinkMessageContainer_Msg interface

func NewMockisSinkMessageContainer_Msg Uses

func NewMockisSinkMessageContainer_Msg(ctrl *gomock.Controller) *MockisSinkMessageContainer_Msg

NewMockisSinkMessageContainer_Msg creates a new mock instance

func (*MockisSinkMessageContainer_Msg) EXPECT Uses

func (m *MockisSinkMessageContainer_Msg) EXPECT() *MockisSinkMessageContainer_MsgMockRecorder

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

type MockisSinkMessageContainer_MsgMockRecorder Uses

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

MockisSinkMessageContainer_MsgMockRecorder is the mock recorder for MockisSinkMessageContainer_Msg

type ReportTestResultsRequest Uses

type ReportTestResultsRequest struct {
    // Test results to report.
    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:"-"`
}

func (*ReportTestResultsRequest) Descriptor Uses

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

func (*ReportTestResultsRequest) GetTestResults Uses

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

func (*ReportTestResultsRequest) ProtoMessage Uses

func (*ReportTestResultsRequest) ProtoMessage()

func (*ReportTestResultsRequest) Reset Uses

func (m *ReportTestResultsRequest) Reset()

func (*ReportTestResultsRequest) String Uses

func (m *ReportTestResultsRequest) String() string

func (*ReportTestResultsRequest) XXX_DiscardUnknown Uses

func (m *ReportTestResultsRequest) XXX_DiscardUnknown()

func (*ReportTestResultsRequest) XXX_Marshal Uses

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

func (*ReportTestResultsRequest) XXX_Merge Uses

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

func (*ReportTestResultsRequest) XXX_Size Uses

func (m *ReportTestResultsRequest) XXX_Size() int

func (*ReportTestResultsRequest) XXX_Unmarshal Uses

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

type ReportTestResultsResponse Uses

type ReportTestResultsResponse struct {
    // List of unique identifiers that can be used to link to these results
    // or requested via luci.resultdb.rpc.v1.ResultDB service.
    TestResultNames      []string `protobuf:"bytes,1,rep,name=test_result_names,json=testResultNames,proto3" json:"test_result_names,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ReportTestResultsResponse) Descriptor Uses

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

func (*ReportTestResultsResponse) GetTestResultNames Uses

func (m *ReportTestResultsResponse) GetTestResultNames() []string

func (*ReportTestResultsResponse) ProtoMessage Uses

func (*ReportTestResultsResponse) ProtoMessage()

func (*ReportTestResultsResponse) Reset Uses

func (m *ReportTestResultsResponse) Reset()

func (*ReportTestResultsResponse) String Uses

func (m *ReportTestResultsResponse) String() string

func (*ReportTestResultsResponse) XXX_DiscardUnknown Uses

func (m *ReportTestResultsResponse) XXX_DiscardUnknown()

func (*ReportTestResultsResponse) XXX_Marshal Uses

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

func (*ReportTestResultsResponse) XXX_Merge Uses

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

func (*ReportTestResultsResponse) XXX_Size Uses

func (m *ReportTestResultsResponse) XXX_Size() int

func (*ReportTestResultsResponse) XXX_Unmarshal Uses

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

type SinkClient Uses

type SinkClient interface {
    // Reports test results.
    ReportTestResults(ctx context.Context, in *ReportTestResultsRequest, opts ...grpc.CallOption) (*ReportTestResultsResponse, error)
}

SinkClient is the client API for Sink service.

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

func NewSinkClient Uses

func NewSinkClient(cc grpc.ClientConnInterface) SinkClient

func NewSinkPRPCClient Uses

func NewSinkPRPCClient(client *prpc.Client) SinkClient

type SinkMessageContainer Uses

type SinkMessageContainer struct {
    // Types that are valid to be assigned to Msg:
    //	*SinkMessageContainer_Handshake
    //	*SinkMessageContainer_TestResult
    //	*SinkMessageContainer_TestResultFile
    Msg                  isSinkMessageContainer_Msg `protobuf_oneof:"msg"`
    XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    XXX_unrecognized     []byte                     `json:"-"`
    XXX_sizecache        int32                      `json:"-"`
}

A container of a message to a ResultSink server. The server accepts a sequence of these messages in JSON format.

func (*SinkMessageContainer) Descriptor Uses

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

func (*SinkMessageContainer) GetHandshake Uses

func (m *SinkMessageContainer) GetHandshake() *Handshake

func (*SinkMessageContainer) GetMsg Uses

func (m *SinkMessageContainer) GetMsg() isSinkMessageContainer_Msg

func (*SinkMessageContainer) GetTestResult Uses

func (m *SinkMessageContainer) GetTestResult() *TestResult

func (*SinkMessageContainer) GetTestResultFile Uses

func (m *SinkMessageContainer) GetTestResultFile() *TestResultFile

func (*SinkMessageContainer) ProtoMessage Uses

func (*SinkMessageContainer) ProtoMessage()

func (*SinkMessageContainer) Reset Uses

func (m *SinkMessageContainer) Reset()

func (*SinkMessageContainer) String Uses

func (m *SinkMessageContainer) String() string

func (*SinkMessageContainer) XXX_DiscardUnknown Uses

func (m *SinkMessageContainer) XXX_DiscardUnknown()

func (*SinkMessageContainer) XXX_Marshal Uses

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

func (*SinkMessageContainer) XXX_Merge Uses

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

func (*SinkMessageContainer) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*SinkMessageContainer) XXX_Size Uses

func (m *SinkMessageContainer) XXX_Size() int

func (*SinkMessageContainer) XXX_Unmarshal Uses

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

type SinkMessageContainer_Handshake Uses

type SinkMessageContainer_Handshake struct {
    Handshake *Handshake `protobuf:"bytes,1,opt,name=handshake,proto3,oneof"`
}

type SinkMessageContainer_TestResult Uses

type SinkMessageContainer_TestResult struct {
    TestResult *TestResult `protobuf:"bytes,2,opt,name=test_result,json=testResult,proto3,oneof"`
}

type SinkMessageContainer_TestResultFile Uses

type SinkMessageContainer_TestResultFile struct {
    TestResultFile *TestResultFile `protobuf:"bytes,3,opt,name=test_result_file,json=testResultFile,proto3,oneof"`
}

type SinkServer Uses

type SinkServer interface {
    // Reports test results.
    ReportTestResults(context.Context, *ReportTestResultsRequest) (*ReportTestResultsResponse, error)
}

SinkServer is the server API for Sink service.

type TestResult Uses

type TestResult struct {
    // Equivalent of luci.resultpb.TestResult.TestId.
    TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
    // Equivalent of luci.resultpb.TestResult.result_id.
    ResultId string `protobuf:"bytes,2,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
    // Equivalent of luci.resultpb.TestResult.variant.
    Variant *_type.Variant `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
    // Equivalent of luci.resultpb.TestResult.expected.
    Expected bool `protobuf:"varint,4,opt,name=expected,proto3" json:"expected,omitempty"`
    // Equivalent of luci.resultpb.TestResult.status.
    Status TestStatus `protobuf:"varint,5,opt,name=status,proto3,enum=luci.resultdb.sink.v1.TestStatus" json:"status,omitempty"`
    // Equivalent of luci.resultpb.TestResult.summary_html.
    SummaryHtml string `protobuf:"bytes,6,opt,name=summary_html,json=summaryHtml,proto3" json:"summary_html,omitempty"`
    // Equivalent of luci.resultpb.TestResult.start_time.
    StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // Equivalent of luci.resultpb.TestResult.duration.
    Duration *duration.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty"`
    // Equivalent of luci.resultpb.TestResult.tags.
    Tags []*_type.StringPair `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"`
    // Equivalent of luci.resultpb.TestResult.input_artifacts.
    // The map key is an artifact name.
    InputArtifacts map[string]*Artifact `protobuf:"bytes,10,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Equivalent of luci.resultpb.TestResult.output_artifacts.
    // The map key is an artifact name.
    OutputArtifacts      map[string]*Artifact `protobuf:"bytes,11,rep,name=output_artifacts,json=outputArtifacts,proto3" json:"output_artifacts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

A local equivalent of luci.resultdb.TestResult message in ../../rpc/v1/test_result.proto. See its comments for details.

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() map[string]*Artifact

func (*TestResult) GetOutputArtifacts Uses

func (m *TestResult) GetOutputArtifacts() map[string]*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) GetSummaryHtml Uses

func (m *TestResult) GetSummaryHtml() string

func (*TestResult) GetTags Uses

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

func (*TestResult) GetTestId Uses

func (m *TestResult) GetTestId() 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 TestResultFile Uses

type TestResultFile struct {
    // Absolute OS-native path to the results file on the same machine as the
    // ResultSink server.
    Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    // Format of the file.
    Format               TestResultFile_Format `protobuf:"varint,2,opt,name=format,proto3,enum=luci.resultdb.sink.v1.TestResultFile_Format" json:"format,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

A file with test results.

func (*TestResultFile) Descriptor Uses

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

func (*TestResultFile) GetFormat Uses

func (m *TestResultFile) GetFormat() TestResultFile_Format

func (*TestResultFile) GetPath Uses

func (m *TestResultFile) GetPath() string

func (*TestResultFile) ProtoMessage Uses

func (*TestResultFile) ProtoMessage()

func (*TestResultFile) Reset Uses

func (m *TestResultFile) Reset()

func (*TestResultFile) String Uses

func (m *TestResultFile) String() string

func (*TestResultFile) XXX_DiscardUnknown Uses

func (m *TestResultFile) XXX_DiscardUnknown()

func (*TestResultFile) XXX_Marshal Uses

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

func (*TestResultFile) XXX_Merge Uses

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

func (*TestResultFile) XXX_Size Uses

func (m *TestResultFile) XXX_Size() int

func (*TestResultFile) XXX_Unmarshal Uses

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

type TestResultFile_Format Uses

type TestResultFile_Format int32

A result file format.

const (
    // The file is a sequence of TestResult JSON objects (not a JSON Array).
    // The default format.
    TestResultFile_LUCI TestResultFile_Format = 0
    // Chromium's JSON Test Results format
    // https://chromium.googlesource.com/chromium/src/+/master/docs/testing/json_test_results_format.md
    TestResultFile_CHROMIUM_JSON_TEST_RESULTS TestResultFile_Format = 1
    // GTest format.
    // Not well documented.
    // Implementation:
    // https://cs.chromium.org/chromium/src/base/test/launcher/test_results_tracker.cc
    TestResultFile_GOOGLE_TEST TestResultFile_Format = 2
)

func (TestResultFile_Format) EnumDescriptor Uses

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

func (TestResultFile_Format) String Uses

func (x TestResultFile_Format) String() string

type TestStatus Uses

type TestStatus int32

Machine-readable status of a test result.

This is a copy of luci.resultdb.rpc.v1.TestStatus in ../../rpc/v1/test_result.proto, because of https://aip.dev/215.

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 UnimplementedSinkServer Uses

type UnimplementedSinkServer struct {
}

UnimplementedSinkServer can be embedded to have forward compatible implementations.

func (*UnimplementedSinkServer) ReportTestResults Uses

func (*UnimplementedSinkServer) ReportTestResults(ctx context.Context, req *ReportTestResultsRequest) (*ReportTestResultsResponse, error)

Package sinkpb imports 15 packages (graph) and is imported by 3 packages. Updated 2020-04-06. Refresh now. Tools for package owners.