Documentation
¶
Index ¶
- Constants
- Variables
- type ProcessCallback
- type Report
- func (r *Report) GetPackage(state providers.ResultState) int
- func (r *Report) GetPackages(state providers.ResultState) int
- func (r *Report) GetSuccessByType(packageType string) int
- func (r *Report) GetTotalFailures() int
- func (r *Report) GetTotalSuccess() int
- func (r *Report) IncFiles(result providers.ResultState)
- func (r *Report) IncPackages(result providers.ResultState)
- func (r *Report) IncVersions(result providers.ResultState)
- func (r *Report) Print(name string)
Constants ¶
View Source
const ARE_YOU_SURE_YOU_EXPORTED = "Are you sure you exported first? gh migrate-packages export --help"
Variables ¶
View Source
var SUPPORTED_PACKAGE_TYPES = []string{"container", "rubygems", "maven", "npm", "nuget"}
Functions ¶
This section is empty.
Types ¶
type ProcessCallback ¶
type Report ¶
type Report struct {
PackageSuccess int
VersionSuccess int
FileSuccess int
PackagesSkipped int
VersionsSkipped int
FilesSkipped int
PackagesFailed int
VersionsFailed int
FilesFailed int
PackagesByType map[string]int
// contains filtered or unexported fields
}
func ProcessPackages ¶
func (*Report) GetPackage ¶
func (r *Report) GetPackage(state providers.ResultState) int
func (*Report) GetPackages ¶
func (r *Report) GetPackages(state providers.ResultState) int
func (*Report) GetSuccessByType ¶
func (*Report) GetTotalFailures ¶
func (*Report) GetTotalSuccess ¶
func (*Report) IncFiles ¶
func (r *Report) IncFiles(result providers.ResultState)
func (*Report) IncPackages ¶
func (r *Report) IncPackages(result providers.ResultState)
func (*Report) IncVersions ¶
func (r *Report) IncVersions(result providers.ResultState)
Click to show internal directories.
Click to hide internal directories.