mig

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigRepoAdd

func MigRepoAdd(ctx context.Context, opts RepoAddOptions) error

func MigRepoImport

func MigRepoImport(ctx context.Context, migRef, filePath string, output io.Writer) error

func MigRepoList

func MigRepoList(ctx context.Context, migRef string, output io.Writer) error

func MigRepoRemove

func MigRepoRemove(ctx context.Context, migRef, repoID string, output io.Writer) error

func RunAdd

func RunAdd(ctx context.Context, opts AddOptions) error

func RunArchive

func RunArchive(ctx context.Context, migRef string, output io.Writer) error

func RunArtifacts

func RunArtifacts(ctx context.Context, runID string, output io.Writer) error

func RunFetch

func RunFetch(ctx context.Context, runID, artifactDir string, output io.Writer) error

func RunList

func RunList(ctx context.Context, output io.Writer) error

func RunProject

func RunProject(ctx context.Context, opts RunOptions) error

func RunRemove

func RunRemove(ctx context.Context, migRef string, output io.Writer) error

func RunSpecSet

func RunSpecSet(ctx context.Context, migRef, specPath string, output io.Writer) error

func RunStatus

func RunStatus(ctx context.Context, migID string, output io.Writer) error

func RunUnarchive

func RunUnarchive(ctx context.Context, migRef string, output io.Writer) error

Types

type AddOptions

type AddOptions struct {
	Name     string
	SpecPath string
	Output   io.Writer
}

type RepoAddOptions

type RepoAddOptions struct {
	MigRef       string
	RepoSelector string
	Output       io.Writer
}

type RunOptions

type RunOptions struct {
	MigRef        string
	RepoSelectors []string
	Failed        bool
	Follow        bool
	JSON          bool
	Cap           time.Duration
	CancelOnCap   bool
	MaxRetries    int
	GitLabToken   string
	Output        io.Writer
}

Jump to

Keyboard shortcuts

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