cmd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string = ""
	Commit  string = ""
)

Functions

func Execute

func Execute(ctx context.Context) error

func NewBitbucket added in v0.0.2

func NewBitbucket(ctx context.Context) (*bitbucket, error)

NewBitbucket creates a new instance of the bitbucket struct.

func NewGitea added in v0.0.2

func NewGitea(ctx context.Context) (*gitea, error)

NewGitea creates a new instance of the gitea struct.

func NewMigration

func NewMigration(ctx context.Context) (*migration, error)

Types

type CreateOrgOption added in v0.0.2

type CreateOrgOption struct {
	Name        string
	Description string
	Visibility  bool
}

CreateOrgOption create organization option

type MigrateRepoOption added in v0.0.2

type MigrateRepoOption struct {
	RepoName     string
	RepoOwner    string
	CloneAddr    string
	Private      bool
	Description  string
	AuthUsername string
	AuthPassword string
}

MigrateRepoOption migrate repository option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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