core

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrOnlyUseOne = errors.New("may only use one of `search_query`, `all_repos_in_org` or `repos`")
	ErrMustUseOne = errors.New("must specify one of `search_query`, `all_repos_in_org` or `repos`")
)

Functions

This section is empty.

Types

type Banshee

type Banshee struct {
	GlobalConfig    *configs.GlobalConfig
	MigrationConfig *configs.MigrationConfig
	GithubClient    githubClient
	Progress        *progress.Progress
	DryRun          bool
	// contains filtered or unexported fields
}

func NewBanshee

func NewBanshee(ctx context.Context, config configs.GlobalConfig, migConfig configs.MigrationConfig) (*Banshee, error)

func (*Banshee) Clone

func (b *Banshee) Clone() error

Perform a migration

func (*Banshee) CreateCacheRepoIfEnabled

func (b *Banshee) CreateCacheRepoIfEnabled() error

func (*Banshee) List

func (b *Banshee) List(state string, format string) error

Perform a migration

func (*Banshee) MergeApproved

func (b *Banshee) MergeApproved() error

Perform a migration

func (*Banshee) Migrate

func (b *Banshee) Migrate() error

Perform a migration

func (*Banshee) OnlyOneRepoChoice

func (b *Banshee) OnlyOneRepoChoice() error

Jump to

Keyboard shortcuts

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