Documentation
¶
Index ¶
- func FetchProjectJobLogData(ctx context.Context, glab *gitlab.Client, job types.Job) ([]types.Section, []types.Metric, error)
- func FetchProjectPipelineJunitReports(ctx context.Context, glab *gitlab.Client, projectPath string, ...) ([]types.TestReport, []types.TestSuite, []types.TestCase, error)
- func FetchProjectsJobsLogData(ctx context.Context, glab *gitlab.Client, jobs []types.Job) ([]types.Section, []types.Metric, error)
- func FetchProjectsMergeRequests(ctx context.Context, glab *gitlab.Client, projectIds []int64, ...) ([]types.MergeRequest, error)
- func FetchProjectsMergeRequestsNotes(ctx context.Context, glab *gitlab.Client, projectIds []int64, ...) ([]types.MergeRequestNoteEvent, error)
- func FetchProjectsPipelines(ctx context.Context, glab *gitlab.Client, projectIds []int64, ...) ([]types.Pipeline, error)
- func FetchProjectsPipelinesJobs(ctx context.Context, glab *gitlab.Client, projectIds []int64, ...) ([]types.Job, error)
- func FetchProjectsPipelinesJunitReports(ctx context.Context, glab *gitlab.Client, projectPipelines map[string][]string) ([]types.TestReport, []types.TestSuite, []types.TestCase, error)
- func FetchProjectsPipelinesTestReports(ctx context.Context, glab *gitlab.Client, pipelines []types.Pipeline) ([]types.TestReport, []types.TestSuite, []types.TestCase, error)
- type Controller
- type ControllerConfig
- type ProjectSettings
- type ProjectsSettings
- func (ps *ProjectsSettings) Add(id int64, settings ProjectSettings) bool
- func (ps *ProjectsSettings) Delete(id int64) bool
- func (ps *ProjectsSettings) ExportJunitReports(id int64) bool
- func (ps *ProjectsSettings) ExportLogData(id int64) bool
- func (ps *ProjectsSettings) ExportMergeRequests(id int64) bool
- func (ps *ProjectsSettings) ExportTestReports(id int64) bool
- func (ps *ProjectsSettings) ExportTraces(id int64) bool
- func (ps *ProjectsSettings) GetBatches(size int, filter func(ProjectSettings) bool) [][]ProjectSettings
- func (ps *ProjectsSettings) Len() int
- func (ps *ProjectsSettings) Set(m map[int64]ProjectSettings)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchProjectJobLogData ¶ added in v0.10.0
func FetchProjectPipelineJunitReports ¶ added in v0.12.0
func FetchProjectsJobsLogData ¶ added in v0.10.0
func FetchProjectsMergeRequests ¶ added in v0.10.0
func FetchProjectsMergeRequestsNotes ¶ added in v0.10.0
func FetchProjectsPipelines ¶ added in v0.10.0
func FetchProjectsPipelinesJobs ¶ added in v0.10.0
func FetchProjectsPipelinesJunitReports ¶ added in v0.12.0
Types ¶
type Controller ¶ added in v0.10.0
type Controller struct { GitLab *gitlab.Client Exporter *exporter.Exporter // contains filtered or unexported fields }
func NewController ¶ added in v0.10.0
func NewController(glab *gitlab.Client, exp *exporter.Exporter, cfg ControllerConfig) *Controller
func (*Controller) CatchUp ¶ added in v0.10.0
func (c *Controller) CatchUp(ctx context.Context) error
func (*Controller) ResolveProjects ¶ added in v0.10.0
func (c *Controller) ResolveProjects(ctx context.Context) (int, error)
type ControllerConfig ¶ added in v0.10.0
type ProjectSettings ¶ added in v0.10.0
type ProjectsSettings ¶ added in v0.10.0
type ProjectsSettings struct {
// contains filtered or unexported fields
}
func (*ProjectsSettings) Add ¶ added in v0.11.0
func (ps *ProjectsSettings) Add(id int64, settings ProjectSettings) bool
func (*ProjectsSettings) Delete ¶ added in v0.11.0
func (ps *ProjectsSettings) Delete(id int64) bool
func (*ProjectsSettings) ExportJunitReports ¶ added in v0.12.0
func (ps *ProjectsSettings) ExportJunitReports(id int64) bool
func (*ProjectsSettings) ExportLogData ¶ added in v0.10.0
func (ps *ProjectsSettings) ExportLogData(id int64) bool
func (*ProjectsSettings) ExportMergeRequests ¶ added in v0.10.0
func (ps *ProjectsSettings) ExportMergeRequests(id int64) bool
func (*ProjectsSettings) ExportTestReports ¶ added in v0.10.0
func (ps *ProjectsSettings) ExportTestReports(id int64) bool
func (*ProjectsSettings) ExportTraces ¶ added in v0.10.0
func (ps *ProjectsSettings) ExportTraces(id int64) bool
func (*ProjectsSettings) GetBatches ¶ added in v0.11.0
func (ps *ProjectsSettings) GetBatches(size int, filter func(ProjectSettings) bool) [][]ProjectSettings
func (*ProjectsSettings) Len ¶ added in v0.11.0
func (ps *ProjectsSettings) Len() int
func (*ProjectsSettings) Set ¶ added in v0.11.0
func (ps *ProjectsSettings) Set(m map[int64]ProjectSettings)
Click to show internal directories.
Click to hide internal directories.