Documentation
¶
Index ¶
- func DeleteBinaries(basedir, binariesDir string, confirm bool) (deleted bool, err error)
- func DisplayTarball(tarball downloads.TarballDescription)
- func GetRemoteTarball(options DownloadsOptions) error
- func InitEnvironment(options InitOptions) error
- func ProcessBashCompletionEnabling(useRemote, runIt bool, remoteUrl, completionFile string) error
- func RunSandboxQuery[T comparable](sandboxPath, query string, asSuperUser bool) (interface{}, error)
- func ShowVersions(options VersionOptions) error
- func UnpackTarball(options UnpackOptions) error
- type DownloadsOptions
- type InitOptions
- type UnpackOptions
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteBinaries ¶
func DisplayTarball ¶
func DisplayTarball(tarball downloads.TarballDescription)
func GetRemoteTarball ¶
func GetRemoteTarball(options DownloadsOptions) error
func InitEnvironment ¶
func InitEnvironment(options InitOptions) error
func RunSandboxQuery ¶ added in v1.67.0
func RunSandboxQuery[T comparable](sandboxPath, query string, asSuperUser bool) (interface{}, error)
RunSandboxQuery runs a SQL query in a given sandbox directory
func ShowVersions ¶
func ShowVersions(options VersionOptions) error
func UnpackTarball ¶
func UnpackTarball(options UnpackOptions) error
Types ¶
type DownloadsOptions ¶
type DownloadsOptions struct {
SandboxBinary string
TarballName string
TarballUrl string
TarballOS string
TarballArch string
Flavor string
TargetServer string
Prefix string
Version string
Newest bool
Minimal bool
GuessLatest bool
Unpack bool
Overwrite bool
DeleteAfterUnpack bool
DryRun bool
IsShell bool
Quiet bool
Retries int64
VerbosityLevel int
ProgressStep int64
}
type InitOptions ¶
type UnpackOptions ¶
type VersionOptions ¶
Click to show internal directories.
Click to hide internal directories.