Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterGitLabExporterServer(s grpc.ServiceRegistrar, srv GitLabExporterServer)
- type GitLabExporterClient
- type GitLabExporterServer
- type GitLabExporter_RecordBridgesClient
- type GitLabExporter_RecordBridgesServer
- type GitLabExporter_RecordJobsClient
- type GitLabExporter_RecordJobsServer
- type GitLabExporter_RecordMetricsClient
- type GitLabExporter_RecordMetricsServer
- type GitLabExporter_RecordPipelinesClient
- type GitLabExporter_RecordPipelinesServer
- type GitLabExporter_RecordSectionsClient
- type GitLabExporter_RecordSectionsServer
- type GitLabExporter_RecordTestCasesClient
- type GitLabExporter_RecordTestCasesServer
- type GitLabExporter_RecordTestReportsClient
- type GitLabExporter_RecordTestReportsServer
- type GitLabExporter_RecordTestSuitesClient
- type GitLabExporter_RecordTestSuitesServer
- type GitLabExporter_RecordTracesClient
- type GitLabExporter_RecordTracesServer
- type RecordSummary
- type UnimplementedGitLabExporterServer
- func (UnimplementedGitLabExporterServer) RecordBridges(GitLabExporter_RecordBridgesServer) error
- func (UnimplementedGitLabExporterServer) RecordJobs(GitLabExporter_RecordJobsServer) error
- func (UnimplementedGitLabExporterServer) RecordMetrics(GitLabExporter_RecordMetricsServer) error
- func (UnimplementedGitLabExporterServer) RecordPipelines(GitLabExporter_RecordPipelinesServer) error
- func (UnimplementedGitLabExporterServer) RecordSections(GitLabExporter_RecordSectionsServer) error
- func (UnimplementedGitLabExporterServer) RecordTestCases(GitLabExporter_RecordTestCasesServer) error
- func (UnimplementedGitLabExporterServer) RecordTestReports(GitLabExporter_RecordTestReportsServer) error
- func (UnimplementedGitLabExporterServer) RecordTestSuites(GitLabExporter_RecordTestSuitesServer) error
- func (UnimplementedGitLabExporterServer) RecordTraces(GitLabExporter_RecordTracesServer) error
- type UnsafeGitLabExporterServer
Constants ¶
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 ¶
var File_gitlabexporter_protobuf_service_service_proto protoreflect.FileDescriptor
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 ¶
type GitLabExporterClient interface { RecordPipelines(ctx context.Context, opts ...grpc.CallOption) (GitLabExporter_RecordPipelinesClient, error) RecordJobs(ctx context.Context, opts ...grpc.CallOption) (GitLabExporter_RecordJobsClient, error) RecordSections(ctx context.Context, opts ...grpc.CallOption) (GitLabExporter_RecordSectionsClient, error) RecordBridges(ctx context.Context, opts ...grpc.CallOption) (GitLabExporter_RecordBridgesClient, error) RecordTestReports(ctx context.Context, opts ...grpc.CallOption) (GitLabExporter_RecordTestReportsClient, error) RecordTestSuites(ctx context.Context, opts ...grpc.CallOption) (GitLabExporter_RecordTestSuitesClient, error) RecordTestCases(ctx context.Context, opts ...grpc.CallOption) (GitLabExporter_RecordTestCasesClient, error) RecordMetrics(ctx context.Context, opts ...grpc.CallOption) (GitLabExporter_RecordMetricsClient, error) RecordTraces(ctx context.Context, opts ...grpc.CallOption) (GitLabExporter_RecordTracesClient, error) }
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.
func NewGitLabExporterClient ¶
func NewGitLabExporterClient(cc grpc.ClientConnInterface) GitLabExporterClient
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) RecordBridges(GitLabExporter_RecordBridgesServer) error
func (UnimplementedGitLabExporterServer) RecordJobs ¶
func (UnimplementedGitLabExporterServer) RecordJobs(GitLabExporter_RecordJobsServer) error
func (UnimplementedGitLabExporterServer) RecordMetrics ¶
func (UnimplementedGitLabExporterServer) RecordMetrics(GitLabExporter_RecordMetricsServer) error
func (UnimplementedGitLabExporterServer) RecordPipelines ¶
func (UnimplementedGitLabExporterServer) RecordPipelines(GitLabExporter_RecordPipelinesServer) error
func (UnimplementedGitLabExporterServer) RecordSections ¶
func (UnimplementedGitLabExporterServer) RecordSections(GitLabExporter_RecordSectionsServer) error
func (UnimplementedGitLabExporterServer) RecordTestCases ¶
func (UnimplementedGitLabExporterServer) RecordTestCases(GitLabExporter_RecordTestCasesServer) error
func (UnimplementedGitLabExporterServer) RecordTestReports ¶
func (UnimplementedGitLabExporterServer) RecordTestReports(GitLabExporter_RecordTestReportsServer) error
func (UnimplementedGitLabExporterServer) RecordTestSuites ¶
func (UnimplementedGitLabExporterServer) RecordTestSuites(GitLabExporter_RecordTestSuitesServer) error
func (UnimplementedGitLabExporterServer) RecordTraces ¶
func (UnimplementedGitLabExporterServer) RecordTraces(GitLabExporter_RecordTracesServer) error
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.