servicepb

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitLabExporter_RecordPipelines_FullMethodName   = "/gitlabexporter.protobuf.service.GitLabExporter/RecordPipelines"
	GitLabExporter_RecordJobs_FullMethodName        = "/gitlabexporter.protobuf.service.GitLabExporter/RecordJobs"
	GitLabExporter_RecordSections_FullMethodName    = "/gitlabexporter.protobuf.service.GitLabExporter/RecordSections"
	GitLabExporter_RecordBridges_FullMethodName     = "/gitlabexporter.protobuf.service.GitLabExporter/RecordBridges"
	GitLabExporter_RecordTestReports_FullMethodName = "/gitlabexporter.protobuf.service.GitLabExporter/RecordTestReports"
	GitLabExporter_RecordTestSuites_FullMethodName  = "/gitlabexporter.protobuf.service.GitLabExporter/RecordTestSuites"
	GitLabExporter_RecordTestCases_FullMethodName   = "/gitlabexporter.protobuf.service.GitLabExporter/RecordTestCases"
	GitLabExporter_RecordMetrics_FullMethodName     = "/gitlabexporter.protobuf.service.GitLabExporter/RecordMetrics"
	GitLabExporter_RecordTraces_FullMethodName      = "/gitlabexporter.protobuf.service.GitLabExporter/RecordTraces"
)

Variables

View Source
var File_gitlabexporter_protobuf_service_service_proto protoreflect.FileDescriptor
View Source
var GitLabExporter_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gitlabexporter.protobuf.service.GitLabExporter",
	HandlerType: (*GitLabExporterServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "RecordPipelines",
			Handler:       _GitLabExporter_RecordPipelines_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RecordJobs",
			Handler:       _GitLabExporter_RecordJobs_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RecordSections",
			Handler:       _GitLabExporter_RecordSections_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RecordBridges",
			Handler:       _GitLabExporter_RecordBridges_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RecordTestReports",
			Handler:       _GitLabExporter_RecordTestReports_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RecordTestSuites",
			Handler:       _GitLabExporter_RecordTestSuites_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RecordTestCases",
			Handler:       _GitLabExporter_RecordTestCases_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RecordMetrics",
			Handler:       _GitLabExporter_RecordMetrics_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RecordTraces",
			Handler:       _GitLabExporter_RecordTraces_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "gitlabexporter/protobuf/service/service.proto",
}

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

Functions

func RegisterGitLabExporterServer

func RegisterGitLabExporterServer(s grpc.ServiceRegistrar, srv GitLabExporterServer)

Types

type GitLabExporterClient

GitLabExporterClient is the client API for GitLabExporter 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 GitLabExporterServer

type GitLabExporterServer interface {
	RecordPipelines(GitLabExporter_RecordPipelinesServer) error
	RecordJobs(GitLabExporter_RecordJobsServer) error
	RecordSections(GitLabExporter_RecordSectionsServer) error
	RecordBridges(GitLabExporter_RecordBridgesServer) error
	RecordTestReports(GitLabExporter_RecordTestReportsServer) error
	RecordTestSuites(GitLabExporter_RecordTestSuitesServer) error
	RecordTestCases(GitLabExporter_RecordTestCasesServer) error
	RecordMetrics(GitLabExporter_RecordMetricsServer) error
	RecordTraces(GitLabExporter_RecordTracesServer) error
	// contains filtered or unexported methods
}

GitLabExporterServer is the server API for GitLabExporter service. All implementations must embed UnimplementedGitLabExporterServer for forward compatibility

type GitLabExporter_RecordBridgesClient

type GitLabExporter_RecordBridgesClient interface {
	Send(*typespb.Bridge) error
	CloseAndRecv() (*RecordSummary, error)
	grpc.ClientStream
}

type GitLabExporter_RecordBridgesServer

type GitLabExporter_RecordBridgesServer interface {
	SendAndClose(*RecordSummary) error
	Recv() (*typespb.Bridge, error)
	grpc.ServerStream
}

type GitLabExporter_RecordJobsClient

type GitLabExporter_RecordJobsClient interface {
	Send(*typespb.Job) error
	CloseAndRecv() (*RecordSummary, error)
	grpc.ClientStream
}

type GitLabExporter_RecordJobsServer

type GitLabExporter_RecordJobsServer interface {
	SendAndClose(*RecordSummary) error
	Recv() (*typespb.Job, error)
	grpc.ServerStream
}

type GitLabExporter_RecordMetricsClient

type GitLabExporter_RecordMetricsClient interface {
	Send(*typespb.Metric) error
	CloseAndRecv() (*RecordSummary, error)
	grpc.ClientStream
}

type GitLabExporter_RecordMetricsServer

type GitLabExporter_RecordMetricsServer interface {
	SendAndClose(*RecordSummary) error
	Recv() (*typespb.Metric, error)
	grpc.ServerStream
}

type GitLabExporter_RecordPipelinesClient

type GitLabExporter_RecordPipelinesClient interface {
	Send(*typespb.Pipeline) error
	CloseAndRecv() (*RecordSummary, error)
	grpc.ClientStream
}

type GitLabExporter_RecordPipelinesServer

type GitLabExporter_RecordPipelinesServer interface {
	SendAndClose(*RecordSummary) error
	Recv() (*typespb.Pipeline, error)
	grpc.ServerStream
}

type GitLabExporter_RecordSectionsClient

type GitLabExporter_RecordSectionsClient interface {
	Send(*typespb.Section) error
	CloseAndRecv() (*RecordSummary, error)
	grpc.ClientStream
}

type GitLabExporter_RecordSectionsServer

type GitLabExporter_RecordSectionsServer interface {
	SendAndClose(*RecordSummary) error
	Recv() (*typespb.Section, error)
	grpc.ServerStream
}

type GitLabExporter_RecordTestCasesClient

type GitLabExporter_RecordTestCasesClient interface {
	Send(*typespb.TestCase) error
	CloseAndRecv() (*RecordSummary, error)
	grpc.ClientStream
}

type GitLabExporter_RecordTestCasesServer

type GitLabExporter_RecordTestCasesServer interface {
	SendAndClose(*RecordSummary) error
	Recv() (*typespb.TestCase, error)
	grpc.ServerStream
}

type GitLabExporter_RecordTestReportsClient

type GitLabExporter_RecordTestReportsClient interface {
	Send(*typespb.TestReport) error
	CloseAndRecv() (*RecordSummary, error)
	grpc.ClientStream
}

type GitLabExporter_RecordTestReportsServer

type GitLabExporter_RecordTestReportsServer interface {
	SendAndClose(*RecordSummary) error
	Recv() (*typespb.TestReport, error)
	grpc.ServerStream
}

type GitLabExporter_RecordTestSuitesClient

type GitLabExporter_RecordTestSuitesClient interface {
	Send(*typespb.TestSuite) error
	CloseAndRecv() (*RecordSummary, error)
	grpc.ClientStream
}

type GitLabExporter_RecordTestSuitesServer

type GitLabExporter_RecordTestSuitesServer interface {
	SendAndClose(*RecordSummary) error
	Recv() (*typespb.TestSuite, error)
	grpc.ServerStream
}

type GitLabExporter_RecordTracesClient

type GitLabExporter_RecordTracesClient interface {
	Send(*typespb.Trace) error
	CloseAndRecv() (*RecordSummary, error)
	grpc.ClientStream
}

type GitLabExporter_RecordTracesServer

type GitLabExporter_RecordTracesServer interface {
	SendAndClose(*RecordSummary) error
	Recv() (*typespb.Trace, error)
	grpc.ServerStream
}

type RecordSummary

type RecordSummary struct {
	RecordedCount int32 `protobuf:"varint,1,opt,name=recorded_count,json=recordedCount,proto3" json:"recorded_count,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordSummary) Descriptor deprecated

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

Deprecated: Use RecordSummary.ProtoReflect.Descriptor instead.

func (*RecordSummary) GetRecordedCount

func (x *RecordSummary) GetRecordedCount() int32

func (*RecordSummary) ProtoMessage

func (*RecordSummary) ProtoMessage()

func (*RecordSummary) ProtoReflect

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

func (*RecordSummary) Reset

func (x *RecordSummary) Reset()

func (*RecordSummary) String

func (x *RecordSummary) String() string

type UnimplementedGitLabExporterServer

type UnimplementedGitLabExporterServer struct {
}

UnimplementedGitLabExporterServer must be embedded to have forward compatible implementations.

func (UnimplementedGitLabExporterServer) RecordBridges

func (UnimplementedGitLabExporterServer) RecordJobs

func (UnimplementedGitLabExporterServer) RecordMetrics

func (UnimplementedGitLabExporterServer) RecordPipelines

func (UnimplementedGitLabExporterServer) RecordSections

func (UnimplementedGitLabExporterServer) RecordTestCases

func (UnimplementedGitLabExporterServer) RecordTestReports

func (UnimplementedGitLabExporterServer) RecordTestSuites

func (UnimplementedGitLabExporterServer) RecordTraces

type UnsafeGitLabExporterServer

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

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

Jump to

Keyboard shortcuts

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