recorder_mock

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datastore

type Datastore interface {
	ListProjects() []*typespb.Project
	GetProject(id int64) *typespb.Project

	ListProjectPipelines(projectID int64) []*typespb.Pipeline
	GetPipeline(id int64) *typespb.Pipeline

	ListPipelineJobs(projectID int64, pipelineID int64) []*typespb.Job

	GetPipelineTestReport(pipelineID int64) *typespb.TestReport
}

type Recorder

type Recorder struct {
	servicepb.UnimplementedGitLabExporterServer
	// contains filtered or unexported fields
}

func New

func New() *Recorder

func (*Recorder) Datastore

func (s *Recorder) Datastore() Datastore

func (*Recorder) GracefulStop

func (r *Recorder) GracefulStop()

func (*Recorder) RecordJobs

func (*Recorder) RecordMetrics

func (*Recorder) RecordPipelines

func (*Recorder) RecordProjects

func (*Recorder) RecordSections

func (*Recorder) RecordTestCases

func (*Recorder) RecordTestReports

func (*Recorder) RecordTestSuites

func (*Recorder) RecordTraces

func (*Recorder) Reset

func (r *Recorder) Reset()

func (*Recorder) Serve

func (r *Recorder) Serve(lis net.Listener) error

func (*Recorder) Stop

func (r *Recorder) Stop()

Jump to

Keyboard shortcuts

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