migration

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ResultsPerPage is the Number of results per page.
	ResultsPerPage = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	SrcClient, DstClient gitlab.GitLaber
}

Endpoint refers to the GitLab server endpoints.

type Migration

type Migration struct {
	Endpoint *Endpoint
	// contains filtered or unexported fields
}

Migration defines a migration step.

func New

func New(c *config.Config) (*Migration, error)

New creates a new migration.

func (*Migration) DestProject

func (m *Migration) DestProject(name string) (*glab.Project, error)

func (*Migration) Migrate

func (m *Migration) Migrate() error

Migrate performs the issues migration.

func (*Migration) SourceProject

func (m *Migration) SourceProject(name string) (*glab.Project, error)

Jump to

Keyboard shortcuts

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