v1

package
v0.0.0-...-7544f7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CoverageService_GetAllFiles_FullMethodName  = "/coverage.v1.CoverageService/GetAllFiles"
	CoverageService_GetTestSuite_FullMethodName = "/coverage.v1.CoverageService/GetTestSuite"
	CoverageService_InsertFile_FullMethodName   = "/coverage.v1.CoverageService/InsertFile"
	CoverageService_DeleteFile_FullMethodName   = "/coverage.v1.CoverageService/DeleteFile"
)

Variables

View Source
var CoverageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "coverage.v1.CoverageService",
	HandlerType: (*CoverageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAllFiles",
			Handler:    _CoverageService_GetAllFiles_Handler,
		},
		{
			MethodName: "GetTestSuite",
			Handler:    _CoverageService_GetTestSuite_Handler,
		},
		{
			MethodName: "InsertFile",
			Handler:    _CoverageService_InsertFile_Handler,
		},
		{
			MethodName: "DeleteFile",
			Handler:    _CoverageService_DeleteFile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "coverage_service.proto",
}

CoverageService_ServiceDesc is the grpc.ServiceDesc for CoverageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_coverage_service_proto protoreflect.FileDescriptor

Functions

func RegisterCoverageServiceServer

func RegisterCoverageServiceServer(s grpc.ServiceRegistrar, srv CoverageServiceServer)

Types

type Builder

type Builder struct {

	// Name of the builder.
	BuilderName *string `protobuf:"bytes,1,opt,name=builder_name,json=builderName,proto3,oneof" json:"builder_name,omitempty"`
	// Architecture of the builder.
	Architecture *string `protobuf:"bytes,2,opt,name=architecture,proto3,oneof" json:"architecture,omitempty"`
	// OS of the builder.
	Os *string `protobuf:"bytes,3,opt,name=os,proto3,oneof" json:"os,omitempty"`
	// Test suites that are part of the builder.
	TestSuite []*TestSuite `protobuf:"bytes,4,rep,name=test_suite,json=testSuite,proto3" json:"test_suite,omitempty"`
	// contains filtered or unexported fields
}

func (*Builder) Descriptor deprecated

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

Deprecated: Use Builder.ProtoReflect.Descriptor instead.

func (*Builder) GetArchitecture

func (x *Builder) GetArchitecture() string

func (*Builder) GetBuilderName

func (x *Builder) GetBuilderName() string

func (*Builder) GetOs

func (x *Builder) GetOs() string

func (*Builder) GetTestSuite

func (x *Builder) GetTestSuite() []*TestSuite

func (*Builder) ProtoMessage

func (*Builder) ProtoMessage()

func (*Builder) ProtoReflect

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

func (*Builder) Reset

func (x *Builder) Reset()

func (*Builder) String

func (x *Builder) String() string

type CoverageAllResponses

type CoverageAllResponses struct {
	Responses []*CoverageResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*CoverageAllResponses) Descriptor deprecated

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

Deprecated: Use CoverageAllResponses.ProtoReflect.Descriptor instead.

func (*CoverageAllResponses) GetResponses

func (x *CoverageAllResponses) GetResponses() []*CoverageResponse

func (*CoverageAllResponses) ProtoMessage

func (*CoverageAllResponses) ProtoMessage()

func (*CoverageAllResponses) ProtoReflect

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

func (*CoverageAllResponses) Reset

func (x *CoverageAllResponses) Reset()

func (*CoverageAllResponses) String

func (x *CoverageAllResponses) String() string

type CoverageChangeRequest

type CoverageChangeRequest struct {
	FileName      *string  `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3,oneof" json:"file_name,omitempty"`
	BuilderName   *string  `protobuf:"bytes,2,opt,name=builder_name,json=builderName,proto3,oneof" json:"builder_name,omitempty"`
	TestSuiteName []string `protobuf:"bytes,3,rep,name=test_suite_name,json=testSuiteName,proto3" json:"test_suite_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CoverageChangeRequest) Descriptor deprecated

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

Deprecated: Use CoverageChangeRequest.ProtoReflect.Descriptor instead.

func (*CoverageChangeRequest) GetBuilderName

func (x *CoverageChangeRequest) GetBuilderName() string

func (*CoverageChangeRequest) GetFileName

func (x *CoverageChangeRequest) GetFileName() string

func (*CoverageChangeRequest) GetTestSuiteName

func (x *CoverageChangeRequest) GetTestSuiteName() []string

func (*CoverageChangeRequest) ProtoMessage

func (*CoverageChangeRequest) ProtoMessage()

func (*CoverageChangeRequest) ProtoReflect

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

func (*CoverageChangeRequest) Reset

func (x *CoverageChangeRequest) Reset()

func (*CoverageChangeRequest) String

func (x *CoverageChangeRequest) String() string

type CoverageChangeResponse

type CoverageChangeResponse struct {
	Status  *string `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CoverageChangeResponse) Descriptor deprecated

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

Deprecated: Use CoverageChangeResponse.ProtoReflect.Descriptor instead.

func (*CoverageChangeResponse) GetMessage

func (x *CoverageChangeResponse) GetMessage() string

func (*CoverageChangeResponse) GetStatus

func (x *CoverageChangeResponse) GetStatus() string

func (*CoverageChangeResponse) ProtoMessage

func (*CoverageChangeResponse) ProtoMessage()

func (*CoverageChangeResponse) ProtoReflect

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

func (*CoverageChangeResponse) Reset

func (x *CoverageChangeResponse) Reset()

func (*CoverageChangeResponse) String

func (x *CoverageChangeResponse) String() string

type CoverageListRequest

type CoverageListRequest struct {
	FileName    *string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3,oneof" json:"file_name,omitempty"`
	BuilderName *string `protobuf:"bytes,2,opt,name=builder_name,json=builderName,proto3,oneof" json:"builder_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CoverageListRequest) Descriptor deprecated

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

Deprecated: Use CoverageListRequest.ProtoReflect.Descriptor instead.

func (*CoverageListRequest) GetBuilderName

func (x *CoverageListRequest) GetBuilderName() string

func (*CoverageListRequest) GetFileName

func (x *CoverageListRequest) GetFileName() string

func (*CoverageListRequest) ProtoMessage

func (*CoverageListRequest) ProtoMessage()

func (*CoverageListRequest) ProtoReflect

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

func (*CoverageListRequest) Reset

func (x *CoverageListRequest) Reset()

func (*CoverageListRequest) String

func (x *CoverageListRequest) String() string

type CoverageListResponse

type CoverageListResponse struct {
	Status     *string  `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	TestSuites []string `protobuf:"bytes,2,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"`
	// contains filtered or unexported fields
}

func (*CoverageListResponse) Descriptor deprecated

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

Deprecated: Use CoverageListResponse.ProtoReflect.Descriptor instead.

func (*CoverageListResponse) GetStatus

func (x *CoverageListResponse) GetStatus() string

func (*CoverageListResponse) GetTestSuites

func (x *CoverageListResponse) GetTestSuites() []string

func (*CoverageListResponse) ProtoMessage

func (*CoverageListResponse) ProtoMessage()

func (*CoverageListResponse) ProtoReflect

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

func (*CoverageListResponse) Reset

func (x *CoverageListResponse) Reset()

func (*CoverageListResponse) String

func (x *CoverageListResponse) String() string

type CoverageRequest

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

func (*CoverageRequest) Descriptor deprecated

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

Deprecated: Use CoverageRequest.ProtoReflect.Descriptor instead.

func (*CoverageRequest) ProtoMessage

func (*CoverageRequest) ProtoMessage()

func (*CoverageRequest) ProtoReflect

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

func (*CoverageRequest) Reset

func (x *CoverageRequest) Reset()

func (*CoverageRequest) String

func (x *CoverageRequest) String() string

type CoverageResponse

type CoverageResponse struct {
	FileName      *string  `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3,oneof" json:"file_name,omitempty"`
	BuilderName   *string  `protobuf:"bytes,2,opt,name=builder_name,json=builderName,proto3,oneof" json:"builder_name,omitempty"`
	TestSuiteName []string `protobuf:"bytes,3,rep,name=test_suite_name,json=testSuiteName,proto3" json:"test_suite_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CoverageResponse) Descriptor deprecated

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

Deprecated: Use CoverageResponse.ProtoReflect.Descriptor instead.

func (*CoverageResponse) GetBuilderName

func (x *CoverageResponse) GetBuilderName() string

func (*CoverageResponse) GetFileName

func (x *CoverageResponse) GetFileName() string

func (*CoverageResponse) GetTestSuiteName

func (x *CoverageResponse) GetTestSuiteName() []string

func (*CoverageResponse) ProtoMessage

func (*CoverageResponse) ProtoMessage()

func (*CoverageResponse) ProtoReflect

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

func (*CoverageResponse) Reset

func (x *CoverageResponse) Reset()

func (*CoverageResponse) String

func (x *CoverageResponse) String() string

type CoverageServiceClient

type CoverageServiceClient interface {
	GetAllFiles(ctx context.Context, in *CoverageRequest, opts ...grpc.CallOption) (*CoverageAllResponses, error)
	GetTestSuite(ctx context.Context, in *CoverageListRequest, opts ...grpc.CallOption) (*CoverageListResponse, error)
	InsertFile(ctx context.Context, in *CoverageChangeRequest, opts ...grpc.CallOption) (*CoverageChangeResponse, error)
	DeleteFile(ctx context.Context, in *CoverageChangeRequest, opts ...grpc.CallOption) (*CoverageChangeResponse, error)
}

CoverageServiceClient is the client API for CoverageService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CoverageServiceServer

type CoverageServiceServer interface {
	GetAllFiles(context.Context, *CoverageRequest) (*CoverageAllResponses, error)
	GetTestSuite(context.Context, *CoverageListRequest) (*CoverageListResponse, error)
	InsertFile(context.Context, *CoverageChangeRequest) (*CoverageChangeResponse, error)
	DeleteFile(context.Context, *CoverageChangeRequest) (*CoverageChangeResponse, error)
	// contains filtered or unexported methods
}

CoverageServiceServer is the server API for CoverageService service. All implementations must embed UnimplementedCoverageServiceServer for forward compatibility

type TestSuite

type TestSuite struct {
	TestSuiteName *string  `protobuf:"bytes,1,opt,name=test_suite_name,json=testSuiteName,proto3,oneof" json:"test_suite_name,omitempty"`
	TestCaseName  []string `protobuf:"bytes,2,rep,name=test_case_name,json=testCaseName,proto3" json:"test_case_name,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuite) Descriptor deprecated

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

Deprecated: Use TestSuite.ProtoReflect.Descriptor instead.

func (*TestSuite) GetTestCaseName

func (x *TestSuite) GetTestCaseName() []string

func (*TestSuite) GetTestSuiteName

func (x *TestSuite) GetTestSuiteName() string

func (*TestSuite) ProtoMessage

func (*TestSuite) ProtoMessage()

func (*TestSuite) ProtoReflect

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

func (*TestSuite) Reset

func (x *TestSuite) Reset()

func (*TestSuite) String

func (x *TestSuite) String() string

type TestSuiteMap

type TestSuiteMap struct {

	// Name of the file.
	FileName *string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3,oneof" json:"file_name,omitempty"`
	// Name of the builder.
	BuilderName *string `protobuf:"bytes,2,opt,name=builder_name,json=builderName,proto3,oneof" json:"builder_name,omitempty"`
	// Name of test suite.
	TestSuiteName []string `protobuf:"bytes,3,rep,name=test_suite_name,json=testSuiteName,proto3" json:"test_suite_name,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuiteMap) Descriptor deprecated

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

Deprecated: Use TestSuiteMap.ProtoReflect.Descriptor instead.

func (*TestSuiteMap) GetBuilderName

func (x *TestSuiteMap) GetBuilderName() string

func (*TestSuiteMap) GetFileName

func (x *TestSuiteMap) GetFileName() string

func (*TestSuiteMap) GetTestSuiteName

func (x *TestSuiteMap) GetTestSuiteName() []string

func (*TestSuiteMap) ProtoMessage

func (*TestSuiteMap) ProtoMessage()

func (*TestSuiteMap) ProtoReflect

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

func (*TestSuiteMap) Reset

func (x *TestSuiteMap) Reset()

func (*TestSuiteMap) String

func (x *TestSuiteMap) String() string

type UnimplementedCoverageServiceServer

type UnimplementedCoverageServiceServer struct {
}

UnimplementedCoverageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCoverageServiceServer) DeleteFile

func (UnimplementedCoverageServiceServer) GetAllFiles

func (UnimplementedCoverageServiceServer) GetTestSuite

func (UnimplementedCoverageServiceServer) InsertFile

type UnsafeCoverageServiceServer

type UnsafeCoverageServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCoverageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoverageServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL