Documentation ¶
Index ¶
- Variables
- func FileDescriptorSet() *descriptor.FileDescriptorSet
- func RegisterRecorderServer(s prpc.Registrar, srv RecorderServer)
- func RegisterResultDBServer(s prpc.Registrar, srv ResultDBServer)
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)
- func (m *Artifact) GetContentType() string
- func (m *Artifact) GetContents() []byte
- func (m *Artifact) GetFetchUrl() string
- func (m *Artifact) GetName() string
- func (m *Artifact) GetSize() int64
- func (m *Artifact) GetViewUrl() string
- func (*Artifact) ProtoMessage()
- func (m *Artifact) Reset()
- func (m *Artifact) String() string
- func (m *Artifact) XXX_DiscardUnknown()
- func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Artifact) XXX_Merge(src proto.Message)
- func (m *Artifact) XXX_Size() int
- func (m *Artifact) XXX_Unmarshal(b []byte) error
- type BatchCreateTestExonerationsRequest
- func (*BatchCreateTestExonerationsRequest) Descriptor() ([]byte, []int)
- func (m *BatchCreateTestExonerationsRequest) GetInvocation() string
- func (m *BatchCreateTestExonerationsRequest) GetRequests() []*CreateTestExonerationRequest
- func (*BatchCreateTestExonerationsRequest) ProtoMessage()
- func (m *BatchCreateTestExonerationsRequest) Reset()
- func (m *BatchCreateTestExonerationsRequest) String() string
- func (m *BatchCreateTestExonerationsRequest) XXX_DiscardUnknown()
- func (m *BatchCreateTestExonerationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCreateTestExonerationsRequest) XXX_Merge(src proto.Message)
- func (m *BatchCreateTestExonerationsRequest) XXX_Size() int
- func (m *BatchCreateTestExonerationsRequest) XXX_Unmarshal(b []byte) error
- type BatchCreateTestExonerationsResponse
- func (*BatchCreateTestExonerationsResponse) Descriptor() ([]byte, []int)
- func (m *BatchCreateTestExonerationsResponse) GetTestExonerations() []*TestExoneration
- func (*BatchCreateTestExonerationsResponse) ProtoMessage()
- func (m *BatchCreateTestExonerationsResponse) Reset()
- func (m *BatchCreateTestExonerationsResponse) String() string
- func (m *BatchCreateTestExonerationsResponse) XXX_DiscardUnknown()
- func (m *BatchCreateTestExonerationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCreateTestExonerationsResponse) XXX_Merge(src proto.Message)
- func (m *BatchCreateTestExonerationsResponse) XXX_Size() int
- func (m *BatchCreateTestExonerationsResponse) XXX_Unmarshal(b []byte) error
- type BatchCreateTestResultsRequest
- func (*BatchCreateTestResultsRequest) Descriptor() ([]byte, []int)
- func (m *BatchCreateTestResultsRequest) GetInvocation() string
- func (m *BatchCreateTestResultsRequest) GetRequestId() string
- func (m *BatchCreateTestResultsRequest) GetRequests() []*CreateTestResultRequest
- func (*BatchCreateTestResultsRequest) ProtoMessage()
- func (m *BatchCreateTestResultsRequest) Reset()
- func (m *BatchCreateTestResultsRequest) String() string
- func (m *BatchCreateTestResultsRequest) XXX_DiscardUnknown()
- func (m *BatchCreateTestResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCreateTestResultsRequest) XXX_Merge(src proto.Message)
- func (m *BatchCreateTestResultsRequest) XXX_Size() int
- func (m *BatchCreateTestResultsRequest) XXX_Unmarshal(b []byte) error
- type BatchCreateTestResultsResponse
- func (*BatchCreateTestResultsResponse) Descriptor() ([]byte, []int)
- func (m *BatchCreateTestResultsResponse) GetTestResults() []*TestResult
- func (*BatchCreateTestResultsResponse) ProtoMessage()
- func (m *BatchCreateTestResultsResponse) Reset()
- func (m *BatchCreateTestResultsResponse) String() string
- func (m *BatchCreateTestResultsResponse) XXX_DiscardUnknown()
- func (m *BatchCreateTestResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCreateTestResultsResponse) XXX_Merge(src proto.Message)
- func (m *BatchCreateTestResultsResponse) XXX_Size() int
- func (m *BatchCreateTestResultsResponse) XXX_Unmarshal(b []byte) error
- type CreateInclusionRequest
- func (*CreateInclusionRequest) Descriptor() ([]byte, []int)
- func (m *CreateInclusionRequest) GetIncludingInvocation() string
- func (m *CreateInclusionRequest) GetInclusion() *Inclusion
- func (*CreateInclusionRequest) ProtoMessage()
- func (m *CreateInclusionRequest) Reset()
- func (m *CreateInclusionRequest) String() string
- func (m *CreateInclusionRequest) XXX_DiscardUnknown()
- func (m *CreateInclusionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateInclusionRequest) XXX_Merge(src proto.Message)
- func (m *CreateInclusionRequest) XXX_Size() int
- func (m *CreateInclusionRequest) XXX_Unmarshal(b []byte) error
- type CreateInvocationRequest
- func (*CreateInvocationRequest) Descriptor() ([]byte, []int)
- func (m *CreateInvocationRequest) GetInvocation() *Invocation
- func (m *CreateInvocationRequest) GetInvocationId() string
- func (*CreateInvocationRequest) ProtoMessage()
- func (m *CreateInvocationRequest) Reset()
- func (m *CreateInvocationRequest) String() string
- func (m *CreateInvocationRequest) XXX_DiscardUnknown()
- func (m *CreateInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateInvocationRequest) XXX_Merge(src proto.Message)
- func (m *CreateInvocationRequest) XXX_Size() int
- func (m *CreateInvocationRequest) XXX_Unmarshal(b []byte) error
- type CreateTestExonerationRequest
- func (*CreateTestExonerationRequest) Descriptor() ([]byte, []int)
- func (m *CreateTestExonerationRequest) GetInvocation() string
- func (m *CreateTestExonerationRequest) GetRequestId() string
- func (m *CreateTestExonerationRequest) GetTestExoneration() *TestExoneration
- func (*CreateTestExonerationRequest) ProtoMessage()
- func (m *CreateTestExonerationRequest) Reset()
- func (m *CreateTestExonerationRequest) String() string
- func (m *CreateTestExonerationRequest) XXX_DiscardUnknown()
- func (m *CreateTestExonerationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTestExonerationRequest) XXX_Merge(src proto.Message)
- func (m *CreateTestExonerationRequest) XXX_Size() int
- func (m *CreateTestExonerationRequest) XXX_Unmarshal(b []byte) error
- type CreateTestResultRequest
- func (*CreateTestResultRequest) Descriptor() ([]byte, []int)
- func (m *CreateTestResultRequest) GetInvocation() string
- func (m *CreateTestResultRequest) GetRequestId() string
- func (m *CreateTestResultRequest) GetTestResult() *TestResult
- func (*CreateTestResultRequest) ProtoMessage()
- func (m *CreateTestResultRequest) Reset()
- func (m *CreateTestResultRequest) String() string
- func (m *CreateTestResultRequest) XXX_DiscardUnknown()
- func (m *CreateTestResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTestResultRequest) XXX_Merge(src proto.Message)
- func (m *CreateTestResultRequest) XXX_Size() int
- func (m *CreateTestResultRequest) XXX_Unmarshal(b []byte) error
- type DeriveInvocationRequest
- func (*DeriveInvocationRequest) Descriptor() ([]byte, []int)
- func (m *DeriveInvocationRequest) GetBaseTestVariant() *VariantDef
- func (m *DeriveInvocationRequest) GetSwarmingTask() *DeriveInvocationRequest_SwarmingTask
- func (m *DeriveInvocationRequest) GetTestPathPrefix() string
- func (*DeriveInvocationRequest) ProtoMessage()
- func (m *DeriveInvocationRequest) Reset()
- func (m *DeriveInvocationRequest) String() string
- func (m *DeriveInvocationRequest) XXX_DiscardUnknown()
- func (m *DeriveInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeriveInvocationRequest) XXX_Merge(src proto.Message)
- func (m *DeriveInvocationRequest) XXX_Size() int
- func (m *DeriveInvocationRequest) XXX_Unmarshal(b []byte) error
- type DeriveInvocationRequest_SwarmingTask
- func (*DeriveInvocationRequest_SwarmingTask) Descriptor() ([]byte, []int)
- func (m *DeriveInvocationRequest_SwarmingTask) GetHostname() string
- func (m *DeriveInvocationRequest_SwarmingTask) GetId() string
- func (*DeriveInvocationRequest_SwarmingTask) ProtoMessage()
- func (m *DeriveInvocationRequest_SwarmingTask) Reset()
- func (m *DeriveInvocationRequest_SwarmingTask) String() string
- func (m *DeriveInvocationRequest_SwarmingTask) XXX_DiscardUnknown()
- func (m *DeriveInvocationRequest_SwarmingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeriveInvocationRequest_SwarmingTask) XXX_Merge(src proto.Message)
- func (m *DeriveInvocationRequest_SwarmingTask) XXX_Size() int
- func (m *DeriveInvocationRequest_SwarmingTask) XXX_Unmarshal(b []byte) error
- type DeriveInvocationResponse
- func (*DeriveInvocationResponse) Descriptor() ([]byte, []int)
- func (m *DeriveInvocationResponse) GetInvocation() *Invocation
- func (m *DeriveInvocationResponse) GetTestResults() []*TestResult
- func (*DeriveInvocationResponse) ProtoMessage()
- func (m *DeriveInvocationResponse) Reset()
- func (m *DeriveInvocationResponse) String() string
- func (m *DeriveInvocationResponse) XXX_DiscardUnknown()
- func (m *DeriveInvocationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeriveInvocationResponse) XXX_Merge(src proto.Message)
- func (m *DeriveInvocationResponse) XXX_Size() int
- func (m *DeriveInvocationResponse) XXX_Unmarshal(b []byte) error
- type FinalizeInvocationRequest
- func (*FinalizeInvocationRequest) Descriptor() ([]byte, []int)
- func (m *FinalizeInvocationRequest) GetName() string
- func (*FinalizeInvocationRequest) ProtoMessage()
- func (m *FinalizeInvocationRequest) Reset()
- func (m *FinalizeInvocationRequest) String() string
- func (m *FinalizeInvocationRequest) XXX_DiscardUnknown()
- func (m *FinalizeInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FinalizeInvocationRequest) XXX_Merge(src proto.Message)
- func (m *FinalizeInvocationRequest) XXX_Size() int
- func (m *FinalizeInvocationRequest) XXX_Unmarshal(b []byte) error
- type GetInvocationRequest
- func (*GetInvocationRequest) Descriptor() ([]byte, []int)
- func (m *GetInvocationRequest) GetName() string
- func (*GetInvocationRequest) ProtoMessage()
- func (m *GetInvocationRequest) Reset()
- func (m *GetInvocationRequest) String() string
- func (m *GetInvocationRequest) XXX_DiscardUnknown()
- func (m *GetInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInvocationRequest) XXX_Merge(src proto.Message)
- func (m *GetInvocationRequest) XXX_Size() int
- func (m *GetInvocationRequest) XXX_Unmarshal(b []byte) error
- type GetTestExonerationRequest
- func (*GetTestExonerationRequest) Descriptor() ([]byte, []int)
- func (m *GetTestExonerationRequest) GetName() string
- func (*GetTestExonerationRequest) ProtoMessage()
- func (m *GetTestExonerationRequest) Reset()
- func (m *GetTestExonerationRequest) String() string
- func (m *GetTestExonerationRequest) XXX_DiscardUnknown()
- func (m *GetTestExonerationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTestExonerationRequest) XXX_Merge(src proto.Message)
- func (m *GetTestExonerationRequest) XXX_Size() int
- func (m *GetTestExonerationRequest) XXX_Unmarshal(b []byte) error
- type GetTestResultRequest
- func (*GetTestResultRequest) Descriptor() ([]byte, []int)
- func (m *GetTestResultRequest) GetName() string
- func (*GetTestResultRequest) ProtoMessage()
- func (m *GetTestResultRequest) Reset()
- func (m *GetTestResultRequest) String() string
- func (m *GetTestResultRequest) XXX_DiscardUnknown()
- func (m *GetTestResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTestResultRequest) XXX_Merge(src proto.Message)
- func (m *GetTestResultRequest) XXX_Size() int
- func (m *GetTestResultRequest) XXX_Unmarshal(b []byte) error
- type Handshake
- func (*Handshake) Descriptor() ([]byte, []int)
- func (m *Handshake) GetAuthToken() string
- func (*Handshake) ProtoMessage()
- func (m *Handshake) Reset()
- func (m *Handshake) String() string
- func (m *Handshake) XXX_DiscardUnknown()
- func (m *Handshake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Handshake) XXX_Merge(src proto.Message)
- func (m *Handshake) XXX_Size() int
- func (m *Handshake) XXX_Unmarshal(b []byte) error
- type Inclusion
- func (*Inclusion) Descriptor() ([]byte, []int)
- func (m *Inclusion) GetIncludedInvocation() string
- func (m *Inclusion) GetName() string
- func (m *Inclusion) GetOverriddenBy() string
- func (m *Inclusion) GetReady() bool
- func (*Inclusion) ProtoMessage()
- func (m *Inclusion) Reset()
- func (m *Inclusion) String() string
- func (m *Inclusion) XXX_DiscardUnknown()
- func (m *Inclusion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Inclusion) XXX_Merge(src proto.Message)
- func (m *Inclusion) XXX_Size() int
- func (m *Inclusion) XXX_Unmarshal(b []byte) error
- type Invocation
- func (*Invocation) Descriptor() ([]byte, []int)
- func (m *Invocation) GetBaseTestVariantDef() *VariantDef
- func (m *Invocation) GetCreateTime() *timestamp.Timestamp
- func (m *Invocation) GetDeadline() *timestamp.Timestamp
- func (m *Invocation) GetFinalizeTime() *timestamp.Timestamp
- func (m *Invocation) GetName() string
- func (m *Invocation) GetState() Invocation_State
- func (m *Invocation) GetTags() []*StringPair
- func (*Invocation) ProtoMessage()
- func (m *Invocation) Reset()
- func (m *Invocation) String() string
- func (m *Invocation) XXX_DiscardUnknown()
- func (m *Invocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invocation) XXX_Merge(src proto.Message)
- func (m *Invocation) XXX_Size() int
- func (m *Invocation) XXX_Unmarshal(b []byte) error
- type Invocation_State
- type ListTestExonerationsRequest
- func (*ListTestExonerationsRequest) Descriptor() ([]byte, []int)
- func (m *ListTestExonerationsRequest) GetInvocation() string
- func (m *ListTestExonerationsRequest) GetPageSize() int32
- func (m *ListTestExonerationsRequest) GetPageToken() string
- func (*ListTestExonerationsRequest) ProtoMessage()
- func (m *ListTestExonerationsRequest) Reset()
- func (m *ListTestExonerationsRequest) String() string
- func (m *ListTestExonerationsRequest) XXX_DiscardUnknown()
- func (m *ListTestExonerationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTestExonerationsRequest) XXX_Merge(src proto.Message)
- func (m *ListTestExonerationsRequest) XXX_Size() int
- func (m *ListTestExonerationsRequest) XXX_Unmarshal(b []byte) error
- type ListTestExonerationsResponse
- func (*ListTestExonerationsResponse) Descriptor() ([]byte, []int)
- func (m *ListTestExonerationsResponse) GetNextPageToken() string
- func (m *ListTestExonerationsResponse) GetTestExonerations() []*TestExoneration
- func (*ListTestExonerationsResponse) ProtoMessage()
- func (m *ListTestExonerationsResponse) Reset()
- func (m *ListTestExonerationsResponse) String() string
- func (m *ListTestExonerationsResponse) XXX_DiscardUnknown()
- func (m *ListTestExonerationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTestExonerationsResponse) XXX_Merge(src proto.Message)
- func (m *ListTestExonerationsResponse) XXX_Size() int
- func (m *ListTestExonerationsResponse) XXX_Unmarshal(b []byte) error
- type ListTestResultsRequest
- func (*ListTestResultsRequest) Descriptor() ([]byte, []int)
- func (m *ListTestResultsRequest) GetInvocation() string
- func (m *ListTestResultsRequest) GetPageSize() int32
- func (m *ListTestResultsRequest) GetPageToken() string
- func (*ListTestResultsRequest) ProtoMessage()
- func (m *ListTestResultsRequest) Reset()
- func (m *ListTestResultsRequest) String() string
- func (m *ListTestResultsRequest) XXX_DiscardUnknown()
- func (m *ListTestResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTestResultsRequest) XXX_Merge(src proto.Message)
- func (m *ListTestResultsRequest) XXX_Size() int
- func (m *ListTestResultsRequest) XXX_Unmarshal(b []byte) error
- type ListTestResultsResponse
- func (*ListTestResultsResponse) Descriptor() ([]byte, []int)
- func (m *ListTestResultsResponse) GetNextPageToken() string
- func (m *ListTestResultsResponse) GetTestResults() []*TestResult
- func (*ListTestResultsResponse) ProtoMessage()
- func (m *ListTestResultsResponse) Reset()
- func (m *ListTestResultsResponse) String() string
- func (m *ListTestResultsResponse) XXX_DiscardUnknown()
- func (m *ListTestResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTestResultsResponse) XXX_Merge(src proto.Message)
- func (m *ListTestResultsResponse) XXX_Size() int
- func (m *ListTestResultsResponse) XXX_Unmarshal(b []byte) error
- type MockRecorderClient
- func (m *MockRecorderClient) BatchCreateTestExonerations(ctx context.Context, in *BatchCreateTestExonerationsRequest, ...) (*BatchCreateTestExonerationsResponse, error)
- func (m *MockRecorderClient) BatchCreateTestResults(ctx context.Context, in *BatchCreateTestResultsRequest, ...) (*BatchCreateTestResultsResponse, error)
- func (m *MockRecorderClient) CreateInclusion(ctx context.Context, in *CreateInclusionRequest, opts ...grpc.CallOption) (*Inclusion, error)
- func (m *MockRecorderClient) CreateInvocation(ctx context.Context, in *CreateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
- func (m *MockRecorderClient) CreateTestExoneration(ctx context.Context, in *CreateTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)
- func (m *MockRecorderClient) CreateTestResult(ctx context.Context, in *CreateTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
- func (m *MockRecorderClient) DeriveInvocation(ctx context.Context, in *DeriveInvocationRequest, opts ...grpc.CallOption) (*DeriveInvocationResponse, error)
- func (m *MockRecorderClient) EXPECT() *MockRecorderClientMockRecorder
- func (m *MockRecorderClient) FinalizeInvocation(ctx context.Context, in *FinalizeInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
- func (m *MockRecorderClient) OverrideInclusion(ctx context.Context, in *OverrideInclusionRequest, opts ...grpc.CallOption) (*OverrideInclusionResponse, error)
- func (m *MockRecorderClient) UpdateInvocation(ctx context.Context, in *UpdateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
- type MockRecorderClientMockRecorder
- func (mr *MockRecorderClientMockRecorder) BatchCreateTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecorderClientMockRecorder) BatchCreateTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecorderClientMockRecorder) CreateInclusion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecorderClientMockRecorder) CreateInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecorderClientMockRecorder) CreateTestExoneration(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecorderClientMockRecorder) CreateTestResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecorderClientMockRecorder) DeriveInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecorderClientMockRecorder) FinalizeInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecorderClientMockRecorder) OverrideInclusion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecorderClientMockRecorder) UpdateInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockRecorderServer
- func (m *MockRecorderServer) BatchCreateTestExonerations(arg0 context.Context, arg1 *BatchCreateTestExonerationsRequest) (*BatchCreateTestExonerationsResponse, error)
- func (m *MockRecorderServer) BatchCreateTestResults(arg0 context.Context, arg1 *BatchCreateTestResultsRequest) (*BatchCreateTestResultsResponse, error)
- func (m *MockRecorderServer) CreateInclusion(arg0 context.Context, arg1 *CreateInclusionRequest) (*Inclusion, error)
- func (m *MockRecorderServer) CreateInvocation(arg0 context.Context, arg1 *CreateInvocationRequest) (*Invocation, error)
- func (m *MockRecorderServer) CreateTestExoneration(arg0 context.Context, arg1 *CreateTestExonerationRequest) (*TestExoneration, error)
- func (m *MockRecorderServer) CreateTestResult(arg0 context.Context, arg1 *CreateTestResultRequest) (*TestResult, error)
- func (m *MockRecorderServer) DeriveInvocation(arg0 context.Context, arg1 *DeriveInvocationRequest) (*DeriveInvocationResponse, error)
- func (m *MockRecorderServer) EXPECT() *MockRecorderServerMockRecorder
- func (m *MockRecorderServer) FinalizeInvocation(arg0 context.Context, arg1 *FinalizeInvocationRequest) (*Invocation, error)
- func (m *MockRecorderServer) OverrideInclusion(arg0 context.Context, arg1 *OverrideInclusionRequest) (*OverrideInclusionResponse, error)
- func (m *MockRecorderServer) UpdateInvocation(arg0 context.Context, arg1 *UpdateInvocationRequest) (*Invocation, error)
- type MockRecorderServerMockRecorder
- func (mr *MockRecorderServerMockRecorder) BatchCreateTestExonerations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecorderServerMockRecorder) BatchCreateTestResults(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecorderServerMockRecorder) CreateInclusion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecorderServerMockRecorder) CreateInvocation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecorderServerMockRecorder) CreateTestExoneration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecorderServerMockRecorder) CreateTestResult(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecorderServerMockRecorder) DeriveInvocation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecorderServerMockRecorder) FinalizeInvocation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecorderServerMockRecorder) OverrideInclusion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecorderServerMockRecorder) UpdateInvocation(arg0, arg1 interface{}) *gomock.Call
- type MockResultDBClient
- func (m *MockResultDBClient) EXPECT() *MockResultDBClientMockRecorder
- func (m *MockResultDBClient) GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
- func (m *MockResultDBClient) GetTestExoneration(ctx context.Context, in *GetTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)
- func (m *MockResultDBClient) GetTestResult(ctx context.Context, in *GetTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
- func (m *MockResultDBClient) ListTestExonerations(ctx context.Context, in *ListTestExonerationsRequest, opts ...grpc.CallOption) (*ListTestExonerationsResponse, error)
- func (m *MockResultDBClient) ListTestResults(ctx context.Context, in *ListTestResultsRequest, opts ...grpc.CallOption) (*ListTestResultsResponse, error)
- func (m *MockResultDBClient) QueryTestResults(ctx context.Context, in *QueryTestResultsRequest, opts ...grpc.CallOption) (*QueryTestResultsResponse, error)
- type MockResultDBClientMockRecorder
- func (mr *MockResultDBClientMockRecorder) GetInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockResultDBClientMockRecorder) GetTestExoneration(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockResultDBClientMockRecorder) GetTestResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockResultDBClientMockRecorder) ListTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockResultDBClientMockRecorder) ListTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockResultDBClientMockRecorder) QueryTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockResultDBServer
- func (m *MockResultDBServer) EXPECT() *MockResultDBServerMockRecorder
- func (m *MockResultDBServer) GetInvocation(arg0 context.Context, arg1 *GetInvocationRequest) (*Invocation, error)
- func (m *MockResultDBServer) GetTestExoneration(arg0 context.Context, arg1 *GetTestExonerationRequest) (*TestExoneration, error)
- func (m *MockResultDBServer) GetTestResult(arg0 context.Context, arg1 *GetTestResultRequest) (*TestResult, error)
- func (m *MockResultDBServer) ListTestExonerations(arg0 context.Context, arg1 *ListTestExonerationsRequest) (*ListTestExonerationsResponse, error)
- func (m *MockResultDBServer) ListTestResults(arg0 context.Context, arg1 *ListTestResultsRequest) (*ListTestResultsResponse, error)
- func (m *MockResultDBServer) QueryTestResults(arg0 context.Context, arg1 *QueryTestResultsRequest) (*QueryTestResultsResponse, error)
- type MockResultDBServerMockRecorder
- func (mr *MockResultDBServerMockRecorder) GetInvocation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResultDBServerMockRecorder) GetTestExoneration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResultDBServerMockRecorder) GetTestResult(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResultDBServerMockRecorder) ListTestExonerations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResultDBServerMockRecorder) ListTestResults(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResultDBServerMockRecorder) QueryTestResults(arg0, arg1 interface{}) *gomock.Call
- type OverrideInclusionRequest
- func (*OverrideInclusionRequest) Descriptor() ([]byte, []int)
- func (m *OverrideInclusionRequest) GetIncludingInvocation() string
- func (m *OverrideInclusionRequest) GetOverriddenIncludedInvocation() string
- func (m *OverrideInclusionRequest) GetOverridingIncludedInvocation() string
- func (*OverrideInclusionRequest) ProtoMessage()
- func (m *OverrideInclusionRequest) Reset()
- func (m *OverrideInclusionRequest) String() string
- func (m *OverrideInclusionRequest) XXX_DiscardUnknown()
- func (m *OverrideInclusionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OverrideInclusionRequest) XXX_Merge(src proto.Message)
- func (m *OverrideInclusionRequest) XXX_Size() int
- func (m *OverrideInclusionRequest) XXX_Unmarshal(b []byte) error
- type OverrideInclusionResponse
- func (*OverrideInclusionResponse) Descriptor() ([]byte, []int)
- func (m *OverrideInclusionResponse) GetOverriddenInclusion() *Inclusion
- func (m *OverrideInclusionResponse) GetOverridingInclusion() *Inclusion
- func (*OverrideInclusionResponse) ProtoMessage()
- func (m *OverrideInclusionResponse) Reset()
- func (m *OverrideInclusionResponse) String() string
- func (m *OverrideInclusionResponse) XXX_DiscardUnknown()
- func (m *OverrideInclusionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OverrideInclusionResponse) XXX_Merge(src proto.Message)
- func (m *OverrideInclusionResponse) XXX_Size() int
- func (m *OverrideInclusionResponse) XXX_Unmarshal(b []byte) error
- type QueryTestResultsRequest
- func (*QueryTestResultsRequest) Descriptor() ([]byte, []int)
- func (*QueryTestResultsRequest) ProtoMessage()
- func (m *QueryTestResultsRequest) Reset()
- func (m *QueryTestResultsRequest) String() string
- func (m *QueryTestResultsRequest) XXX_DiscardUnknown()
- func (m *QueryTestResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTestResultsRequest) XXX_Merge(src proto.Message)
- func (m *QueryTestResultsRequest) XXX_Size() int
- func (m *QueryTestResultsRequest) XXX_Unmarshal(b []byte) error
- type QueryTestResultsResponse
- func (*QueryTestResultsResponse) Descriptor() ([]byte, []int)
- func (*QueryTestResultsResponse) ProtoMessage()
- func (m *QueryTestResultsResponse) Reset()
- func (m *QueryTestResultsResponse) String() string
- func (m *QueryTestResultsResponse) XXX_DiscardUnknown()
- func (m *QueryTestResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTestResultsResponse) XXX_Merge(src proto.Message)
- func (m *QueryTestResultsResponse) XXX_Size() int
- func (m *QueryTestResultsResponse) XXX_Unmarshal(b []byte) error
- type RecorderClient
- type RecorderServer
- type ResultDBClient
- type ResultDBServer
- type StringPair
- func (*StringPair) Descriptor() ([]byte, []int)
- func (m *StringPair) GetKey() string
- func (m *StringPair) GetValue() string
- func (*StringPair) ProtoMessage()
- func (m *StringPair) Reset()
- func (m *StringPair) String() string
- func (m *StringPair) XXX_DiscardUnknown()
- func (m *StringPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringPair) XXX_Merge(src proto.Message)
- func (m *StringPair) XXX_Size() int
- func (m *StringPair) XXX_Unmarshal(b []byte) error
- type TestExoneration
- func (*TestExoneration) Descriptor() ([]byte, []int)
- func (m *TestExoneration) GetExplanationMarkdown() string
- func (m *TestExoneration) GetName() string
- func (m *TestExoneration) GetTestVariant() *TestVariant
- func (*TestExoneration) ProtoMessage()
- func (m *TestExoneration) Reset()
- func (m *TestExoneration) String() string
- func (m *TestExoneration) XXX_DiscardUnknown()
- func (m *TestExoneration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestExoneration) XXX_Merge(src proto.Message)
- func (m *TestExoneration) XXX_Size() int
- func (m *TestExoneration) XXX_Unmarshal(b []byte) error
- type TestResult
- func (*TestResult) Descriptor() ([]byte, []int)
- func (m *TestResult) GetDuration() *duration.Duration
- func (m *TestResult) GetExpected() bool
- func (m *TestResult) GetExtraVariantPairs() *VariantDef
- func (m *TestResult) GetInputArtifacts() []*Artifact
- func (m *TestResult) GetName() string
- func (m *TestResult) GetOutputArtifacts() []*Artifact
- func (m *TestResult) GetStartTime() *timestamp.Timestamp
- func (m *TestResult) GetStatus() TestStatus
- func (m *TestResult) GetSummaryMarkdown() string
- func (m *TestResult) GetTags() []*StringPair
- func (m *TestResult) GetTestPath() string
- func (*TestResult) ProtoMessage()
- func (m *TestResult) Reset()
- func (m *TestResult) String() string
- func (m *TestResult) XXX_DiscardUnknown()
- func (m *TestResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestResult) XXX_Merge(src proto.Message)
- func (m *TestResult) XXX_Size() int
- func (m *TestResult) XXX_Unmarshal(b []byte) error
- type TestResultEntry
- func (*TestResultEntry) Descriptor() ([]byte, []int)
- func (m *TestResultEntry) GetEntry() isTestResultEntry_Entry
- func (m *TestResultEntry) GetResultsFile() *TestResultEntry_ResultsFile
- func (m *TestResultEntry) GetTestResult() *TestResultEntry_TestResult
- func (*TestResultEntry) ProtoMessage()
- func (m *TestResultEntry) Reset()
- func (m *TestResultEntry) String() string
- func (m *TestResultEntry) XXX_DiscardUnknown()
- func (m *TestResultEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestResultEntry) XXX_Merge(src proto.Message)
- func (*TestResultEntry) XXX_OneofWrappers() []interface{}
- func (m *TestResultEntry) XXX_Size() int
- func (m *TestResultEntry) XXX_Unmarshal(b []byte) error
- type TestResultEntry_File
- func (*TestResultEntry_File) Descriptor() ([]byte, []int)
- func (m *TestResultEntry_File) GetBody() isTestResultEntry_File_Body
- func (m *TestResultEntry_File) GetContents() []byte
- func (m *TestResultEntry_File) GetFilePath() string
- func (m *TestResultEntry_File) GetMediaType() string
- func (*TestResultEntry_File) ProtoMessage()
- func (m *TestResultEntry_File) Reset()
- func (m *TestResultEntry_File) String() string
- func (m *TestResultEntry_File) XXX_DiscardUnknown()
- func (m *TestResultEntry_File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestResultEntry_File) XXX_Merge(src proto.Message)
- func (*TestResultEntry_File) XXX_OneofWrappers() []interface{}
- func (m *TestResultEntry_File) XXX_Size() int
- func (m *TestResultEntry_File) XXX_Unmarshal(b []byte) error
- type TestResultEntry_File_Contents
- type TestResultEntry_File_FilePath
- type TestResultEntry_ResultsFile
- func (*TestResultEntry_ResultsFile) Descriptor() ([]byte, []int)
- func (m *TestResultEntry_ResultsFile) GetFormat() TestResultEntry_ResultsFile_Format
- func (m *TestResultEntry_ResultsFile) GetPath() string
- func (*TestResultEntry_ResultsFile) ProtoMessage()
- func (m *TestResultEntry_ResultsFile) Reset()
- func (m *TestResultEntry_ResultsFile) String() string
- func (m *TestResultEntry_ResultsFile) XXX_DiscardUnknown()
- func (m *TestResultEntry_ResultsFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestResultEntry_ResultsFile) XXX_Merge(src proto.Message)
- func (m *TestResultEntry_ResultsFile) XXX_Size() int
- func (m *TestResultEntry_ResultsFile) XXX_Unmarshal(b []byte) error
- type TestResultEntry_ResultsFile_
- type TestResultEntry_ResultsFile_Format
- type TestResultEntry_TestResult
- func (*TestResultEntry_TestResult) Descriptor() ([]byte, []int)
- func (m *TestResultEntry_TestResult) GetFiles() map[string]*TestResultEntry_File
- func (m *TestResultEntry_TestResult) GetIsExpected() bool
- func (m *TestResultEntry_TestResult) GetRunDuration() *duration.Duration
- func (m *TestResultEntry_TestResult) GetStartTime() *timestamp.Timestamp
- func (m *TestResultEntry_TestResult) GetStatus() TestStatus
- func (m *TestResultEntry_TestResult) GetSummaryMarkdown() string
- func (m *TestResultEntry_TestResult) GetTestName() string
- func (m *TestResultEntry_TestResult) GetVariant() *VariantDef
- func (*TestResultEntry_TestResult) ProtoMessage()
- func (m *TestResultEntry_TestResult) Reset()
- func (m *TestResultEntry_TestResult) String() string
- func (m *TestResultEntry_TestResult) XXX_DiscardUnknown()
- func (m *TestResultEntry_TestResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestResultEntry_TestResult) XXX_Merge(src proto.Message)
- func (m *TestResultEntry_TestResult) XXX_Size() int
- func (m *TestResultEntry_TestResult) XXX_Unmarshal(b []byte) error
- type TestResultEntry_TestResult_
- type TestStatus
- type TestVariant
- func (*TestVariant) Descriptor() ([]byte, []int)
- func (m *TestVariant) GetTestPath() string
- func (m *TestVariant) GetVariant() *VariantDef
- func (*TestVariant) ProtoMessage()
- func (m *TestVariant) Reset()
- func (m *TestVariant) String() string
- func (m *TestVariant) XXX_DiscardUnknown()
- func (m *TestVariant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestVariant) XXX_Merge(src proto.Message)
- func (m *TestVariant) XXX_Size() int
- func (m *TestVariant) XXX_Unmarshal(b []byte) error
- type UnimplementedRecorderServer
- func (*UnimplementedRecorderServer) BatchCreateTestExonerations(ctx context.Context, req *BatchCreateTestExonerationsRequest) (*BatchCreateTestExonerationsResponse, error)
- func (*UnimplementedRecorderServer) BatchCreateTestResults(ctx context.Context, req *BatchCreateTestResultsRequest) (*BatchCreateTestResultsResponse, error)
- func (*UnimplementedRecorderServer) CreateInclusion(ctx context.Context, req *CreateInclusionRequest) (*Inclusion, error)
- func (*UnimplementedRecorderServer) CreateInvocation(ctx context.Context, req *CreateInvocationRequest) (*Invocation, error)
- func (*UnimplementedRecorderServer) CreateTestExoneration(ctx context.Context, req *CreateTestExonerationRequest) (*TestExoneration, error)
- func (*UnimplementedRecorderServer) CreateTestResult(ctx context.Context, req *CreateTestResultRequest) (*TestResult, error)
- func (*UnimplementedRecorderServer) DeriveInvocation(ctx context.Context, req *DeriveInvocationRequest) (*DeriveInvocationResponse, error)
- func (*UnimplementedRecorderServer) FinalizeInvocation(ctx context.Context, req *FinalizeInvocationRequest) (*Invocation, error)
- func (*UnimplementedRecorderServer) OverrideInclusion(ctx context.Context, req *OverrideInclusionRequest) (*OverrideInclusionResponse, error)
- func (*UnimplementedRecorderServer) UpdateInvocation(ctx context.Context, req *UpdateInvocationRequest) (*Invocation, error)
- type UnimplementedResultDBServer
- func (*UnimplementedResultDBServer) GetInvocation(ctx context.Context, req *GetInvocationRequest) (*Invocation, error)
- func (*UnimplementedResultDBServer) GetTestExoneration(ctx context.Context, req *GetTestExonerationRequest) (*TestExoneration, error)
- func (*UnimplementedResultDBServer) GetTestResult(ctx context.Context, req *GetTestResultRequest) (*TestResult, error)
- func (*UnimplementedResultDBServer) ListTestExonerations(ctx context.Context, req *ListTestExonerationsRequest) (*ListTestExonerationsResponse, error)
- func (*UnimplementedResultDBServer) ListTestResults(ctx context.Context, req *ListTestResultsRequest) (*ListTestResultsResponse, error)
- func (*UnimplementedResultDBServer) QueryTestResults(ctx context.Context, req *QueryTestResultsRequest) (*QueryTestResultsResponse, error)
- type UpdateInvocationRequest
- func (*UpdateInvocationRequest) Descriptor() ([]byte, []int)
- func (m *UpdateInvocationRequest) GetInvocation() *Invocation
- func (m *UpdateInvocationRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateInvocationRequest) ProtoMessage()
- func (m *UpdateInvocationRequest) Reset()
- func (m *UpdateInvocationRequest) String() string
- func (m *UpdateInvocationRequest) XXX_DiscardUnknown()
- func (m *UpdateInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateInvocationRequest) XXX_Merge(src proto.Message)
- func (m *UpdateInvocationRequest) XXX_Size() int
- func (m *UpdateInvocationRequest) XXX_Unmarshal(b []byte) error
- type VariantDef
- func (*VariantDef) Descriptor() ([]byte, []int)
- func (m *VariantDef) GetDef() map[string]string
- func (*VariantDef) ProtoMessage()
- func (m *VariantDef) Reset()
- func (m *VariantDef) String() string
- func (m *VariantDef) XXX_DiscardUnknown()
- func (m *VariantDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VariantDef) XXX_Merge(src proto.Message)
- func (m *VariantDef) XXX_Size() int
- func (m *VariantDef) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
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 TestResultEntry_ResultsFile_Format_name = map[int32]string{
0: "LUCI",
1: "CHROMIUM_JSON_TEST_RESULTS",
2: "GOOGLE_TEST",
}
var TestResultEntry_ResultsFile_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,
}
Functions ¶
func FileDescriptorSet ¶
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 ¶
func RegisterRecorderServer(s prpc.Registrar, srv RecorderServer)
func RegisterResultDBServer ¶
func RegisterResultDBServer(s prpc.Registrar, srv ResultDBServer)
Types ¶
type Artifact ¶
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 ¶
func (*Artifact) GetContentType ¶
func (*Artifact) GetContents ¶
func (*Artifact) GetFetchUrl ¶
func (*Artifact) GetViewUrl ¶
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) XXX_DiscardUnknown ¶
func (m *Artifact) XXX_DiscardUnknown()
func (*Artifact) XXX_Marshal ¶
func (*Artifact) XXX_Unmarshal ¶
type BatchCreateTestExonerationsRequest ¶
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 []*CreateTestExonerationRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for BatchCreateTestExonerations RPC.
func (*BatchCreateTestExonerationsRequest) Descriptor ¶
func (*BatchCreateTestExonerationsRequest) Descriptor() ([]byte, []int)
func (*BatchCreateTestExonerationsRequest) GetInvocation ¶
func (m *BatchCreateTestExonerationsRequest) GetInvocation() string
func (*BatchCreateTestExonerationsRequest) GetRequests ¶
func (m *BatchCreateTestExonerationsRequest) GetRequests() []*CreateTestExonerationRequest
func (*BatchCreateTestExonerationsRequest) ProtoMessage ¶
func (*BatchCreateTestExonerationsRequest) ProtoMessage()
func (*BatchCreateTestExonerationsRequest) Reset ¶
func (m *BatchCreateTestExonerationsRequest) Reset()
func (*BatchCreateTestExonerationsRequest) String ¶
func (m *BatchCreateTestExonerationsRequest) String() string
func (*BatchCreateTestExonerationsRequest) XXX_DiscardUnknown ¶
func (m *BatchCreateTestExonerationsRequest) XXX_DiscardUnknown()
func (*BatchCreateTestExonerationsRequest) XXX_Marshal ¶
func (m *BatchCreateTestExonerationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchCreateTestExonerationsRequest) XXX_Merge ¶
func (m *BatchCreateTestExonerationsRequest) XXX_Merge(src proto.Message)
func (*BatchCreateTestExonerationsRequest) XXX_Size ¶
func (m *BatchCreateTestExonerationsRequest) XXX_Size() int
func (*BatchCreateTestExonerationsRequest) XXX_Unmarshal ¶
func (m *BatchCreateTestExonerationsRequest) XXX_Unmarshal(b []byte) error
type BatchCreateTestExonerationsResponse ¶
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 ¶
func (*BatchCreateTestExonerationsResponse) Descriptor() ([]byte, []int)
func (*BatchCreateTestExonerationsResponse) GetTestExonerations ¶
func (m *BatchCreateTestExonerationsResponse) GetTestExonerations() []*TestExoneration
func (*BatchCreateTestExonerationsResponse) ProtoMessage ¶
func (*BatchCreateTestExonerationsResponse) ProtoMessage()
func (*BatchCreateTestExonerationsResponse) Reset ¶
func (m *BatchCreateTestExonerationsResponse) Reset()
func (*BatchCreateTestExonerationsResponse) String ¶
func (m *BatchCreateTestExonerationsResponse) String() string
func (*BatchCreateTestExonerationsResponse) XXX_DiscardUnknown ¶
func (m *BatchCreateTestExonerationsResponse) XXX_DiscardUnknown()
func (*BatchCreateTestExonerationsResponse) XXX_Marshal ¶
func (m *BatchCreateTestExonerationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchCreateTestExonerationsResponse) XXX_Merge ¶
func (m *BatchCreateTestExonerationsResponse) XXX_Merge(src proto.Message)
func (*BatchCreateTestExonerationsResponse) XXX_Size ¶
func (m *BatchCreateTestExonerationsResponse) XXX_Size() int
func (*BatchCreateTestExonerationsResponse) XXX_Unmarshal ¶
func (m *BatchCreateTestExonerationsResponse) XXX_Unmarshal(b []byte) error
type BatchCreateTestResultsRequest ¶
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 ¶
func (*BatchCreateTestResultsRequest) Descriptor() ([]byte, []int)
func (*BatchCreateTestResultsRequest) GetInvocation ¶
func (m *BatchCreateTestResultsRequest) GetInvocation() string
func (*BatchCreateTestResultsRequest) GetRequestId ¶
func (m *BatchCreateTestResultsRequest) GetRequestId() string
func (*BatchCreateTestResultsRequest) GetRequests ¶
func (m *BatchCreateTestResultsRequest) GetRequests() []*CreateTestResultRequest
func (*BatchCreateTestResultsRequest) ProtoMessage ¶
func (*BatchCreateTestResultsRequest) ProtoMessage()
func (*BatchCreateTestResultsRequest) Reset ¶
func (m *BatchCreateTestResultsRequest) Reset()
func (*BatchCreateTestResultsRequest) String ¶
func (m *BatchCreateTestResultsRequest) String() string
func (*BatchCreateTestResultsRequest) XXX_DiscardUnknown ¶
func (m *BatchCreateTestResultsRequest) XXX_DiscardUnknown()
func (*BatchCreateTestResultsRequest) XXX_Marshal ¶
func (m *BatchCreateTestResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchCreateTestResultsRequest) XXX_Merge ¶
func (m *BatchCreateTestResultsRequest) XXX_Merge(src proto.Message)
func (*BatchCreateTestResultsRequest) XXX_Size ¶
func (m *BatchCreateTestResultsRequest) XXX_Size() int
func (*BatchCreateTestResultsRequest) XXX_Unmarshal ¶
func (m *BatchCreateTestResultsRequest) XXX_Unmarshal(b []byte) error
type BatchCreateTestResultsResponse ¶
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 ¶
func (*BatchCreateTestResultsResponse) Descriptor() ([]byte, []int)
func (*BatchCreateTestResultsResponse) GetTestResults ¶
func (m *BatchCreateTestResultsResponse) GetTestResults() []*TestResult
func (*BatchCreateTestResultsResponse) ProtoMessage ¶
func (*BatchCreateTestResultsResponse) ProtoMessage()
func (*BatchCreateTestResultsResponse) Reset ¶
func (m *BatchCreateTestResultsResponse) Reset()
func (*BatchCreateTestResultsResponse) String ¶
func (m *BatchCreateTestResultsResponse) String() string
func (*BatchCreateTestResultsResponse) XXX_DiscardUnknown ¶
func (m *BatchCreateTestResultsResponse) XXX_DiscardUnknown()
func (*BatchCreateTestResultsResponse) XXX_Marshal ¶
func (m *BatchCreateTestResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchCreateTestResultsResponse) XXX_Merge ¶
func (m *BatchCreateTestResultsResponse) XXX_Merge(src proto.Message)
func (*BatchCreateTestResultsResponse) XXX_Size ¶
func (m *BatchCreateTestResultsResponse) XXX_Size() int
func (*BatchCreateTestResultsResponse) XXX_Unmarshal ¶
func (m *BatchCreateTestResultsResponse) XXX_Unmarshal(b []byte) error
type CreateInclusionRequest ¶
type CreateInclusionRequest struct { // Name of the invocation to extend. IncludingInvocation string `protobuf:"bytes,1,opt,name=including_invocation,json=includingInvocation,proto3" json:"including_invocation,omitempty"` // Name of the included invocation and whether it is consequential. Inclusion *Inclusion `protobuf:"bytes,3,opt,name=inclusion,proto3" json:"inclusion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for CreateInclusion RPC.
func (*CreateInclusionRequest) Descriptor ¶
func (*CreateInclusionRequest) Descriptor() ([]byte, []int)
func (*CreateInclusionRequest) GetIncludingInvocation ¶
func (m *CreateInclusionRequest) GetIncludingInvocation() string
func (*CreateInclusionRequest) GetInclusion ¶
func (m *CreateInclusionRequest) GetInclusion() *Inclusion
func (*CreateInclusionRequest) ProtoMessage ¶
func (*CreateInclusionRequest) ProtoMessage()
func (*CreateInclusionRequest) Reset ¶
func (m *CreateInclusionRequest) Reset()
func (*CreateInclusionRequest) String ¶
func (m *CreateInclusionRequest) String() string
func (*CreateInclusionRequest) XXX_DiscardUnknown ¶
func (m *CreateInclusionRequest) XXX_DiscardUnknown()
func (*CreateInclusionRequest) XXX_Marshal ¶
func (m *CreateInclusionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateInclusionRequest) XXX_Merge ¶
func (m *CreateInclusionRequest) XXX_Merge(src proto.Message)
func (*CreateInclusionRequest) XXX_Size ¶
func (m *CreateInclusionRequest) XXX_Size() int
func (*CreateInclusionRequest) XXX_Unmarshal ¶
func (m *CreateInclusionRequest) XXX_Unmarshal(b []byte) error
type CreateInvocationRequest ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for CreateInvocation.
func (*CreateInvocationRequest) Descriptor ¶
func (*CreateInvocationRequest) Descriptor() ([]byte, []int)
func (*CreateInvocationRequest) GetInvocation ¶
func (m *CreateInvocationRequest) GetInvocation() *Invocation
func (*CreateInvocationRequest) GetInvocationId ¶
func (m *CreateInvocationRequest) GetInvocationId() string
func (*CreateInvocationRequest) ProtoMessage ¶
func (*CreateInvocationRequest) ProtoMessage()
func (*CreateInvocationRequest) Reset ¶
func (m *CreateInvocationRequest) Reset()
func (*CreateInvocationRequest) String ¶
func (m *CreateInvocationRequest) String() string
func (*CreateInvocationRequest) XXX_DiscardUnknown ¶
func (m *CreateInvocationRequest) XXX_DiscardUnknown()
func (*CreateInvocationRequest) XXX_Marshal ¶
func (m *CreateInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateInvocationRequest) XXX_Merge ¶
func (m *CreateInvocationRequest) XXX_Merge(src proto.Message)
func (*CreateInvocationRequest) XXX_Size ¶
func (m *CreateInvocationRequest) XXX_Size() int
func (*CreateInvocationRequest) XXX_Unmarshal ¶
func (m *CreateInvocationRequest) XXX_Unmarshal(b []byte) error
type CreateTestExonerationRequest ¶
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 ¶
func (*CreateTestExonerationRequest) Descriptor() ([]byte, []int)
func (*CreateTestExonerationRequest) GetInvocation ¶
func (m *CreateTestExonerationRequest) GetInvocation() string
func (*CreateTestExonerationRequest) GetRequestId ¶
func (m *CreateTestExonerationRequest) GetRequestId() string
func (*CreateTestExonerationRequest) GetTestExoneration ¶
func (m *CreateTestExonerationRequest) GetTestExoneration() *TestExoneration
func (*CreateTestExonerationRequest) ProtoMessage ¶
func (*CreateTestExonerationRequest) ProtoMessage()
func (*CreateTestExonerationRequest) Reset ¶
func (m *CreateTestExonerationRequest) Reset()
func (*CreateTestExonerationRequest) String ¶
func (m *CreateTestExonerationRequest) String() string
func (*CreateTestExonerationRequest) XXX_DiscardUnknown ¶
func (m *CreateTestExonerationRequest) XXX_DiscardUnknown()
func (*CreateTestExonerationRequest) XXX_Marshal ¶
func (m *CreateTestExonerationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTestExonerationRequest) XXX_Merge ¶
func (m *CreateTestExonerationRequest) XXX_Merge(src proto.Message)
func (*CreateTestExonerationRequest) XXX_Size ¶
func (m *CreateTestExonerationRequest) XXX_Size() int
func (*CreateTestExonerationRequest) XXX_Unmarshal ¶
func (m *CreateTestExonerationRequest) XXX_Unmarshal(b []byte) error
type CreateTestResultRequest ¶
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. 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 ¶
func (*CreateTestResultRequest) Descriptor() ([]byte, []int)
func (*CreateTestResultRequest) GetInvocation ¶
func (m *CreateTestResultRequest) GetInvocation() string
func (*CreateTestResultRequest) GetRequestId ¶
func (m *CreateTestResultRequest) GetRequestId() string
func (*CreateTestResultRequest) GetTestResult ¶
func (m *CreateTestResultRequest) GetTestResult() *TestResult
func (*CreateTestResultRequest) ProtoMessage ¶
func (*CreateTestResultRequest) ProtoMessage()
func (*CreateTestResultRequest) Reset ¶
func (m *CreateTestResultRequest) Reset()
func (*CreateTestResultRequest) String ¶
func (m *CreateTestResultRequest) String() string
func (*CreateTestResultRequest) XXX_DiscardUnknown ¶
func (m *CreateTestResultRequest) XXX_DiscardUnknown()
func (*CreateTestResultRequest) XXX_Marshal ¶
func (m *CreateTestResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTestResultRequest) XXX_Merge ¶
func (m *CreateTestResultRequest) XXX_Merge(src proto.Message)
func (*CreateTestResultRequest) XXX_Size ¶
func (m *CreateTestResultRequest) XXX_Size() int
func (*CreateTestResultRequest) XXX_Unmarshal ¶
func (m *CreateTestResultRequest) XXX_Unmarshal(b []byte) error
type DeriveInvocationRequest ¶
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"` // Test path prefix. // // Examples: "gn:{label}/". // // See https://gn.googlesource.com/gn/+/master/docs/reference.md#labels for // label examples. // // Generated test path examples: // * GTest: gn:{label}/{suite}/{case} // * javatests: gn:{label}/{full_java_method_name} // * web tests: gn:{label}/{file_name} TestPathPrefix string `protobuf:"bytes,2,opt,name=test_path_prefix,json=testPathPrefix,proto3" json:"test_path_prefix,omitempty"` // Test variant base. These get combined with the remainder of the test // variant definition, including test parameters and other key/value pairs // that may be derived from the swarming task. // // For Chromium, expected keys in the def map are "bucket", "builder", and // "test_suite". BaseTestVariant *VariantDef `protobuf:"bytes,3,opt,name=base_test_variant,json=baseTestVariant,proto3" json:"base_test_variant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for DeriveInvocation RPC.
func (*DeriveInvocationRequest) Descriptor ¶
func (*DeriveInvocationRequest) Descriptor() ([]byte, []int)
func (*DeriveInvocationRequest) GetBaseTestVariant ¶
func (m *DeriveInvocationRequest) GetBaseTestVariant() *VariantDef
func (*DeriveInvocationRequest) GetSwarmingTask ¶
func (m *DeriveInvocationRequest) GetSwarmingTask() *DeriveInvocationRequest_SwarmingTask
func (*DeriveInvocationRequest) GetTestPathPrefix ¶
func (m *DeriveInvocationRequest) GetTestPathPrefix() string
func (*DeriveInvocationRequest) ProtoMessage ¶
func (*DeriveInvocationRequest) ProtoMessage()
func (*DeriveInvocationRequest) Reset ¶
func (m *DeriveInvocationRequest) Reset()
func (*DeriveInvocationRequest) String ¶
func (m *DeriveInvocationRequest) String() string
func (*DeriveInvocationRequest) XXX_DiscardUnknown ¶
func (m *DeriveInvocationRequest) XXX_DiscardUnknown()
func (*DeriveInvocationRequest) XXX_Marshal ¶
func (m *DeriveInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeriveInvocationRequest) XXX_Merge ¶
func (m *DeriveInvocationRequest) XXX_Merge(src proto.Message)
func (*DeriveInvocationRequest) XXX_Size ¶
func (m *DeriveInvocationRequest) XXX_Size() int
func (*DeriveInvocationRequest) XXX_Unmarshal ¶
func (m *DeriveInvocationRequest) XXX_Unmarshal(b []byte) error
type DeriveInvocationRequest_SwarmingTask ¶
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. 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 ¶
func (*DeriveInvocationRequest_SwarmingTask) Descriptor() ([]byte, []int)
func (*DeriveInvocationRequest_SwarmingTask) GetHostname ¶
func (m *DeriveInvocationRequest_SwarmingTask) GetHostname() string
func (*DeriveInvocationRequest_SwarmingTask) GetId ¶
func (m *DeriveInvocationRequest_SwarmingTask) GetId() string
func (*DeriveInvocationRequest_SwarmingTask) ProtoMessage ¶
func (*DeriveInvocationRequest_SwarmingTask) ProtoMessage()
func (*DeriveInvocationRequest_SwarmingTask) Reset ¶
func (m *DeriveInvocationRequest_SwarmingTask) Reset()
func (*DeriveInvocationRequest_SwarmingTask) String ¶
func (m *DeriveInvocationRequest_SwarmingTask) String() string
func (*DeriveInvocationRequest_SwarmingTask) XXX_DiscardUnknown ¶
func (m *DeriveInvocationRequest_SwarmingTask) XXX_DiscardUnknown()
func (*DeriveInvocationRequest_SwarmingTask) XXX_Marshal ¶
func (m *DeriveInvocationRequest_SwarmingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeriveInvocationRequest_SwarmingTask) XXX_Merge ¶
func (m *DeriveInvocationRequest_SwarmingTask) XXX_Merge(src proto.Message)
func (*DeriveInvocationRequest_SwarmingTask) XXX_Size ¶
func (m *DeriveInvocationRequest_SwarmingTask) XXX_Size() int
func (*DeriveInvocationRequest_SwarmingTask) XXX_Unmarshal ¶
func (m *DeriveInvocationRequest_SwarmingTask) XXX_Unmarshal(b []byte) error
type DeriveInvocationResponse ¶
type DeriveInvocationResponse struct { // Derived invocation. Invocation *Invocation `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"` // Derived test results. TestResults []*TestResult `protobuf:"bytes,2,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 DeriveInvocation RPC.
func (*DeriveInvocationResponse) Descriptor ¶
func (*DeriveInvocationResponse) Descriptor() ([]byte, []int)
func (*DeriveInvocationResponse) GetInvocation ¶
func (m *DeriveInvocationResponse) GetInvocation() *Invocation
func (*DeriveInvocationResponse) GetTestResults ¶
func (m *DeriveInvocationResponse) GetTestResults() []*TestResult
func (*DeriveInvocationResponse) ProtoMessage ¶
func (*DeriveInvocationResponse) ProtoMessage()
func (*DeriveInvocationResponse) Reset ¶
func (m *DeriveInvocationResponse) Reset()
func (*DeriveInvocationResponse) String ¶
func (m *DeriveInvocationResponse) String() string
func (*DeriveInvocationResponse) XXX_DiscardUnknown ¶
func (m *DeriveInvocationResponse) XXX_DiscardUnknown()
func (*DeriveInvocationResponse) XXX_Marshal ¶
func (m *DeriveInvocationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeriveInvocationResponse) XXX_Merge ¶
func (m *DeriveInvocationResponse) XXX_Merge(src proto.Message)
func (*DeriveInvocationResponse) XXX_Size ¶
func (m *DeriveInvocationResponse) XXX_Size() int
func (*DeriveInvocationResponse) XXX_Unmarshal ¶
func (m *DeriveInvocationResponse) XXX_Unmarshal(b []byte) error
type FinalizeInvocationRequest ¶
type FinalizeInvocationRequest struct { // Name of the invocation to finalize. 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 FinalizeInvocation RPC.
func (*FinalizeInvocationRequest) Descriptor ¶
func (*FinalizeInvocationRequest) Descriptor() ([]byte, []int)
func (*FinalizeInvocationRequest) GetName ¶
func (m *FinalizeInvocationRequest) GetName() string
func (*FinalizeInvocationRequest) ProtoMessage ¶
func (*FinalizeInvocationRequest) ProtoMessage()
func (*FinalizeInvocationRequest) Reset ¶
func (m *FinalizeInvocationRequest) Reset()
func (*FinalizeInvocationRequest) String ¶
func (m *FinalizeInvocationRequest) String() string
func (*FinalizeInvocationRequest) XXX_DiscardUnknown ¶
func (m *FinalizeInvocationRequest) XXX_DiscardUnknown()
func (*FinalizeInvocationRequest) XXX_Marshal ¶
func (m *FinalizeInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FinalizeInvocationRequest) XXX_Merge ¶
func (m *FinalizeInvocationRequest) XXX_Merge(src proto.Message)
func (*FinalizeInvocationRequest) XXX_Size ¶
func (m *FinalizeInvocationRequest) XXX_Size() int
func (*FinalizeInvocationRequest) XXX_Unmarshal ¶
func (m *FinalizeInvocationRequest) XXX_Unmarshal(b []byte) error
type GetInvocationRequest ¶
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 ¶
func (*GetInvocationRequest) Descriptor() ([]byte, []int)
func (*GetInvocationRequest) GetName ¶
func (m *GetInvocationRequest) GetName() string
func (*GetInvocationRequest) ProtoMessage ¶
func (*GetInvocationRequest) ProtoMessage()
func (*GetInvocationRequest) Reset ¶
func (m *GetInvocationRequest) Reset()
func (*GetInvocationRequest) String ¶
func (m *GetInvocationRequest) String() string
func (*GetInvocationRequest) XXX_DiscardUnknown ¶
func (m *GetInvocationRequest) XXX_DiscardUnknown()
func (*GetInvocationRequest) XXX_Marshal ¶
func (m *GetInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInvocationRequest) XXX_Merge ¶
func (m *GetInvocationRequest) XXX_Merge(src proto.Message)
func (*GetInvocationRequest) XXX_Size ¶
func (m *GetInvocationRequest) XXX_Size() int
func (*GetInvocationRequest) XXX_Unmarshal ¶
func (m *GetInvocationRequest) XXX_Unmarshal(b []byte) error
type GetTestExonerationRequest ¶
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 ¶
func (*GetTestExonerationRequest) Descriptor() ([]byte, []int)
func (*GetTestExonerationRequest) GetName ¶
func (m *GetTestExonerationRequest) GetName() string
func (*GetTestExonerationRequest) ProtoMessage ¶
func (*GetTestExonerationRequest) ProtoMessage()
func (*GetTestExonerationRequest) Reset ¶
func (m *GetTestExonerationRequest) Reset()
func (*GetTestExonerationRequest) String ¶
func (m *GetTestExonerationRequest) String() string
func (*GetTestExonerationRequest) XXX_DiscardUnknown ¶
func (m *GetTestExonerationRequest) XXX_DiscardUnknown()
func (*GetTestExonerationRequest) XXX_Marshal ¶
func (m *GetTestExonerationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTestExonerationRequest) XXX_Merge ¶
func (m *GetTestExonerationRequest) XXX_Merge(src proto.Message)
func (*GetTestExonerationRequest) XXX_Size ¶
func (m *GetTestExonerationRequest) XXX_Size() int
func (*GetTestExonerationRequest) XXX_Unmarshal ¶
func (m *GetTestExonerationRequest) XXX_Unmarshal(b []byte) error
type GetTestResultRequest ¶
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 ¶
func (*GetTestResultRequest) Descriptor() ([]byte, []int)
func (*GetTestResultRequest) GetName ¶
func (m *GetTestResultRequest) GetName() string
func (*GetTestResultRequest) ProtoMessage ¶
func (*GetTestResultRequest) ProtoMessage()
func (*GetTestResultRequest) Reset ¶
func (m *GetTestResultRequest) Reset()
func (*GetTestResultRequest) String ¶
func (m *GetTestResultRequest) String() string
func (*GetTestResultRequest) XXX_DiscardUnknown ¶
func (m *GetTestResultRequest) XXX_DiscardUnknown()
func (*GetTestResultRequest) XXX_Marshal ¶
func (m *GetTestResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTestResultRequest) XXX_Merge ¶
func (m *GetTestResultRequest) XXX_Merge(src proto.Message)
func (*GetTestResultRequest) XXX_Size ¶
func (m *GetTestResultRequest) XXX_Size() int
func (*GetTestResultRequest) XXX_Unmarshal ¶
func (m *GetTestResultRequest) XXX_Unmarshal(b []byte) error
type Handshake ¶
type Handshake struct { // The auth token is available to the subprocess via // test_results.uploader.auth_token // LUCI_CONTEXT value. // If the value is unexpected, the server simply closes 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:"-"` }
func (*Handshake) Descriptor ¶
func (*Handshake) GetAuthToken ¶
func (*Handshake) ProtoMessage ¶
func (*Handshake) ProtoMessage()
func (*Handshake) XXX_DiscardUnknown ¶
func (m *Handshake) XXX_DiscardUnknown()
func (*Handshake) XXX_Marshal ¶
func (*Handshake) XXX_Unmarshal ¶
type Inclusion ¶
type Inclusion struct { // Resource name, identifier of the inclusion. OUTPUT_ONLY. // Format: // invocations/{INCLUDING_INVOCATION_ID}/inclusions/{INCLUDED_INVOCATION_ID} // This implies that there can be only one direct edge between a given pair of // invocations Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the included invocation. // FORMAT: invocations/{INCLUDED_INVOCATION_ID}. IncludedInvocation string `protobuf:"bytes,2,opt,name=included_invocation,json=includedInvocation,proto3" json:"included_invocation,omitempty"` // Name of the another inclusion that overrides this one. OUTPUT_ONLY. // If set, the invocation by this inclusion no longer influences the final // outcome of the including invocation. A typical example is a retry: the // new attempt overrides the previous one. // // Use recorder.OverrideInclusion to set this field. OverriddenBy string `protobuf:"bytes,3,opt,name=overridden_by,json=overriddenBy,proto3" json:"overridden_by,omitempty"` // Whether the included invocation is finalized before the including // invocation. OUTPUT_ONLY. // The formula for the field is // included_inv.finalize_time < including_inv.finalize_time // If the included invocation is finalized, but the including invocation is // not yet, the edge is ready. If both are not finalized yet, the edge is not // ready *yet*, but its value may change over time, until the including // invocation is finalized. // // In practice, either // - an edge is ready because the including is expected to wait for its // children to conclude its own result, OR // - it does not matter e.g. if the including was canceled and finalized // prematurely. // // By default, QueryTestResults ignores un-ready inclusions. Ready bool `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
One inclusion edge in the invocation DAG.
Invocations are composable: one invocation can include zero or more other invocations, representing a cumulative result. For example, a Buildbucket build invocation can include invocations of all child swarming tasks and represent overall result of the build, encapsulating the internal structure of the build from the client that just needs to load test results scoped to the build.
The graph is directed and acyclic. There can be at most one edge between a given pair of invocations. Including invocation MUST NOT be finalized. Included invocation MAY be finalized.
func (*Inclusion) Descriptor ¶
func (*Inclusion) GetIncludedInvocation ¶
func (*Inclusion) GetOverriddenBy ¶
func (*Inclusion) ProtoMessage ¶
func (*Inclusion) ProtoMessage()
func (*Inclusion) XXX_DiscardUnknown ¶
func (m *Inclusion) XXX_DiscardUnknown()
func (*Inclusion) XXX_Marshal ¶
func (*Inclusion) XXX_Unmarshal ¶
type Invocation ¶
type Invocation struct { // The resource name of this invocation. OUTPUT_ONLY. // Format: invocations/{INVOCATION_ID} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Current state of the invocation. OUTPUT_ONLY. State Invocation_State `protobuf:"varint,2,opt,name=state,proto3,enum=luci.resultdb.Invocation_State" json:"state,omitempty"` // When the invocation was created. OUTPUT_ONLY. 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 []*StringPair `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // When the invocation was finalized, i.e. transitioned to COMPLETED or // INTERRUPTED state. OUTPUT_ONLY. // 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"` // Base variant definition for test results in this invocation. // A particular test result can have additional key-value pairs. BaseTestVariantDef *VariantDef `protobuf:"bytes,7,opt,name=base_test_variant_def,json=baseTestVariantDef,proto3" json:"base_test_variant_def,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 ¶
func (*Invocation) Descriptor() ([]byte, []int)
func (*Invocation) GetBaseTestVariantDef ¶
func (m *Invocation) GetBaseTestVariantDef() *VariantDef
func (*Invocation) GetCreateTime ¶
func (m *Invocation) GetCreateTime() *timestamp.Timestamp
func (*Invocation) GetDeadline ¶
func (m *Invocation) GetDeadline() *timestamp.Timestamp
func (*Invocation) GetFinalizeTime ¶
func (m *Invocation) GetFinalizeTime() *timestamp.Timestamp
func (*Invocation) GetName ¶
func (m *Invocation) GetName() string
func (*Invocation) GetState ¶
func (m *Invocation) GetState() Invocation_State
func (*Invocation) GetTags ¶
func (m *Invocation) GetTags() []*StringPair
func (*Invocation) ProtoMessage ¶
func (*Invocation) ProtoMessage()
func (*Invocation) Reset ¶
func (m *Invocation) Reset()
func (*Invocation) String ¶
func (m *Invocation) String() string
func (*Invocation) XXX_DiscardUnknown ¶
func (m *Invocation) XXX_DiscardUnknown()
func (*Invocation) XXX_Marshal ¶
func (m *Invocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Invocation) XXX_Merge ¶
func (m *Invocation) XXX_Merge(src proto.Message)
func (*Invocation) XXX_Size ¶
func (m *Invocation) XXX_Size() int
func (*Invocation) XXX_Unmarshal ¶
func (m *Invocation) XXX_Unmarshal(b []byte) error
type Invocation_State ¶
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 ¶
func (Invocation_State) EnumDescriptor() ([]byte, []int)
func (Invocation_State) String ¶
func (x Invocation_State) String() string
type ListTestExonerationsRequest ¶
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 ¶
func (*ListTestExonerationsRequest) Descriptor() ([]byte, []int)
func (*ListTestExonerationsRequest) GetInvocation ¶
func (m *ListTestExonerationsRequest) GetInvocation() string
func (*ListTestExonerationsRequest) GetPageSize ¶
func (m *ListTestExonerationsRequest) GetPageSize() int32
func (*ListTestExonerationsRequest) GetPageToken ¶
func (m *ListTestExonerationsRequest) GetPageToken() string
func (*ListTestExonerationsRequest) ProtoMessage ¶
func (*ListTestExonerationsRequest) ProtoMessage()
func (*ListTestExonerationsRequest) Reset ¶
func (m *ListTestExonerationsRequest) Reset()
func (*ListTestExonerationsRequest) String ¶
func (m *ListTestExonerationsRequest) String() string
func (*ListTestExonerationsRequest) XXX_DiscardUnknown ¶
func (m *ListTestExonerationsRequest) XXX_DiscardUnknown()
func (*ListTestExonerationsRequest) XXX_Marshal ¶
func (m *ListTestExonerationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTestExonerationsRequest) XXX_Merge ¶
func (m *ListTestExonerationsRequest) XXX_Merge(src proto.Message)
func (*ListTestExonerationsRequest) XXX_Size ¶
func (m *ListTestExonerationsRequest) XXX_Size() int
func (*ListTestExonerationsRequest) XXX_Unmarshal ¶
func (m *ListTestExonerationsRequest) XXX_Unmarshal(b []byte) error
type ListTestExonerationsResponse ¶
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 ¶
func (*ListTestExonerationsResponse) Descriptor() ([]byte, []int)
func (*ListTestExonerationsResponse) GetNextPageToken ¶
func (m *ListTestExonerationsResponse) GetNextPageToken() string
func (*ListTestExonerationsResponse) GetTestExonerations ¶
func (m *ListTestExonerationsResponse) GetTestExonerations() []*TestExoneration
func (*ListTestExonerationsResponse) ProtoMessage ¶
func (*ListTestExonerationsResponse) ProtoMessage()
func (*ListTestExonerationsResponse) Reset ¶
func (m *ListTestExonerationsResponse) Reset()
func (*ListTestExonerationsResponse) String ¶
func (m *ListTestExonerationsResponse) String() string
func (*ListTestExonerationsResponse) XXX_DiscardUnknown ¶
func (m *ListTestExonerationsResponse) XXX_DiscardUnknown()
func (*ListTestExonerationsResponse) XXX_Marshal ¶
func (m *ListTestExonerationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTestExonerationsResponse) XXX_Merge ¶
func (m *ListTestExonerationsResponse) XXX_Merge(src proto.Message)
func (*ListTestExonerationsResponse) XXX_Size ¶
func (m *ListTestExonerationsResponse) XXX_Size() int
func (*ListTestExonerationsResponse) XXX_Unmarshal ¶
func (m *ListTestExonerationsResponse) XXX_Unmarshal(b []byte) error
type ListTestResultsRequest ¶
type ListTestResultsRequest struct { // Name of the invocation, e.g. "invocations/{id}". Invocation string `protobuf:"bytes,1,opt,name=invocation,proto3" json:"invocation,omitempty"` // The maximum number of test results to return. // // The service may return fewer than this value. // If unspecified, at most 100 test results will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListTestResults` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListTestResults` MUST // match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for ListTestResults RPC.
func (*ListTestResultsRequest) Descriptor ¶
func (*ListTestResultsRequest) Descriptor() ([]byte, []int)
func (*ListTestResultsRequest) GetInvocation ¶
func (m *ListTestResultsRequest) GetInvocation() string
func (*ListTestResultsRequest) GetPageSize ¶
func (m *ListTestResultsRequest) GetPageSize() int32
func (*ListTestResultsRequest) GetPageToken ¶
func (m *ListTestResultsRequest) GetPageToken() string
func (*ListTestResultsRequest) ProtoMessage ¶
func (*ListTestResultsRequest) ProtoMessage()
func (*ListTestResultsRequest) Reset ¶
func (m *ListTestResultsRequest) Reset()
func (*ListTestResultsRequest) String ¶
func (m *ListTestResultsRequest) String() string
func (*ListTestResultsRequest) XXX_DiscardUnknown ¶
func (m *ListTestResultsRequest) XXX_DiscardUnknown()
func (*ListTestResultsRequest) XXX_Marshal ¶
func (m *ListTestResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTestResultsRequest) XXX_Merge ¶
func (m *ListTestResultsRequest) XXX_Merge(src proto.Message)
func (*ListTestResultsRequest) XXX_Size ¶
func (m *ListTestResultsRequest) XXX_Size() int
func (*ListTestResultsRequest) XXX_Unmarshal ¶
func (m *ListTestResultsRequest) XXX_Unmarshal(b []byte) error
type ListTestResultsResponse ¶
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 ¶
func (*ListTestResultsResponse) Descriptor() ([]byte, []int)
func (*ListTestResultsResponse) GetNextPageToken ¶
func (m *ListTestResultsResponse) GetNextPageToken() string
func (*ListTestResultsResponse) GetTestResults ¶
func (m *ListTestResultsResponse) GetTestResults() []*TestResult
func (*ListTestResultsResponse) ProtoMessage ¶
func (*ListTestResultsResponse) ProtoMessage()
func (*ListTestResultsResponse) Reset ¶
func (m *ListTestResultsResponse) Reset()
func (*ListTestResultsResponse) String ¶
func (m *ListTestResultsResponse) String() string
func (*ListTestResultsResponse) XXX_DiscardUnknown ¶
func (m *ListTestResultsResponse) XXX_DiscardUnknown()
func (*ListTestResultsResponse) XXX_Marshal ¶
func (m *ListTestResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTestResultsResponse) XXX_Merge ¶
func (m *ListTestResultsResponse) XXX_Merge(src proto.Message)
func (*ListTestResultsResponse) XXX_Size ¶
func (m *ListTestResultsResponse) XXX_Size() int
func (*ListTestResultsResponse) XXX_Unmarshal ¶
func (m *ListTestResultsResponse) XXX_Unmarshal(b []byte) error
type MockRecorderClient ¶
type MockRecorderClient struct {
// contains filtered or unexported fields
}
MockRecorderClient is a mock of RecorderClient interface
func NewMockRecorderClient ¶
func NewMockRecorderClient(ctrl *gomock.Controller) *MockRecorderClient
NewMockRecorderClient creates a new mock instance
func (*MockRecorderClient) BatchCreateTestExonerations ¶
func (m *MockRecorderClient) BatchCreateTestExonerations(ctx context.Context, in *BatchCreateTestExonerationsRequest, opts ...grpc.CallOption) (*BatchCreateTestExonerationsResponse, error)
BatchCreateTestExonerations mocks base method
func (*MockRecorderClient) BatchCreateTestResults ¶
func (m *MockRecorderClient) BatchCreateTestResults(ctx context.Context, in *BatchCreateTestResultsRequest, opts ...grpc.CallOption) (*BatchCreateTestResultsResponse, error)
BatchCreateTestResults mocks base method
func (*MockRecorderClient) CreateInclusion ¶
func (m *MockRecorderClient) CreateInclusion(ctx context.Context, in *CreateInclusionRequest, opts ...grpc.CallOption) (*Inclusion, error)
CreateInclusion mocks base method
func (*MockRecorderClient) CreateInvocation ¶
func (m *MockRecorderClient) CreateInvocation(ctx context.Context, in *CreateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
CreateInvocation mocks base method
func (*MockRecorderClient) CreateTestExoneration ¶
func (m *MockRecorderClient) CreateTestExoneration(ctx context.Context, in *CreateTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)
CreateTestExoneration mocks base method
func (*MockRecorderClient) CreateTestResult ¶
func (m *MockRecorderClient) CreateTestResult(ctx context.Context, in *CreateTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
CreateTestResult mocks base method
func (*MockRecorderClient) DeriveInvocation ¶
func (m *MockRecorderClient) DeriveInvocation(ctx context.Context, in *DeriveInvocationRequest, opts ...grpc.CallOption) (*DeriveInvocationResponse, error)
DeriveInvocation mocks base method
func (*MockRecorderClient) EXPECT ¶
func (m *MockRecorderClient) EXPECT() *MockRecorderClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRecorderClient) FinalizeInvocation ¶
func (m *MockRecorderClient) FinalizeInvocation(ctx context.Context, in *FinalizeInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
FinalizeInvocation mocks base method
func (*MockRecorderClient) OverrideInclusion ¶
func (m *MockRecorderClient) OverrideInclusion(ctx context.Context, in *OverrideInclusionRequest, opts ...grpc.CallOption) (*OverrideInclusionResponse, error)
OverrideInclusion mocks base method
func (*MockRecorderClient) UpdateInvocation ¶
func (m *MockRecorderClient) UpdateInvocation(ctx context.Context, in *UpdateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
UpdateInvocation mocks base method
type MockRecorderClientMockRecorder ¶
type MockRecorderClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRecorderClientMockRecorder is the mock recorder for MockRecorderClient
func (*MockRecorderClientMockRecorder) BatchCreateTestExonerations ¶
func (mr *MockRecorderClientMockRecorder) BatchCreateTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call
BatchCreateTestExonerations indicates an expected call of BatchCreateTestExonerations
func (*MockRecorderClientMockRecorder) BatchCreateTestResults ¶
func (mr *MockRecorderClientMockRecorder) BatchCreateTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
BatchCreateTestResults indicates an expected call of BatchCreateTestResults
func (*MockRecorderClientMockRecorder) CreateInclusion ¶
func (mr *MockRecorderClientMockRecorder) CreateInclusion(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateInclusion indicates an expected call of CreateInclusion
func (*MockRecorderClientMockRecorder) CreateInvocation ¶
func (mr *MockRecorderClientMockRecorder) CreateInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateInvocation indicates an expected call of CreateInvocation
func (*MockRecorderClientMockRecorder) CreateTestExoneration ¶
func (mr *MockRecorderClientMockRecorder) CreateTestExoneration(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateTestExoneration indicates an expected call of CreateTestExoneration
func (*MockRecorderClientMockRecorder) CreateTestResult ¶
func (mr *MockRecorderClientMockRecorder) CreateTestResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateTestResult indicates an expected call of CreateTestResult
func (*MockRecorderClientMockRecorder) DeriveInvocation ¶
func (mr *MockRecorderClientMockRecorder) DeriveInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeriveInvocation indicates an expected call of DeriveInvocation
func (*MockRecorderClientMockRecorder) FinalizeInvocation ¶
func (mr *MockRecorderClientMockRecorder) FinalizeInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
FinalizeInvocation indicates an expected call of FinalizeInvocation
func (*MockRecorderClientMockRecorder) OverrideInclusion ¶
func (mr *MockRecorderClientMockRecorder) OverrideInclusion(ctx, in interface{}, opts ...interface{}) *gomock.Call
OverrideInclusion indicates an expected call of OverrideInclusion
func (*MockRecorderClientMockRecorder) UpdateInvocation ¶
func (mr *MockRecorderClientMockRecorder) UpdateInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateInvocation indicates an expected call of UpdateInvocation
type MockRecorderServer ¶
type MockRecorderServer struct {
// contains filtered or unexported fields
}
MockRecorderServer is a mock of RecorderServer interface
func NewMockRecorderServer ¶
func NewMockRecorderServer(ctrl *gomock.Controller) *MockRecorderServer
NewMockRecorderServer creates a new mock instance
func (*MockRecorderServer) BatchCreateTestExonerations ¶
func (m *MockRecorderServer) BatchCreateTestExonerations(arg0 context.Context, arg1 *BatchCreateTestExonerationsRequest) (*BatchCreateTestExonerationsResponse, error)
BatchCreateTestExonerations mocks base method
func (*MockRecorderServer) BatchCreateTestResults ¶
func (m *MockRecorderServer) BatchCreateTestResults(arg0 context.Context, arg1 *BatchCreateTestResultsRequest) (*BatchCreateTestResultsResponse, error)
BatchCreateTestResults mocks base method
func (*MockRecorderServer) CreateInclusion ¶
func (m *MockRecorderServer) CreateInclusion(arg0 context.Context, arg1 *CreateInclusionRequest) (*Inclusion, error)
CreateInclusion mocks base method
func (*MockRecorderServer) CreateInvocation ¶
func (m *MockRecorderServer) CreateInvocation(arg0 context.Context, arg1 *CreateInvocationRequest) (*Invocation, error)
CreateInvocation mocks base method
func (*MockRecorderServer) CreateTestExoneration ¶
func (m *MockRecorderServer) CreateTestExoneration(arg0 context.Context, arg1 *CreateTestExonerationRequest) (*TestExoneration, error)
CreateTestExoneration mocks base method
func (*MockRecorderServer) CreateTestResult ¶
func (m *MockRecorderServer) CreateTestResult(arg0 context.Context, arg1 *CreateTestResultRequest) (*TestResult, error)
CreateTestResult mocks base method
func (*MockRecorderServer) DeriveInvocation ¶
func (m *MockRecorderServer) DeriveInvocation(arg0 context.Context, arg1 *DeriveInvocationRequest) (*DeriveInvocationResponse, error)
DeriveInvocation mocks base method
func (*MockRecorderServer) EXPECT ¶
func (m *MockRecorderServer) EXPECT() *MockRecorderServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRecorderServer) FinalizeInvocation ¶
func (m *MockRecorderServer) FinalizeInvocation(arg0 context.Context, arg1 *FinalizeInvocationRequest) (*Invocation, error)
FinalizeInvocation mocks base method
func (*MockRecorderServer) OverrideInclusion ¶
func (m *MockRecorderServer) OverrideInclusion(arg0 context.Context, arg1 *OverrideInclusionRequest) (*OverrideInclusionResponse, error)
OverrideInclusion mocks base method
func (*MockRecorderServer) UpdateInvocation ¶
func (m *MockRecorderServer) UpdateInvocation(arg0 context.Context, arg1 *UpdateInvocationRequest) (*Invocation, error)
UpdateInvocation mocks base method
type MockRecorderServerMockRecorder ¶
type MockRecorderServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRecorderServerMockRecorder is the mock recorder for MockRecorderServer
func (*MockRecorderServerMockRecorder) BatchCreateTestExonerations ¶
func (mr *MockRecorderServerMockRecorder) BatchCreateTestExonerations(arg0, arg1 interface{}) *gomock.Call
BatchCreateTestExonerations indicates an expected call of BatchCreateTestExonerations
func (*MockRecorderServerMockRecorder) BatchCreateTestResults ¶
func (mr *MockRecorderServerMockRecorder) BatchCreateTestResults(arg0, arg1 interface{}) *gomock.Call
BatchCreateTestResults indicates an expected call of BatchCreateTestResults
func (*MockRecorderServerMockRecorder) CreateInclusion ¶
func (mr *MockRecorderServerMockRecorder) CreateInclusion(arg0, arg1 interface{}) *gomock.Call
CreateInclusion indicates an expected call of CreateInclusion
func (*MockRecorderServerMockRecorder) CreateInvocation ¶
func (mr *MockRecorderServerMockRecorder) CreateInvocation(arg0, arg1 interface{}) *gomock.Call
CreateInvocation indicates an expected call of CreateInvocation
func (*MockRecorderServerMockRecorder) CreateTestExoneration ¶
func (mr *MockRecorderServerMockRecorder) CreateTestExoneration(arg0, arg1 interface{}) *gomock.Call
CreateTestExoneration indicates an expected call of CreateTestExoneration
func (*MockRecorderServerMockRecorder) CreateTestResult ¶
func (mr *MockRecorderServerMockRecorder) CreateTestResult(arg0, arg1 interface{}) *gomock.Call
CreateTestResult indicates an expected call of CreateTestResult
func (*MockRecorderServerMockRecorder) DeriveInvocation ¶
func (mr *MockRecorderServerMockRecorder) DeriveInvocation(arg0, arg1 interface{}) *gomock.Call
DeriveInvocation indicates an expected call of DeriveInvocation
func (*MockRecorderServerMockRecorder) FinalizeInvocation ¶
func (mr *MockRecorderServerMockRecorder) FinalizeInvocation(arg0, arg1 interface{}) *gomock.Call
FinalizeInvocation indicates an expected call of FinalizeInvocation
func (*MockRecorderServerMockRecorder) OverrideInclusion ¶
func (mr *MockRecorderServerMockRecorder) OverrideInclusion(arg0, arg1 interface{}) *gomock.Call
OverrideInclusion indicates an expected call of OverrideInclusion
func (*MockRecorderServerMockRecorder) UpdateInvocation ¶
func (mr *MockRecorderServerMockRecorder) UpdateInvocation(arg0, arg1 interface{}) *gomock.Call
UpdateInvocation indicates an expected call of UpdateInvocation
type MockResultDBClient ¶
type MockResultDBClient struct {
// contains filtered or unexported fields
}
MockResultDBClient is a mock of ResultDBClient interface
func NewMockResultDBClient ¶
func NewMockResultDBClient(ctrl *gomock.Controller) *MockResultDBClient
NewMockResultDBClient creates a new mock instance
func (*MockResultDBClient) EXPECT ¶
func (m *MockResultDBClient) EXPECT() *MockResultDBClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResultDBClient) GetInvocation ¶
func (m *MockResultDBClient) GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
GetInvocation mocks base method
func (*MockResultDBClient) GetTestExoneration ¶
func (m *MockResultDBClient) GetTestExoneration(ctx context.Context, in *GetTestExonerationRequest, opts ...grpc.CallOption) (*TestExoneration, error)
GetTestExoneration mocks base method
func (*MockResultDBClient) GetTestResult ¶
func (m *MockResultDBClient) GetTestResult(ctx context.Context, in *GetTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
GetTestResult mocks base method
func (*MockResultDBClient) ListTestExonerations ¶
func (m *MockResultDBClient) ListTestExonerations(ctx context.Context, in *ListTestExonerationsRequest, opts ...grpc.CallOption) (*ListTestExonerationsResponse, error)
ListTestExonerations mocks base method
func (*MockResultDBClient) ListTestResults ¶
func (m *MockResultDBClient) ListTestResults(ctx context.Context, in *ListTestResultsRequest, opts ...grpc.CallOption) (*ListTestResultsResponse, error)
ListTestResults mocks base method
func (*MockResultDBClient) QueryTestResults ¶
func (m *MockResultDBClient) QueryTestResults(ctx context.Context, in *QueryTestResultsRequest, opts ...grpc.CallOption) (*QueryTestResultsResponse, error)
QueryTestResults mocks base method
type MockResultDBClientMockRecorder ¶
type MockResultDBClientMockRecorder struct {
// contains filtered or unexported fields
}
MockResultDBClientMockRecorder is the mock recorder for MockResultDBClient
func (*MockResultDBClientMockRecorder) GetInvocation ¶
func (mr *MockResultDBClientMockRecorder) GetInvocation(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetInvocation indicates an expected call of GetInvocation
func (*MockResultDBClientMockRecorder) GetTestExoneration ¶
func (mr *MockResultDBClientMockRecorder) GetTestExoneration(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetTestExoneration indicates an expected call of GetTestExoneration
func (*MockResultDBClientMockRecorder) GetTestResult ¶
func (mr *MockResultDBClientMockRecorder) GetTestResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetTestResult indicates an expected call of GetTestResult
func (*MockResultDBClientMockRecorder) ListTestExonerations ¶
func (mr *MockResultDBClientMockRecorder) ListTestExonerations(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListTestExonerations indicates an expected call of ListTestExonerations
func (*MockResultDBClientMockRecorder) ListTestResults ¶
func (mr *MockResultDBClientMockRecorder) ListTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListTestResults indicates an expected call of ListTestResults
func (*MockResultDBClientMockRecorder) QueryTestResults ¶
func (mr *MockResultDBClientMockRecorder) QueryTestResults(ctx, in interface{}, opts ...interface{}) *gomock.Call
QueryTestResults indicates an expected call of QueryTestResults
type MockResultDBServer ¶
type MockResultDBServer struct {
// contains filtered or unexported fields
}
MockResultDBServer is a mock of ResultDBServer interface
func NewMockResultDBServer ¶
func NewMockResultDBServer(ctrl *gomock.Controller) *MockResultDBServer
NewMockResultDBServer creates a new mock instance
func (*MockResultDBServer) EXPECT ¶
func (m *MockResultDBServer) EXPECT() *MockResultDBServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResultDBServer) GetInvocation ¶
func (m *MockResultDBServer) GetInvocation(arg0 context.Context, arg1 *GetInvocationRequest) (*Invocation, error)
GetInvocation mocks base method
func (*MockResultDBServer) GetTestExoneration ¶
func (m *MockResultDBServer) GetTestExoneration(arg0 context.Context, arg1 *GetTestExonerationRequest) (*TestExoneration, error)
GetTestExoneration mocks base method
func (*MockResultDBServer) GetTestResult ¶
func (m *MockResultDBServer) GetTestResult(arg0 context.Context, arg1 *GetTestResultRequest) (*TestResult, error)
GetTestResult mocks base method
func (*MockResultDBServer) ListTestExonerations ¶
func (m *MockResultDBServer) ListTestExonerations(arg0 context.Context, arg1 *ListTestExonerationsRequest) (*ListTestExonerationsResponse, error)
ListTestExonerations mocks base method
func (*MockResultDBServer) ListTestResults ¶
func (m *MockResultDBServer) ListTestResults(arg0 context.Context, arg1 *ListTestResultsRequest) (*ListTestResultsResponse, error)
ListTestResults mocks base method
func (*MockResultDBServer) QueryTestResults ¶
func (m *MockResultDBServer) QueryTestResults(arg0 context.Context, arg1 *QueryTestResultsRequest) (*QueryTestResultsResponse, error)
QueryTestResults mocks base method
type MockResultDBServerMockRecorder ¶
type MockResultDBServerMockRecorder struct {
// contains filtered or unexported fields
}
MockResultDBServerMockRecorder is the mock recorder for MockResultDBServer
func (*MockResultDBServerMockRecorder) GetInvocation ¶
func (mr *MockResultDBServerMockRecorder) GetInvocation(arg0, arg1 interface{}) *gomock.Call
GetInvocation indicates an expected call of GetInvocation
func (*MockResultDBServerMockRecorder) GetTestExoneration ¶
func (mr *MockResultDBServerMockRecorder) GetTestExoneration(arg0, arg1 interface{}) *gomock.Call
GetTestExoneration indicates an expected call of GetTestExoneration
func (*MockResultDBServerMockRecorder) GetTestResult ¶
func (mr *MockResultDBServerMockRecorder) GetTestResult(arg0, arg1 interface{}) *gomock.Call
GetTestResult indicates an expected call of GetTestResult
func (*MockResultDBServerMockRecorder) ListTestExonerations ¶
func (mr *MockResultDBServerMockRecorder) ListTestExonerations(arg0, arg1 interface{}) *gomock.Call
ListTestExonerations indicates an expected call of ListTestExonerations
func (*MockResultDBServerMockRecorder) ListTestResults ¶
func (mr *MockResultDBServerMockRecorder) ListTestResults(arg0, arg1 interface{}) *gomock.Call
ListTestResults indicates an expected call of ListTestResults
func (*MockResultDBServerMockRecorder) QueryTestResults ¶
func (mr *MockResultDBServerMockRecorder) QueryTestResults(arg0, arg1 interface{}) *gomock.Call
QueryTestResults indicates an expected call of QueryTestResults
type OverrideInclusionRequest ¶
type OverrideInclusionRequest struct { // Name of the including invocation, see Invocation.name. // For example, name of the buildbucket build invocation that includes // swarming task invocations. IncludingInvocation string `protobuf:"bytes,1,opt,name=including_invocation,json=includingInvocation,proto3" json:"including_invocation,omitempty"` // Name of the previously included invocation. // For example, invocation of a died swarming task that we intend to retry // and replace with another swarming task. // This inclusion MUST exist. OverriddenIncludedInvocation string `` /* 147-byte string literal not displayed */ // Name of the new included invocation that overrides the previously included // invocation. // For example, invocation for the new swarming task which represents a retry // of a died task. // // If this invocation was not included before, an Inclusion is created. OverridingIncludedInvocation string `` /* 147-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for OverrideInclusion RPC.
func (*OverrideInclusionRequest) Descriptor ¶
func (*OverrideInclusionRequest) Descriptor() ([]byte, []int)
func (*OverrideInclusionRequest) GetIncludingInvocation ¶
func (m *OverrideInclusionRequest) GetIncludingInvocation() string
func (*OverrideInclusionRequest) GetOverriddenIncludedInvocation ¶
func (m *OverrideInclusionRequest) GetOverriddenIncludedInvocation() string
func (*OverrideInclusionRequest) GetOverridingIncludedInvocation ¶
func (m *OverrideInclusionRequest) GetOverridingIncludedInvocation() string
func (*OverrideInclusionRequest) ProtoMessage ¶
func (*OverrideInclusionRequest) ProtoMessage()
func (*OverrideInclusionRequest) Reset ¶
func (m *OverrideInclusionRequest) Reset()
func (*OverrideInclusionRequest) String ¶
func (m *OverrideInclusionRequest) String() string
func (*OverrideInclusionRequest) XXX_DiscardUnknown ¶
func (m *OverrideInclusionRequest) XXX_DiscardUnknown()
func (*OverrideInclusionRequest) XXX_Marshal ¶
func (m *OverrideInclusionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OverrideInclusionRequest) XXX_Merge ¶
func (m *OverrideInclusionRequest) XXX_Merge(src proto.Message)
func (*OverrideInclusionRequest) XXX_Size ¶
func (m *OverrideInclusionRequest) XXX_Size() int
func (*OverrideInclusionRequest) XXX_Unmarshal ¶
func (m *OverrideInclusionRequest) XXX_Unmarshal(b []byte) error
type OverrideInclusionResponse ¶
type OverrideInclusionResponse struct { // The overridden inclusion. // For example, the inclusion of a died swarming task. OverriddenInclusion *Inclusion `protobuf:"bytes,1,opt,name=overridden_inclusion,json=overriddenInclusion,proto3" json:"overridden_inclusion,omitempty"` // The inclusion that has overridden the other inclusion. // For example, the inclusion of the swarming task retry. OverridingInclusion *Inclusion `protobuf:"bytes,2,opt,name=overriding_inclusion,json=overridingInclusion,proto3" json:"overriding_inclusion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response message for OverrideInclusion RPC.
func (*OverrideInclusionResponse) Descriptor ¶
func (*OverrideInclusionResponse) Descriptor() ([]byte, []int)
func (*OverrideInclusionResponse) GetOverriddenInclusion ¶
func (m *OverrideInclusionResponse) GetOverriddenInclusion() *Inclusion
func (*OverrideInclusionResponse) GetOverridingInclusion ¶
func (m *OverrideInclusionResponse) GetOverridingInclusion() *Inclusion
func (*OverrideInclusionResponse) ProtoMessage ¶
func (*OverrideInclusionResponse) ProtoMessage()
func (*OverrideInclusionResponse) Reset ¶
func (m *OverrideInclusionResponse) Reset()
func (*OverrideInclusionResponse) String ¶
func (m *OverrideInclusionResponse) String() string
func (*OverrideInclusionResponse) XXX_DiscardUnknown ¶
func (m *OverrideInclusionResponse) XXX_DiscardUnknown()
func (*OverrideInclusionResponse) XXX_Marshal ¶
func (m *OverrideInclusionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OverrideInclusionResponse) XXX_Merge ¶
func (m *OverrideInclusionResponse) XXX_Merge(src proto.Message)
func (*OverrideInclusionResponse) XXX_Size ¶
func (m *OverrideInclusionResponse) XXX_Size() int
func (*OverrideInclusionResponse) XXX_Unmarshal ¶
func (m *OverrideInclusionResponse) XXX_Unmarshal(b []byte) error
type QueryTestResultsRequest ¶
type QueryTestResultsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request message for QueryTestResults RPC.
func (*QueryTestResultsRequest) Descriptor ¶
func (*QueryTestResultsRequest) Descriptor() ([]byte, []int)
func (*QueryTestResultsRequest) ProtoMessage ¶
func (*QueryTestResultsRequest) ProtoMessage()
func (*QueryTestResultsRequest) Reset ¶
func (m *QueryTestResultsRequest) Reset()
func (*QueryTestResultsRequest) String ¶
func (m *QueryTestResultsRequest) String() string
func (*QueryTestResultsRequest) XXX_DiscardUnknown ¶
func (m *QueryTestResultsRequest) XXX_DiscardUnknown()
func (*QueryTestResultsRequest) XXX_Marshal ¶
func (m *QueryTestResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTestResultsRequest) XXX_Merge ¶
func (m *QueryTestResultsRequest) XXX_Merge(src proto.Message)
func (*QueryTestResultsRequest) XXX_Size ¶
func (m *QueryTestResultsRequest) XXX_Size() int
func (*QueryTestResultsRequest) XXX_Unmarshal ¶
func (m *QueryTestResultsRequest) XXX_Unmarshal(b []byte) error
type QueryTestResultsResponse ¶
type QueryTestResultsResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response message for QueryTestResults RPC.
func (*QueryTestResultsResponse) Descriptor ¶
func (*QueryTestResultsResponse) Descriptor() ([]byte, []int)
func (*QueryTestResultsResponse) ProtoMessage ¶
func (*QueryTestResultsResponse) ProtoMessage()
func (*QueryTestResultsResponse) Reset ¶
func (m *QueryTestResultsResponse) Reset()
func (*QueryTestResultsResponse) String ¶
func (m *QueryTestResultsResponse) String() string
func (*QueryTestResultsResponse) XXX_DiscardUnknown ¶
func (m *QueryTestResultsResponse) XXX_DiscardUnknown()
func (*QueryTestResultsResponse) XXX_Marshal ¶
func (m *QueryTestResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTestResultsResponse) XXX_Merge ¶
func (m *QueryTestResultsResponse) XXX_Merge(src proto.Message)
func (*QueryTestResultsResponse) XXX_Size ¶
func (m *QueryTestResultsResponse) XXX_Size() int
func (*QueryTestResultsResponse) XXX_Unmarshal ¶
func (m *QueryTestResultsResponse) XXX_Unmarshal(b []byte) error
type RecorderClient ¶
type RecorderClient interface { // Creates a new invocation. // The request specifies the invocation id and its contents. // // The invocation can be created as finalized. Then it is immutable from the // start. // // The response includes Invocation.update_token for future updates. // // 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. // If the invocation is already final on the server, FAILED_PRECONDITION is // returned. 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. CreateInclusion(ctx context.Context, in *CreateInclusionRequest, opts ...grpc.CallOption) (*Inclusion, error) // Sets Inclusion.override_by and ensures a new Inclusion exists. OverrideInclusion(ctx context.Context, in *OverrideInclusionRequest, opts ...grpc.CallOption) (*OverrideInclusionResponse, 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 swarming task. // // 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) (*DeriveInvocationResponse, 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 ¶
func NewRecorderClient(cc *grpc.ClientConn) RecorderClient
func NewRecorderPRPCClient ¶
func NewRecorderPRPCClient(client *prpc.Client) RecorderClient
type RecorderServer ¶
type RecorderServer interface { // Creates a new invocation. // The request specifies the invocation id and its contents. // // The invocation can be created as finalized. Then it is immutable from the // start. // // The response includes Invocation.update_token for future updates. // // 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. // If the invocation is already final on the server, FAILED_PRECONDITION is // returned. 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. CreateInclusion(context.Context, *CreateInclusionRequest) (*Inclusion, error) // Sets Inclusion.override_by and ensures a new Inclusion exists. OverrideInclusion(context.Context, *OverrideInclusionRequest) (*OverrideInclusionResponse, 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 swarming task. // // 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) (*DeriveInvocationResponse, error) }
RecorderServer is the server API for Recorder service.
type ResultDBClient ¶
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. ListTestExonerations(ctx context.Context, in *ListTestExonerationsRequest, opts ...grpc.CallOption) (*ListTestExonerationsResponse, error) // Retrieves test results from an invocation. // Supports invocation inclusions. // Supports filtering based on "TestResult.expected", exonerations, test // path and variant. QueryTestResults(ctx context.Context, in *QueryTestResultsRequest, opts ...grpc.CallOption) (*QueryTestResultsResponse, 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 ¶
func NewResultDBClient(cc *grpc.ClientConn) ResultDBClient
func NewResultDBPRPCClient ¶
func NewResultDBPRPCClient(client *prpc.Client) ResultDBClient
type ResultDBServer ¶
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. ListTestExonerations(context.Context, *ListTestExonerationsRequest) (*ListTestExonerationsResponse, error) // Retrieves test results from an invocation. // Supports invocation inclusions. // Supports filtering based on "TestResult.expected", exonerations, test // path and variant. QueryTestResults(context.Context, *QueryTestResultsRequest) (*QueryTestResultsResponse, error) }
ResultDBServer is the server API for ResultDB service.
type StringPair ¶
type StringPair struct { // Regex: ^[a-z][a-z0-9_]*(/[a-z][a-z0-9_]*)*$ // Max length: 64 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Regex: ^[a-z][a-z0-9_]*$ // Max length: 64 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A string key-value pair. Typically used for tagging, see Invocation.tags
func (*StringPair) Descriptor ¶
func (*StringPair) Descriptor() ([]byte, []int)
func (*StringPair) GetKey ¶
func (m *StringPair) GetKey() string
func (*StringPair) GetValue ¶
func (m *StringPair) GetValue() string
func (*StringPair) ProtoMessage ¶
func (*StringPair) ProtoMessage()
func (*StringPair) Reset ¶
func (m *StringPair) Reset()
func (*StringPair) String ¶
func (m *StringPair) String() string
func (*StringPair) XXX_DiscardUnknown ¶
func (m *StringPair) XXX_DiscardUnknown()
func (*StringPair) XXX_Marshal ¶
func (m *StringPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringPair) XXX_Merge ¶
func (m *StringPair) XXX_Merge(src proto.Message)
func (*StringPair) XXX_Size ¶
func (m *StringPair) XXX_Size() int
func (*StringPair) XXX_Unmarshal ¶
func (m *StringPair) XXX_Unmarshal(b []byte) error
type TestExoneration ¶
type TestExoneration struct { // The resource name of the exoneration. OUTPUT_ONLY. // Format: invocations/{INVOCATION_ID}/testExonerations/{EXONERATION_ID}. // EXONERATION_ID is server-generated. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Failure of this test variant is forgiven. TestVariant *TestVariant `protobuf:"bytes,2,opt,name=test_variant,json=testVariant,proto3" json:"test_variant,omitempty"` // Reasoning behind the exoneration, in markdown. // Markdown spec: https://spec.commonmark.org/0.29/ ExplanationMarkdown string `protobuf:"bytes,3,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 ¶
func (*TestExoneration) Descriptor() ([]byte, []int)
func (*TestExoneration) GetExplanationMarkdown ¶
func (m *TestExoneration) GetExplanationMarkdown() string
func (*TestExoneration) GetName ¶
func (m *TestExoneration) GetName() string
func (*TestExoneration) GetTestVariant ¶
func (m *TestExoneration) GetTestVariant() *TestVariant
func (*TestExoneration) ProtoMessage ¶
func (*TestExoneration) ProtoMessage()
func (*TestExoneration) Reset ¶
func (m *TestExoneration) Reset()
func (*TestExoneration) String ¶
func (m *TestExoneration) String() string
func (*TestExoneration) XXX_DiscardUnknown ¶
func (m *TestExoneration) XXX_DiscardUnknown()
func (*TestExoneration) XXX_Marshal ¶
func (m *TestExoneration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestExoneration) XXX_Merge ¶
func (m *TestExoneration) XXX_Merge(src proto.Message)
func (*TestExoneration) XXX_Size ¶
func (m *TestExoneration) XXX_Size() int
func (*TestExoneration) XXX_Unmarshal ¶
func (m *TestExoneration) XXX_Unmarshal(b []byte) error
type TestResult ¶
type TestResult struct { // Resource name. OUTPUT_ONLY. // Format: "invocations/{INVOCATION_ID}/testResults/{RESULT_ID}". // // Impl detail: {RESULT_ID} encodes a tuple (test_path, spanner_level_result_id) // TODO(jchinlee): remove this note when this comment is turned into // implementation. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Test path, a unique identifier of the test in a LUCI project. // // 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"` // Added to Invocation.base_test_variant_def of the parent invocation. // The complete variant definition of this test result is the result of // addition. // // MUST NOT have keys present in Invocation.test_variant_def, or MUST // have the same value. ExtraVariantPairs *VariantDef `protobuf:"bytes,3,opt,name=extra_variant_pairs,json=extraVariantPairs,proto3" json:"extra_variant_pairs,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,4,opt,name=expected,proto3" json:"expected,omitempty"` // Machine-readable status of the test case. // MUST NOT be STATUS_UNSPECIFIED. Status TestStatus `protobuf:"varint,5,opt,name=status,proto3,enum=luci.resultdb.TestStatus" json:"status,omitempty"` // Human-readable explanation of the result. // Markdown spec: https://spec.commonmark.org/0.29/ SummaryMarkdown string `protobuf:"bytes,6,opt,name=summary_markdown,json=summaryMarkdown,proto3" json:"summary_markdown,omitempty"` // The point in time when the test case started to execute. // Optional: not all test harnesses record it. StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Duration of the test case execution. Duration *duration.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty"` // Metadata for this test result. // It might describe this particular execution or the test case. Tags []*StringPair `protobuf:"bytes,9,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,10,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,11,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 ¶
func (*TestResult) Descriptor() ([]byte, []int)
func (*TestResult) GetDuration ¶
func (m *TestResult) GetDuration() *duration.Duration
func (*TestResult) GetExpected ¶
func (m *TestResult) GetExpected() bool
func (*TestResult) GetExtraVariantPairs ¶
func (m *TestResult) GetExtraVariantPairs() *VariantDef
func (*TestResult) GetInputArtifacts ¶
func (m *TestResult) GetInputArtifacts() []*Artifact
func (*TestResult) GetName ¶
func (m *TestResult) GetName() string
func (*TestResult) GetOutputArtifacts ¶
func (m *TestResult) GetOutputArtifacts() []*Artifact
func (*TestResult) GetStartTime ¶
func (m *TestResult) GetStartTime() *timestamp.Timestamp
func (*TestResult) GetStatus ¶
func (m *TestResult) GetStatus() TestStatus
func (*TestResult) GetSummaryMarkdown ¶
func (m *TestResult) GetSummaryMarkdown() string
func (*TestResult) GetTags ¶
func (m *TestResult) GetTags() []*StringPair
func (*TestResult) GetTestPath ¶
func (m *TestResult) GetTestPath() string
func (*TestResult) ProtoMessage ¶
func (*TestResult) ProtoMessage()
func (*TestResult) Reset ¶
func (m *TestResult) Reset()
func (*TestResult) String ¶
func (m *TestResult) String() string
func (*TestResult) XXX_DiscardUnknown ¶
func (m *TestResult) XXX_DiscardUnknown()
func (*TestResult) XXX_Marshal ¶
func (m *TestResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestResult) XXX_Merge ¶
func (m *TestResult) XXX_Merge(src proto.Message)
func (*TestResult) XXX_Size ¶
func (m *TestResult) XXX_Size() int
func (*TestResult) XXX_Unmarshal ¶
func (m *TestResult) XXX_Unmarshal(b []byte) error
type TestResultEntry ¶
type TestResultEntry struct { // Types that are valid to be assigned to Entry: // *TestResultEntry_TestResult_ // *TestResultEntry_ResultsFile_ Entry isTestResultEntry_Entry `protobuf_oneof:"entry"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TestResultEntry) Descriptor ¶
func (*TestResultEntry) Descriptor() ([]byte, []int)
func (*TestResultEntry) GetEntry ¶
func (m *TestResultEntry) GetEntry() isTestResultEntry_Entry
func (*TestResultEntry) GetResultsFile ¶
func (m *TestResultEntry) GetResultsFile() *TestResultEntry_ResultsFile
func (*TestResultEntry) GetTestResult ¶
func (m *TestResultEntry) GetTestResult() *TestResultEntry_TestResult
func (*TestResultEntry) ProtoMessage ¶
func (*TestResultEntry) ProtoMessage()
func (*TestResultEntry) Reset ¶
func (m *TestResultEntry) Reset()
func (*TestResultEntry) String ¶
func (m *TestResultEntry) String() string
func (*TestResultEntry) XXX_DiscardUnknown ¶
func (m *TestResultEntry) XXX_DiscardUnknown()
func (*TestResultEntry) XXX_Marshal ¶
func (m *TestResultEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestResultEntry) XXX_Merge ¶
func (m *TestResultEntry) XXX_Merge(src proto.Message)
func (*TestResultEntry) XXX_OneofWrappers ¶
func (*TestResultEntry) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TestResultEntry) XXX_Size ¶
func (m *TestResultEntry) XXX_Size() int
func (*TestResultEntry) XXX_Unmarshal ¶
func (m *TestResultEntry) XXX_Unmarshal(b []byte) error
type TestResultEntry_File ¶
type TestResultEntry_File struct { // Types that are valid to be assigned to Body: // *TestResultEntry_File_FilePath // *TestResultEntry_File_Contents Body isTestResultEntry_File_Body `protobuf_oneof:"body"` MediaType string `protobuf:"bytes,3,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A local file.
func (*TestResultEntry_File) Descriptor ¶
func (*TestResultEntry_File) Descriptor() ([]byte, []int)
func (*TestResultEntry_File) GetBody ¶
func (m *TestResultEntry_File) GetBody() isTestResultEntry_File_Body
func (*TestResultEntry_File) GetContents ¶
func (m *TestResultEntry_File) GetContents() []byte
func (*TestResultEntry_File) GetFilePath ¶
func (m *TestResultEntry_File) GetFilePath() string
func (*TestResultEntry_File) GetMediaType ¶
func (m *TestResultEntry_File) GetMediaType() string
func (*TestResultEntry_File) ProtoMessage ¶
func (*TestResultEntry_File) ProtoMessage()
func (*TestResultEntry_File) Reset ¶
func (m *TestResultEntry_File) Reset()
func (*TestResultEntry_File) String ¶
func (m *TestResultEntry_File) String() string
func (*TestResultEntry_File) XXX_DiscardUnknown ¶
func (m *TestResultEntry_File) XXX_DiscardUnknown()
func (*TestResultEntry_File) XXX_Marshal ¶
func (m *TestResultEntry_File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestResultEntry_File) XXX_Merge ¶
func (m *TestResultEntry_File) XXX_Merge(src proto.Message)
func (*TestResultEntry_File) XXX_OneofWrappers ¶
func (*TestResultEntry_File) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TestResultEntry_File) XXX_Size ¶
func (m *TestResultEntry_File) XXX_Size() int
func (*TestResultEntry_File) XXX_Unmarshal ¶
func (m *TestResultEntry_File) XXX_Unmarshal(b []byte) error
type TestResultEntry_File_Contents ¶
type TestResultEntry_File_Contents struct {
Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3,oneof"`
}
type TestResultEntry_File_FilePath ¶
type TestResultEntry_File_FilePath struct {
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3,oneof"`
}
type TestResultEntry_ResultsFile ¶
type TestResultEntry_ResultsFile struct { // Absolute path to the results file on the same machine // as the TCP server. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Format TestResultEntry_ResultsFile_Format `protobuf:"varint,2,opt,name=format,proto3,enum=luci.resultdb.TestResultEntry_ResultsFile_Format" json:"format,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Upload results from a file.
func (*TestResultEntry_ResultsFile) Descriptor ¶
func (*TestResultEntry_ResultsFile) Descriptor() ([]byte, []int)
func (*TestResultEntry_ResultsFile) GetFormat ¶
func (m *TestResultEntry_ResultsFile) GetFormat() TestResultEntry_ResultsFile_Format
func (*TestResultEntry_ResultsFile) GetPath ¶
func (m *TestResultEntry_ResultsFile) GetPath() string
func (*TestResultEntry_ResultsFile) ProtoMessage ¶
func (*TestResultEntry_ResultsFile) ProtoMessage()
func (*TestResultEntry_ResultsFile) Reset ¶
func (m *TestResultEntry_ResultsFile) Reset()
func (*TestResultEntry_ResultsFile) String ¶
func (m *TestResultEntry_ResultsFile) String() string
func (*TestResultEntry_ResultsFile) XXX_DiscardUnknown ¶
func (m *TestResultEntry_ResultsFile) XXX_DiscardUnknown()
func (*TestResultEntry_ResultsFile) XXX_Marshal ¶
func (m *TestResultEntry_ResultsFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestResultEntry_ResultsFile) XXX_Merge ¶
func (m *TestResultEntry_ResultsFile) XXX_Merge(src proto.Message)
func (*TestResultEntry_ResultsFile) XXX_Size ¶
func (m *TestResultEntry_ResultsFile) XXX_Size() int
func (*TestResultEntry_ResultsFile) XXX_Unmarshal ¶
func (m *TestResultEntry_ResultsFile) XXX_Unmarshal(b []byte) error
type TestResultEntry_ResultsFile_ ¶
type TestResultEntry_ResultsFile_ struct {
ResultsFile *TestResultEntry_ResultsFile `protobuf:"bytes,2,opt,name=results_file,json=resultsFile,proto3,oneof"`
}
type TestResultEntry_ResultsFile_Format ¶
type TestResultEntry_ResultsFile_Format int32
File format.
const ( // A sequence of TestResultEntry JSON objects // Same format as `luci-test upload` understands. // The default format. TestResultEntry_ResultsFile_LUCI TestResultEntry_ResultsFile_Format = 0 // JSON Test Results format TestResultEntry_ResultsFile_CHROMIUM_JSON_TEST_RESULTS TestResultEntry_ResultsFile_Format = 1 // GTest TestResultEntry_ResultsFile_GOOGLE_TEST TestResultEntry_ResultsFile_Format = 2 )
func (TestResultEntry_ResultsFile_Format) EnumDescriptor ¶
func (TestResultEntry_ResultsFile_Format) EnumDescriptor() ([]byte, []int)
func (TestResultEntry_ResultsFile_Format) String ¶
func (x TestResultEntry_ResultsFile_Format) String() string
type TestResultEntry_TestResult ¶
type TestResultEntry_TestResult struct { TestName string `protobuf:"bytes,1,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"` // Adds/overrides the variant keys specified on the command line. Variant *VariantDef `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"` IsExpected bool `protobuf:"varint,3,opt,name=is_expected,json=isExpected,proto3" json:"is_expected,omitempty"` Status TestStatus `protobuf:"varint,4,opt,name=status,proto3,enum=luci.resultdb.TestStatus" json:"status,omitempty"` SummaryMarkdown string `protobuf:"bytes,5,opt,name=summary_markdown,json=summaryMarkdown,proto3" json:"summary_markdown,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` RunDuration *duration.Duration `protobuf:"bytes,7,opt,name=run_duration,json=runDuration,proto3" json:"run_duration,omitempty"` Files map[string]*TestResultEntry_File `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A local test result.
func (*TestResultEntry_TestResult) Descriptor ¶
func (*TestResultEntry_TestResult) Descriptor() ([]byte, []int)
func (*TestResultEntry_TestResult) GetFiles ¶
func (m *TestResultEntry_TestResult) GetFiles() map[string]*TestResultEntry_File
func (*TestResultEntry_TestResult) GetIsExpected ¶
func (m *TestResultEntry_TestResult) GetIsExpected() bool
func (*TestResultEntry_TestResult) GetRunDuration ¶
func (m *TestResultEntry_TestResult) GetRunDuration() *duration.Duration
func (*TestResultEntry_TestResult) GetStartTime ¶
func (m *TestResultEntry_TestResult) GetStartTime() *timestamp.Timestamp
func (*TestResultEntry_TestResult) GetStatus ¶
func (m *TestResultEntry_TestResult) GetStatus() TestStatus
func (*TestResultEntry_TestResult) GetSummaryMarkdown ¶
func (m *TestResultEntry_TestResult) GetSummaryMarkdown() string
func (*TestResultEntry_TestResult) GetTestName ¶
func (m *TestResultEntry_TestResult) GetTestName() string
func (*TestResultEntry_TestResult) GetVariant ¶
func (m *TestResultEntry_TestResult) GetVariant() *VariantDef
func (*TestResultEntry_TestResult) ProtoMessage ¶
func (*TestResultEntry_TestResult) ProtoMessage()
func (*TestResultEntry_TestResult) Reset ¶
func (m *TestResultEntry_TestResult) Reset()
func (*TestResultEntry_TestResult) String ¶
func (m *TestResultEntry_TestResult) String() string
func (*TestResultEntry_TestResult) XXX_DiscardUnknown ¶
func (m *TestResultEntry_TestResult) XXX_DiscardUnknown()
func (*TestResultEntry_TestResult) XXX_Marshal ¶
func (m *TestResultEntry_TestResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestResultEntry_TestResult) XXX_Merge ¶
func (m *TestResultEntry_TestResult) XXX_Merge(src proto.Message)
func (*TestResultEntry_TestResult) XXX_Size ¶
func (m *TestResultEntry_TestResult) XXX_Size() int
func (*TestResultEntry_TestResult) XXX_Unmarshal ¶
func (m *TestResultEntry_TestResult) XXX_Unmarshal(b []byte) error
type TestResultEntry_TestResult_ ¶
type TestResultEntry_TestResult_ struct {
TestResult *TestResultEntry_TestResult `protobuf:"bytes,1,opt,name=test_result,json=testResult,proto3,oneof"`
}
type TestStatus ¶
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 ¶
func (TestStatus) EnumDescriptor() ([]byte, []int)
func (TestStatus) String ¶
func (x TestStatus) String() string
type TestVariant ¶
type TestVariant struct { // Test identifier, see TestResult.test_path. TestPath string `protobuf:"bytes,1,opt,name=test_path,json=testPath,proto3" json:"test_path,omitempty"` // Description of the variant of the test, see VariantDef. Variant *VariantDef `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A pair of test path and a variant definition, identifying a variant of a test.
func (*TestVariant) Descriptor ¶
func (*TestVariant) Descriptor() ([]byte, []int)
func (*TestVariant) GetTestPath ¶
func (m *TestVariant) GetTestPath() string
func (*TestVariant) GetVariant ¶
func (m *TestVariant) GetVariant() *VariantDef
func (*TestVariant) ProtoMessage ¶
func (*TestVariant) ProtoMessage()
func (*TestVariant) Reset ¶
func (m *TestVariant) Reset()
func (*TestVariant) String ¶
func (m *TestVariant) String() string
func (*TestVariant) XXX_DiscardUnknown ¶
func (m *TestVariant) XXX_DiscardUnknown()
func (*TestVariant) XXX_Marshal ¶
func (m *TestVariant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestVariant) XXX_Merge ¶
func (m *TestVariant) XXX_Merge(src proto.Message)
func (*TestVariant) XXX_Size ¶
func (m *TestVariant) XXX_Size() int
func (*TestVariant) XXX_Unmarshal ¶
func (m *TestVariant) XXX_Unmarshal(b []byte) error
type UnimplementedRecorderServer ¶
type UnimplementedRecorderServer struct { }
UnimplementedRecorderServer can be embedded to have forward compatible implementations.
func (*UnimplementedRecorderServer) BatchCreateTestExonerations ¶
func (*UnimplementedRecorderServer) BatchCreateTestExonerations(ctx context.Context, req *BatchCreateTestExonerationsRequest) (*BatchCreateTestExonerationsResponse, error)
func (*UnimplementedRecorderServer) BatchCreateTestResults ¶
func (*UnimplementedRecorderServer) BatchCreateTestResults(ctx context.Context, req *BatchCreateTestResultsRequest) (*BatchCreateTestResultsResponse, error)
func (*UnimplementedRecorderServer) CreateInclusion ¶
func (*UnimplementedRecorderServer) CreateInclusion(ctx context.Context, req *CreateInclusionRequest) (*Inclusion, error)
func (*UnimplementedRecorderServer) CreateInvocation ¶
func (*UnimplementedRecorderServer) CreateInvocation(ctx context.Context, req *CreateInvocationRequest) (*Invocation, error)
func (*UnimplementedRecorderServer) CreateTestExoneration ¶
func (*UnimplementedRecorderServer) CreateTestExoneration(ctx context.Context, req *CreateTestExonerationRequest) (*TestExoneration, error)
func (*UnimplementedRecorderServer) CreateTestResult ¶
func (*UnimplementedRecorderServer) CreateTestResult(ctx context.Context, req *CreateTestResultRequest) (*TestResult, error)
func (*UnimplementedRecorderServer) DeriveInvocation ¶
func (*UnimplementedRecorderServer) DeriveInvocation(ctx context.Context, req *DeriveInvocationRequest) (*DeriveInvocationResponse, error)
func (*UnimplementedRecorderServer) FinalizeInvocation ¶
func (*UnimplementedRecorderServer) FinalizeInvocation(ctx context.Context, req *FinalizeInvocationRequest) (*Invocation, error)
func (*UnimplementedRecorderServer) OverrideInclusion ¶
func (*UnimplementedRecorderServer) OverrideInclusion(ctx context.Context, req *OverrideInclusionRequest) (*OverrideInclusionResponse, error)
func (*UnimplementedRecorderServer) UpdateInvocation ¶
func (*UnimplementedRecorderServer) UpdateInvocation(ctx context.Context, req *UpdateInvocationRequest) (*Invocation, error)
type UnimplementedResultDBServer ¶
type UnimplementedResultDBServer struct { }
UnimplementedResultDBServer can be embedded to have forward compatible implementations.
func (*UnimplementedResultDBServer) GetInvocation ¶
func (*UnimplementedResultDBServer) GetInvocation(ctx context.Context, req *GetInvocationRequest) (*Invocation, error)
func (*UnimplementedResultDBServer) GetTestExoneration ¶
func (*UnimplementedResultDBServer) GetTestExoneration(ctx context.Context, req *GetTestExonerationRequest) (*TestExoneration, error)
func (*UnimplementedResultDBServer) GetTestResult ¶
func (*UnimplementedResultDBServer) GetTestResult(ctx context.Context, req *GetTestResultRequest) (*TestResult, error)
func (*UnimplementedResultDBServer) ListTestExonerations ¶
func (*UnimplementedResultDBServer) ListTestExonerations(ctx context.Context, req *ListTestExonerationsRequest) (*ListTestExonerationsResponse, error)
func (*UnimplementedResultDBServer) ListTestResults ¶
func (*UnimplementedResultDBServer) ListTestResults(ctx context.Context, req *ListTestResultsRequest) (*ListTestResultsResponse, error)
func (*UnimplementedResultDBServer) QueryTestResults ¶
func (*UnimplementedResultDBServer) QueryTestResults(ctx context.Context, req *QueryTestResultsRequest) (*QueryTestResultsResponse, error)
type UpdateInvocationRequest ¶
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 ¶
func (*UpdateInvocationRequest) Descriptor() ([]byte, []int)
func (*UpdateInvocationRequest) GetInvocation ¶
func (m *UpdateInvocationRequest) GetInvocation() *Invocation
func (*UpdateInvocationRequest) GetUpdateMask ¶
func (m *UpdateInvocationRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateInvocationRequest) ProtoMessage ¶
func (*UpdateInvocationRequest) ProtoMessage()
func (*UpdateInvocationRequest) Reset ¶
func (m *UpdateInvocationRequest) Reset()
func (*UpdateInvocationRequest) String ¶
func (m *UpdateInvocationRequest) String() string
func (*UpdateInvocationRequest) XXX_DiscardUnknown ¶
func (m *UpdateInvocationRequest) XXX_DiscardUnknown()
func (*UpdateInvocationRequest) XXX_Marshal ¶
func (m *UpdateInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateInvocationRequest) XXX_Merge ¶
func (m *UpdateInvocationRequest) XXX_Merge(src proto.Message)
func (*UpdateInvocationRequest) XXX_Size ¶
func (m *UpdateInvocationRequest) XXX_Size() int
func (*UpdateInvocationRequest) XXX_Unmarshal ¶
func (m *UpdateInvocationRequest) XXX_Unmarshal(b []byte) error
type VariantDef ¶
type VariantDef struct { // The definition of the variant. // Key regex: ^[a-z][a-z0-9_]*(/[a-z][a-z0-9_]*)*$ // Max key length: 32. Def map[string]string `` /* 147-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A key-value map describing one variant of a test case.
The same test case can be executed in different ways, for example on different OS, GPUs, with different compile options, runtime flags or even with different values of the test parameter (for parameterized tests). A variant definition captures one variant. A test case with a specific variant definition is called test variant.
Guidelines for variant definition design:
- This rule guides what keys MUST be present in the definition. A single expected result of a given test variant is enough to consider it passing (potentially flakily). If it is important to differentiate across a certain dimension (e.g. whether web tests are executed with or without site per process isolation), then there MUST be a key that captures the dimension (e.g. a name from test_suites.pyl). Otherwise, a pass in one variant will hide a failure of another one.
- This rule guides what keys MUST NOT be present in the definition. A change in the key-value set essentially resets the test result history. For example, if GN args are among variant key-value pairs, then adding a new GN arg changes the identity of the test variant and resets its history.
In Chromium, typical variant keys are:
- bucket: the LUCI bucket, e.g. "ci"
- builder: the LUCI builder, e.g. "linux-rel"
- test_suite: a name from https://cs.chromium.org/chromium/src/testing/buildbot/test_suites.pyl
func (*VariantDef) Descriptor ¶
func (*VariantDef) Descriptor() ([]byte, []int)
func (*VariantDef) GetDef ¶
func (m *VariantDef) GetDef() map[string]string
func (*VariantDef) ProtoMessage ¶
func (*VariantDef) ProtoMessage()
func (*VariantDef) Reset ¶
func (m *VariantDef) Reset()
func (*VariantDef) String ¶
func (m *VariantDef) String() string
func (*VariantDef) XXX_DiscardUnknown ¶
func (m *VariantDef) XXX_DiscardUnknown()
func (*VariantDef) XXX_Marshal ¶
func (m *VariantDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VariantDef) XXX_Merge ¶
func (m *VariantDef) XXX_Merge(src proto.Message)
func (*VariantDef) XXX_Size ¶
func (m *VariantDef) XXX_Size() int
func (*VariantDef) XXX_Unmarshal ¶
func (m *VariantDef) XXX_Unmarshal(b []byte) error