cli

package
v0.1.31 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 31 Imported by: 0

Documentation

Index

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 ArchivePrefix(name string) error

func ArchivePrefixHandler added in v0.1.27

func ArchivePrefixHandler(u *url.URL) error

func BackupMetadata added in v0.1.27

func BackupMetadata() error

func BackupMetadataHandler added in v0.1.27

func BackupMetadataHandler(_ *url.URL) error

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 CacheGitHubReleasesHandler(u *url.URL) error

func CheckGstreamer added in v0.1.27

func CheckGstreamer() error

func CheckGstreamerHandler added in v0.1.27

func CheckGstreamerHandler(u *url.URL) error

func CleanupGitHubReleases added in v0.1.23

func CleanupGitHubReleases(operatingSystems []vangogh_local_data.OperatingSystem) error

func CleanupGitHubReleasesHandler added in v0.1.23

func CleanupGitHubReleasesHandler(u *url.URL) error

func CurrentOS added in v0.1.6

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 DownloadHandler(u *url.URL) error

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 GetDownloadsMetadata(ids []string, force bool) error

func GetDownloadsMetadataHandler added in v0.1.1

func GetDownloadsMetadataHandler(u *url.URL) error

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 GetGitHubReleasesHandler(u *url.URL) error

func Ids added in v0.1.4

func Ids(u *url.URL) []string

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 InitPrefixHandler(u *url.URL) error

func Install added in v0.1.3

func Install(ids []string,
	langCode string,
	downloadTypes []vangogh_local_data.DownloadType,
	keepDownloads bool,
	force bool) error

func InstallHandler added in v0.1.3

func InstallHandler(u *url.URL) error

func ListInstalled added in v0.1.13

func ListInstalled() error

func ListInstalledHandler added in v0.1.13

func ListInstalledHandler(u *url.URL) error

func ModPrefixDxVk added in v0.1.29

func ModPrefixDxVk(name string, releaseSelector *data.GitHubReleaseSelector, revert, force bool) error

func ModPrefixDxVkHandler added in v0.1.29

func ModPrefixDxVkHandler(u *url.URL) error

func ModPrefixRetina added in v0.1.29

func ModPrefixRetina(name string, releaseSelector *data.GitHubReleaseSelector, revert, force bool) error

func ModPrefixRetinaHandler added in v0.1.29

func ModPrefixRetinaHandler(u *url.URL) error

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 PinInstalledMetadata(ids []string, force bool) error

func PinInstalledMetadataHandler added in v0.1.6

func PinInstalledMetadataHandler(u *url.URL) error

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 RemoveDownloadsHandler(u *url.URL) error

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 RemoveGitHubBinariesHandler(u *url.URL) error

func RemovePrefix added in v0.1.28

func RemovePrefix(name string, noArchive, force bool) error

func RemovePrefixHandler added in v0.1.28

func RemovePrefixHandler(u *url.URL) error

func ResetVangoghConnection added in v0.1.31

func ResetVangoghConnection() error

func ResetVangoghConnectionHandler added in v0.1.31

func ResetVangoghConnectionHandler(_ *url.URL) error

func RevealBackups added in v0.1.28

func RevealBackups() error

func RevealBackupsHandler added in v0.1.28

func RevealBackupsHandler(_ *url.URL) error

func RevealDownloads added in v0.1.3

func RevealDownloads(ids []string) error

func RevealDownloadsHandler added in v0.1.3

func RevealDownloadsHandler(u *url.URL) error

func RevealInstalled added in v0.1.7

func RevealInstalled(ids []string, langCode string) error

func RevealInstalledHandler added in v0.1.7

func RevealInstalledHandler(u *url.URL) error

func RevealPrefix added in v0.1.27

func RevealPrefix(name string) error

func RevealPrefixHandler added in v0.1.27

func RevealPrefixHandler(u *url.URL) error

func Serve added in v0.1.19

func Serve(port int, stderr bool) error

func ServeHandler added in v0.1.19

func ServeHandler(u *url.URL) error

func SetVangoghConnection added in v0.1.31

func SetVangoghConnection(
	protocol, address, port string,
	username, password string) error

func SetVangoghConnectionHandler added in v0.1.31

func SetVangoghConnectionHandler(u *url.URL) error

func TestVangoghConnection added in v0.1.31

func TestVangoghConnection() error

func TestVangoghConnectionHandler added in v0.1.31

func TestVangoghConnectionHandler(_ *url.URL) error

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 UninstallHandler(u *url.URL) error

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 UnpackGitHubReleasesHandler(u *url.URL) error

func UpdatePrefix added in v0.1.27

func UpdatePrefix(name string, releaseSelector *data.GitHubReleaseSelector) error

func UpdatePrefixHandler added in v0.1.27

func UpdatePrefixHandler(u *url.URL) error

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 UpdateWineHandler(u *url.URL) error

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 ValidateHandler(u *url.URL) error

func VersionHandler

func VersionHandler(_ *url.URL) error

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 SetupProperties map[string]string

type ValidationResult added in v0.1.5

type ValidationResult string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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