Documentation ¶
Index ¶
- type EndpointConfig
- type Exporter
- func (e *Exporter) ExportCommits(ctx context.Context, data []*typespb.Commit) error
- func (e *Exporter) ExportJobs(ctx context.Context, data []*typespb.Job) error
- func (e *Exporter) ExportMergeRequestNoteEvents(ctx context.Context, data []*typespb.MergeRequestNoteEvent) error
- func (e *Exporter) ExportMergeRequests(ctx context.Context, data []*typespb.MergeRequest) error
- func (e *Exporter) ExportMetrics(ctx context.Context, data []*typespb.Metric) error
- func (e *Exporter) ExportPipelines(ctx context.Context, data []*typespb.Pipeline) error
- func (e *Exporter) ExportProjects(ctx context.Context, data []*typespb.Project) error
- func (e *Exporter) ExportSections(ctx context.Context, data []*typespb.Section) error
- func (e *Exporter) ExportTestCases(ctx context.Context, data []*typespb.TestCase) error
- func (e *Exporter) ExportTestReports(ctx context.Context, data []*typespb.TestReport) error
- func (e *Exporter) ExportTestSuites(ctx context.Context, data []*typespb.TestSuite) error
- func (e *Exporter) ExportTraces(ctx context.Context, data []*typespb.Trace) error
- func (e *Exporter) MetricsCollectorFor(endpoint string) prometheus.Collector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointConfig ¶ added in v0.7.0
type EndpointConfig struct { Address string Options []grpc.DialOption }
func CreateEndpointConfigs ¶
func CreateEndpointConfigs(cfg []config.Endpoint) []EndpointConfig
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
func New ¶
func New(endpoints []EndpointConfig) (*Exporter, error)
func (*Exporter) ExportCommits ¶ added in v0.8.0
func (*Exporter) ExportJobs ¶
func (*Exporter) ExportMergeRequestNoteEvents ¶ added in v0.9.0
func (*Exporter) ExportMergeRequests ¶ added in v0.8.0
func (*Exporter) ExportMetrics ¶
func (*Exporter) ExportPipelines ¶
func (*Exporter) ExportProjects ¶ added in v0.8.0
func (*Exporter) ExportSections ¶
func (*Exporter) ExportTestCases ¶
func (*Exporter) ExportTestReports ¶
func (*Exporter) ExportTestSuites ¶
func (*Exporter) ExportTraces ¶
func (*Exporter) MetricsCollectorFor ¶ added in v0.7.0
func (e *Exporter) MetricsCollectorFor(endpoint string) prometheus.Collector
Click to show internal directories.
Click to hide internal directories.