tasks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportPipelineHierarchy

func ExportPipelineHierarchy(ctx context.Context, glc *gitlab.Client, exp *exporter.Exporter, opts ExportPipelineHierarchyOptions) error

func ExportProject added in v0.8.0

func ExportProject(ctx context.Context, glab *gitlab.Client, exp *exporter.Exporter, opt ExportProjectOptions) error

func ExportProjectMergeRequests added in v0.9.0

func ExportProjectMergeRequests(ctx context.Context, glab *gitlab.Client, exp *exporter.Exporter, opt ExportProjectMergeRequestsOptions) error

func FetchMergeRequestNotes added in v0.9.0

func FetchMergeRequestNotes(ctx context.Context, glab *gitlab.Client, pid interface{}, iid int) ([]*gitlab.Note, error)

Types

type ExportPipelineHierarchyOptions

type ExportPipelineHierarchyOptions struct {
	ProjectID  int64
	PipelineID int64

	ExportSections    bool
	ExportTestReports bool
	ExportTraces      bool
	ExportMetrics     bool
}

type ExportProjectMergeRequestsOptions added in v0.9.0

type ExportProjectMergeRequestsOptions struct {
	ProjectID        int
	MergeRequestIIDs []int

	ExportNoteEvents bool
}

type ExportProjectOptions added in v0.8.0

type ExportProjectOptions struct {
	ProjectID int64
}

Jump to

Keyboard shortcuts

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