Documentation ¶
Index ¶
- Constants
- Variables
- func ArchivePrefix(name string) error
- func ArchivePrefixHandler(u *url.URL) error
- func BackupMetadata() error
- func BackupMetadataHandler(_ *url.URL) error
- func CacheGitHubReleases(operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func CacheGitHubReleasesHandler(u *url.URL) error
- func CheckGstreamer() error
- func CheckGstreamerHandler(u *url.URL) error
- func CleanupGitHubReleases(operatingSystems []vangogh_local_data.OperatingSystem) error
- func CleanupGitHubReleasesHandler(u *url.URL) error
- func CurrentOS() vangogh_local_data.OperatingSystem
- func Download(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func DownloadHandler(u *url.URL) error
- func Extract(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func ExtractHandler(u *url.URL) error
- func FinalizeInstallation(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func FinalizeInstallationHandler(u *url.URL) error
- func GetDownloadMetadata(id string, operatingSystems []vangogh_local_data.OperatingSystem, ...) (*vangogh_local_data.DownloadMetadata, error)
- func GetDownloadsMetadata(ids []string, force bool) error
- func GetDownloadsMetadataHandler(u *url.URL) error
- func GetGitHubReleases(operatingSystems []vangogh_local_data.OperatingSystem, force bool) error
- func GetGitHubReleasesHandler(u *url.URL) error
- func Ids(u *url.URL) []string
- func InitPrefix(name string, releaseSelector *data.GitHubReleaseSelector, force bool) error
- func InitPrefixHandler(u *url.URL) error
- func Install(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func InstallHandler(u *url.URL) error
- func ListInstalled() error
- func ListInstalledHandler(u *url.URL) error
- func NativeInstall(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func NativeInstallHandler(u *url.URL) error
- func OsLangCodeDownloadType(u *url.URL) ([]vangogh_local_data.OperatingSystem, []string, ...)
- func PinInstalledMetadata(ids []string, force bool) error
- func PinInstalledMetadataHandler(u *url.URL) error
- func PlaceExtracts(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func PlaceExtractsHandler(u *url.URL) error
- func PostInstallScriptPath(productExtractsDir string, link vangogh_local_data.DownloadLink) string
- func PrintReleaseSelector(operatingSystems []vangogh_local_data.OperatingSystem, ...)
- func RemoveDownloads(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func RemoveDownloadsHandler(u *url.URL) error
- func RemoveExtracts(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func RemoveExtractsHandler(u *url.URL) error
- func RemoveGitHubBinaries(operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func RemoveGitHubBinariesHandler(u *url.URL) error
- func RemovePrefix(name string, noArchive, force bool) error
- func RemovePrefixHandler(u *url.URL) error
- func ResetSetup() error
- func ResetSetupHandler(_ *url.URL) error
- func RevealBackups() error
- func RevealBackupsHandler(_ *url.URL) error
- func RevealDownloads(ids []string) error
- func RevealDownloadsHandler(u *url.URL) error
- func RevealInstalled(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func RevealInstalledHandler(u *url.URL) error
- func RevealPrefix(name string) error
- func RevealPrefixHandler(u *url.URL) error
- func Serve(port int, stderr bool) error
- func ServeHandler(u *url.URL) error
- func Setup(protocol, address, port string, username, password string, installPath string) error
- func SetupHandler(u *url.URL) error
- func TestSetup() error
- func TestSetupHandler(_ *url.URL) error
- func Uninstall(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func UninstallHandler(u *url.URL) error
- func UnpackGitHubReleases(operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func UnpackGitHubReleasesHandler(u *url.URL) error
- func UpdatePrefix(name string, releaseSelector *data.GitHubReleaseSelector) error
- func UpdatePrefixHandler(u *url.URL) error
- func UpdateWine(operatingSystems []vangogh_local_data.OperatingSystem, force bool) error
- func UpdateWineHandler(u *url.URL) error
- func Validate(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, ...) error
- func ValidateHandler(u *url.URL) error
- func VersionHandler(_ *url.URL) error
- type PostInstallScript
- type SetupProperties
- type ValidationResult
Constants ¶
View Source
const ( ValResMismatch = "mismatch" ValResError = "error" ValResMissingChecksum = "missing checksum" ValResFileNotFound = "file not found" ValResValid = "valid" )
Variables ¶
View Source
var (
GitTag string
)
Functions ¶
func ArchivePrefix ¶ added in v0.1.27
func ArchivePrefixHandler ¶ added in v0.1.27
func BackupMetadata ¶ added in v0.1.27
func BackupMetadata() error
func BackupMetadataHandler ¶ added in v0.1.27
func CacheGitHubReleases ¶ added in v0.1.23
func CacheGitHubReleases(operatingSystems []vangogh_local_data.OperatingSystem, releaseSelector *data.GitHubReleaseSelector, force bool) error
func CacheGitHubReleasesHandler ¶ added in v0.1.23
func CheckGstreamer ¶ added in v0.1.27
func CheckGstreamer() error
func CheckGstreamerHandler ¶ added in v0.1.27
func CleanupGitHubReleases ¶ added in v0.1.23
func CleanupGitHubReleases(operatingSystems []vangogh_local_data.OperatingSystem) error
func CleanupGitHubReleasesHandler ¶ added in v0.1.23
func CurrentOS ¶ added in v0.1.6
func CurrentOS() vangogh_local_data.OperatingSystem
func Download ¶ added in v0.1.1
func Download(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string, downloadTypes []vangogh_local_data.DownloadType, force bool) error
func DownloadHandler ¶ added in v0.1.1
func Extract ¶ added in v0.1.6
func Extract(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string, downloadTypes []vangogh_local_data.DownloadType, force bool) error
func ExtractHandler ¶ added in v0.1.6
func FinalizeInstallation ¶ added in v0.1.6
func FinalizeInstallation(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string, sign bool) error
func FinalizeInstallationHandler ¶ added in v0.1.6
func GetDownloadMetadata ¶ added in v0.1.23
func GetDownloadMetadata(id string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string, downloadTypes []vangogh_local_data.DownloadType, force bool) (*vangogh_local_data.DownloadMetadata, error)
func GetDownloadsMetadata ¶ added in v0.1.1
func GetDownloadsMetadataHandler ¶ added in v0.1.1
func GetGitHubReleases ¶ added in v0.1.23
func GetGitHubReleases(operatingSystems []vangogh_local_data.OperatingSystem, force bool) error
func GetGitHubReleasesHandler ¶ added in v0.1.23
func InitPrefix ¶ added in v0.1.27
func InitPrefix(name string, releaseSelector *data.GitHubReleaseSelector, force bool) error
func InitPrefixHandler ¶ added in v0.1.27
func Install ¶ added in v0.1.3
func Install(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string, downloadTypes []vangogh_local_data.DownloadType, native bool, keepDownloads bool, sign bool, force bool) error
func InstallHandler ¶ added in v0.1.3
func ListInstalled ¶ added in v0.1.13
func ListInstalled() error
func ListInstalledHandler ¶ added in v0.1.13
func NativeInstall ¶ added in v0.1.12
func NativeInstall(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string, downloadTypes []vangogh_local_data.DownloadType, force bool) error
func NativeInstallHandler ¶ added in v0.1.12
func OsLangCodeDownloadType ¶ added in v0.1.4
func OsLangCodeDownloadType(u *url.URL) ([]vangogh_local_data.OperatingSystem, []string, []vangogh_local_data.DownloadType)
func PinInstalledMetadata ¶ added in v0.1.6
func PinInstalledMetadataHandler ¶ added in v0.1.6
func PlaceExtracts ¶ added in v0.1.6
func PlaceExtracts(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string, downloadTypes []vangogh_local_data.DownloadType, force bool) error
func PlaceExtractsHandler ¶ added in v0.1.6
func PostInstallScriptPath ¶ added in v0.1.7
func PostInstallScriptPath(productExtractsDir string, link vangogh_local_data.DownloadLink) string
func PrintReleaseSelector ¶ added in v0.1.24
func PrintReleaseSelector(operatingSystems []vangogh_local_data.OperatingSystem, releaseSelector *data.GitHubReleaseSelector)
func RemoveDownloads ¶ added in v0.1.3
func RemoveDownloads(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string, force bool) error
func RemoveDownloadsHandler ¶ added in v0.1.3
func RemoveExtracts ¶ added in v0.1.6
func RemoveExtracts(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string, force bool) error
func RemoveExtractsHandler ¶ added in v0.1.6
func RemoveGitHubBinaries ¶ added in v0.1.25
func RemoveGitHubBinaries(operatingSystems []vangogh_local_data.OperatingSystem, releaseSelector *data.GitHubReleaseSelector, force bool) error
func RemoveGitHubBinariesHandler ¶ added in v0.1.25
func RemovePrefix ¶ added in v0.1.28
func RemovePrefixHandler ¶ added in v0.1.28
func ResetSetup ¶ added in v0.1.1
func ResetSetup() error
func ResetSetupHandler ¶ added in v0.1.1
func RevealBackups ¶ added in v0.1.28
func RevealBackups() error
func RevealBackupsHandler ¶ added in v0.1.28
func RevealDownloads ¶ added in v0.1.3
func RevealDownloadsHandler ¶ added in v0.1.3
func RevealInstalled ¶ added in v0.1.7
func RevealInstalled(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string) error
func RevealInstalledHandler ¶ added in v0.1.7
func RevealPrefix ¶ added in v0.1.27
func RevealPrefixHandler ¶ added in v0.1.27
func ServeHandler ¶ added in v0.1.19
func SetupHandler ¶
func TestSetupHandler ¶
func Uninstall ¶ added in v0.1.14
func Uninstall(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, keepDownloads bool, force bool) error
func UninstallHandler ¶ added in v0.1.14
func UnpackGitHubReleases ¶ added in v0.1.24
func UnpackGitHubReleases(operatingSystems []vangogh_local_data.OperatingSystem, releaseSelector *data.GitHubReleaseSelector, force bool) error
func UnpackGitHubReleasesHandler ¶ added in v0.1.24
func UpdatePrefix ¶ added in v0.1.27
func UpdatePrefix(name string, releaseSelector *data.GitHubReleaseSelector) error
func UpdatePrefixHandler ¶ added in v0.1.27
func UpdateWine ¶ added in v0.1.27
func UpdateWine(operatingSystems []vangogh_local_data.OperatingSystem, force bool) error
func UpdateWineHandler ¶ added in v0.1.27
func Validate ¶ added in v0.1.2
func Validate(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string) error
func ValidateHandler ¶ added in v0.1.2
func VersionHandler ¶
Types ¶
type PostInstallScript ¶ added in v0.1.6
type PostInstallScript struct {
// contains filtered or unexported fields
}
func ParsePostInstallScript ¶ added in v0.1.6
func ParsePostInstallScript(path string) (*PostInstallScript, error)
func (*PostInstallScript) BundleName ¶ added in v0.1.6
func (pis *PostInstallScript) BundleName() string
func (*PostInstallScript) CustomCommands ¶ added in v0.1.6
func (pis *PostInstallScript) CustomCommands() []string
func (*PostInstallScript) InstallerType ¶ added in v0.1.6
func (pis *PostInstallScript) InstallerType() string
type SetupProperties ¶ added in v0.1.1
type ValidationResult ¶ added in v0.1.5
type ValidationResult string
Source Files ¶
- archive_prefix.go
- backup_metadata.go
- cache_github_releases.go
- check_gstreamer.go
- cleanup_github_releases.go
- download.go
- extract.go
- finalize_installation.go
- get_downloads_metadata.go
- get_github_releases.go
- get_title_download_links.go
- init_prefix.go
- install.go
- list_installed.go
- native_install.go
- pin_installed_metadata.go
- place_extracts.go
- postinstall_script.go
- print_release_selector.go
- remove_downloads.go
- remove_extracts.go
- remove_github_binaries.go
- remove_prefix.go
- reset_setup.go
- reveal_backups.go
- reveal_downloads.go
- reveal_installed.go
- reveal_prefix.go
- serve.go
- setup.go
- test_setup.go
- uninstall.go
- unpack_github_releases.go
- update_prefix.go
- update_wine.go
- url_params.go
- validate.go
- version.go
Click to show internal directories.
Click to hide internal directories.