Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
Method string `yaml:"method"`
SourceToken string `yaml:"source_token"`
TargetToken string `yaml:"target_token"`
}
AuthConfig holds authentication settings.
type Config ¶
type Config struct {
Source SourceConfig `yaml:"source"`
Target TargetConfig `yaml:"target"`
Auth AuthConfig `yaml:"auth"`
Copy CopyConfig `yaml:"copy"`
Verify VerifyConfig `yaml:"verify"`
Report ReportConfig `yaml:"report"`
Exclude ExcludeConfig `yaml:"exclude"`
LFS bool `yaml:"lfs"`
Force bool `yaml:"force"`
CodeOnly bool `yaml:"code_only"`
NonInteractive bool `yaml:"non_interactive"`
Verbose bool `yaml:"verbose"`
}
Config represents the YAML configuration file.
type CopyConfig ¶
type CopyConfig struct {
Issues bool `yaml:"issues"`
PullRequests bool `yaml:"pull_requests"`
Wiki bool `yaml:"wiki"`
AllMetadata bool `yaml:"all_metadata"`
}
CopyConfig holds copy settings.
type ExcludeConfig ¶
type ExcludeConfig struct {
Workflows bool `yaml:"workflows"` // exclude .github/workflows
Actions bool `yaml:"actions"` // exclude .github/actions
Copilot bool `yaml:"copilot"` // exclude .github/copilot-instructions.md, .github/copilot/
GitHub bool `yaml:"github"` // exclude entire .github directory
Paths []string `yaml:"paths"` // additional paths to exclude
}
ExcludeConfig holds path exclusion settings.
type ReportConfig ¶
ReportConfig holds report settings.
type SourceConfig ¶
type SourceConfig struct {
Repo string `yaml:"repo"`
Host string `yaml:"host"`
Public bool `yaml:"public"`
}
SourceConfig holds source repository settings.
Click to show internal directories.
Click to hide internal directories.