gitlab

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package gitlab provides automatic migration tools from GitLab to Harness.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	Gitlab    *scm.Client
	GitlabOrg string

	Tracer tracer.Tracer
}

Exporter exports data from Circle.

func (*Exporter) Export

func (m *Exporter) Export(ctx context.Context) (*types.Org, error)

Export exports gitlab data.

type Importer

type Importer struct {
	Harness      harness.Client
	HarnessOrg   string
	HarnessToken string

	ScmType  string // github, gitlab, bitbucket
	ScmLogin string
	ScmToken string

	Tracer tracer.Tracer
}

Importer imports data from gitlab to Harness.

func (*Importer) Import

func (m *Importer) Import(ctx context.Context, data *types.Org) error

Jump to

Keyboard shortcuts

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