Documentation
¶
Index ¶
- type AbortBinaryOverwriteError
- type AlreadyInstalledLatestTagError
- type AssetsNotFoundError
- type BinaryMismatchError
- type BinaryNotInstalledError
- type CLIFlagAndInputError
- type EmptyCLIInputError
- type ExitUserSelectionError
- type IndexOutOfBoundsInLockfileError
- type InstalledFromURLError
- type InvalidGithubSearchQueryError
- type NoBinariesInstalledError
- type NoGithubSearchResultsError
- type NoPackagesInLockfileError
- type NonZeroStatusCodeDownloadError
- type NonZeroStatusCodeError
- type ReleasesNotFoundError
- type UnrecognizedInputError
- type ZegetPathNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortBinaryOverwriteError ¶
type AbortBinaryOverwriteError struct {
Binary string
}
AbortBinaryOverwriteError occurs if the overwrite of a binary is aborted
func (AbortBinaryOverwriteError) Error ¶
func (e AbortBinaryOverwriteError) Error() string
type AlreadyInstalledLatestTagError ¶
type AlreadyInstalledLatestTagError struct {
Tag string
}
AlreadyInstalledLatestTagError occurs if you try to upgrade a binary but the latest version is already installed
func (AlreadyInstalledLatestTagError) Error ¶
func (e AlreadyInstalledLatestTagError) Error() string
type AssetsNotFoundError ¶
type AssetsNotFoundError struct {
Tag string
}
AssetsNotFoundError occurs if no assets are found for a GitHub release
func (AssetsNotFoundError) Error ¶
func (e AssetsNotFoundError) Error() string
type BinaryMismatchError ¶
type BinaryMismatchError struct {
BinaryName string
}
func (BinaryMismatchError) Error ¶
func (e BinaryMismatchError) Error() string
type BinaryNotInstalledError ¶
type BinaryNotInstalledError struct {
Binary string
}
BinaryNotInstalledError occurs if you try to operate on a binary that is not installed
func (BinaryNotInstalledError) Error ¶
func (e BinaryNotInstalledError) Error() string
type CLIFlagAndInputError ¶
type CLIFlagAndInputError struct {
}
CLIFlagAndInputError occurs if you try to use a CLI flag with a CLI input at the same time
func (CLIFlagAndInputError) Error ¶
func (e CLIFlagAndInputError) Error() string
type EmptyCLIInputError ¶
type EmptyCLIInputError struct {
}
EmptyCLIInputError occurs if the CLI input is empty
func (EmptyCLIInputError) Error ¶
func (e EmptyCLIInputError) Error() string
type ExitUserSelectionError ¶
type ExitUserSelectionError struct {
Err error
}
ExitUserSelectionError occurs when exiting from the terminal UI
func (ExitUserSelectionError) Error ¶
func (e ExitUserSelectionError) Error() string
type IndexOutOfBoundsInLockfileError ¶
type IndexOutOfBoundsInLockfileError struct {
}
IndexOutOfBoundsInLockfileError occurs if you try to access an out-of-bounds index in the lockfile packages
func (IndexOutOfBoundsInLockfileError) Error ¶
func (e IndexOutOfBoundsInLockfileError) Error() string
type InstalledFromURLError ¶
type InstalledFromURLError struct {
Binary string
}
InstalledFromURLError occurs if you try to perform GitHub specific actions on a binary installed directly from a URL
func (InstalledFromURLError) Error ¶
func (e InstalledFromURLError) Error() string
type InvalidGithubSearchQueryError ¶
type InvalidGithubSearchQueryError struct {
SearchQuery string
}
InvalidGithubSearchQueryError occurs if the GitHub search query contains invalid characters
func (InvalidGithubSearchQueryError) Error ¶
func (e InvalidGithubSearchQueryError) Error() string
type NoBinariesInstalledError ¶
type NoBinariesInstalledError struct {
}
NoBinariesInstalledError occurs if you try to operate on a binary but no binaries are installed
func (NoBinariesInstalledError) Error ¶
func (e NoBinariesInstalledError) Error() string
type NoGithubSearchResultsError ¶
type NoGithubSearchResultsError struct {
SearchQuery string
}
NoGithubSearchResultsError occurs if the GitHub search API returns no items
func (NoGithubSearchResultsError) Error ¶
func (e NoGithubSearchResultsError) Error() string
type NoPackagesInLockfileError ¶
type NoPackagesInLockfileError struct {
}
NoPackagesInLockfileError occurs if you try to remove packages from a lockfile without any packages
func (NoPackagesInLockfileError) Error ¶
func (e NoPackagesInLockfileError) Error() string
type NonZeroStatusCodeDownloadError ¶
type NonZeroStatusCodeDownloadError struct {
StatusCode int
}
NonZeroStatusCodeDownloadError occurs if a non-zero status code is received when trying to download a file
func (NonZeroStatusCodeDownloadError) Error ¶
func (e NonZeroStatusCodeDownloadError) Error() string
type NonZeroStatusCodeError ¶
type NonZeroStatusCodeError struct {
StatusCode int
}
NonZeroStatusCodeError occurs if a non-zero status code is received from an HTTP request
func (NonZeroStatusCodeError) Error ¶
func (e NonZeroStatusCodeError) Error() string
type ReleasesNotFoundError ¶
ReleasesNotFoundError occurs if no releases are found for a GitHub repo
func (ReleasesNotFoundError) Error ¶
func (e ReleasesNotFoundError) Error() string
type UnrecognizedInputError ¶
type UnrecognizedInputError struct {
}
UnrecognizedInputError occurs if the input is not recognized as a URL or GitHub repo
func (UnrecognizedInputError) Error ¶
func (e UnrecognizedInputError) Error() string
type ZegetPathNotFoundError ¶
type ZegetPathNotFoundError struct {
ZegetPath string
}
ZegetPathNotFoundError occurs if the ~/.zeget path is not found
func (ZegetPathNotFoundError) Error ¶
func (e ZegetPathNotFoundError) Error() string