Documentation
¶
Index ¶
- func ExportPipelineHierarchy(ctl *Controller, ctx context.Context, opts ExportPipelineHierarchyOptions) error
- type Controller
- type ExportPipelineHierarchyOptions
- type Exporter
- 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
- type ProjectExportTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportPipelineHierarchy ¶
func ExportPipelineHierarchy(ctl *Controller, ctx context.Context, opts ExportPipelineHierarchyOptions) error
Types ¶
type Controller ¶
type Controller struct { GitLab gitlab.Client Exporter *Exporter // contains filtered or unexported fields }
func NewController ¶
func NewController(cfg config.Config) (*Controller, error)
func (*Controller) CheckReadiness ¶
func (c *Controller) CheckReadiness(ctx context.Context) error
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
func NewExporter ¶
func NewExporter(endpoints []grpc_client.EndpointConfig) (*Exporter, error)
func (*Exporter) RecordBridges ¶
func (*Exporter) RecordJobs ¶
func (*Exporter) RecordPipelineHierarchy ¶
func (*Exporter) RecordPipelines ¶
func (*Exporter) RecordSections ¶
func (*Exporter) RecordTestCases ¶
func (*Exporter) RecordTestReports ¶
func (*Exporter) RecordTestSuites ¶
type ProjectCatchUpTask ¶
func (*ProjectCatchUpTask) Run ¶
func (t *ProjectCatchUpTask) Run(ctl *Controller, ctx context.Context)
type ProjectExportTask ¶
func (*ProjectExportTask) Run ¶
func (t *ProjectExportTask) Run(ctl *Controller, ctx context.Context)
Click to show internal directories.
Click to hide internal directories.