Versions in this module Expand all Collapse all v0 v0.5.1 Feb 4, 2024 v0.5.0 Jan 26, 2024 Changes in this version + func ExportPipelineHierarchy(ctl *Controller, ctx context.Context, opts ExportPipelineHierarchyOptions) error + type Controller struct + Exporter *Exporter + GitLab gitlab.Client + func NewController(cfg config.Config) (*Controller, error) + func (c *Controller) CheckReadiness(ctx context.Context) error + func (c *Controller) Run(ctx context.Context) error + type ExportPipelineHierarchyOptions struct + ExportJobMetrics bool + ExportSections bool + ExportTestReports bool + ExportTraces bool + PipelineID int64 + ProjectID int64 + type Exporter struct + func NewExporter(endpoints []grpc_client.EndpointConfig) (*Exporter, error) + func (e *Exporter) RecordBridges(ctx context.Context, data []*pb.Bridge) error + func (e *Exporter) RecordJobs(ctx context.Context, data []*pb.Job) error + func (e *Exporter) RecordPipelineHierarchy(ctx context.Context, ph *models.PipelineHierarchy) error + func (e *Exporter) RecordPipelines(ctx context.Context, data []*pb.Pipeline) error + func (e *Exporter) RecordSections(ctx context.Context, data []*pb.Section) error + func (e *Exporter) RecordTestCases(ctx context.Context, cases []*pb.TestCase) error + func (e *Exporter) RecordTestReports(ctx context.Context, reports []*pb.TestReport) error + func (e *Exporter) RecordTestSuites(ctx context.Context, suites []*pb.TestSuite) error + func (e *Exporter) RecordTraces(ctx context.Context, traces []*pb.Trace) error + type ProjectCatchUpTask struct + Config config.Project + func (t *ProjectCatchUpTask) Run(ctl *Controller, ctx context.Context) + type ProjectExportTask struct + Config config.Project + func (t *ProjectExportTask) Run(ctl *Controller, ctx context.Context)