Documentation ¶
Index ¶
- Variables
- func AssetList(partial string) []string
- func AssetPath(partial string) string
- func CreateDirectory(path string, mode os.FileMode) error
- func ExecCommand(envVariables []string, commandName string, args ...string) (string, error)
- func GetSha256(path string) string
- func InvalidPath(path string) bool
- func IsAMD64() bool
- func IsLinux() bool
- func IsRHEL() bool
- func IsUserRoot() bool
- func PlaceAsset(source string, destination string)
- func RunPreflightChecks()
- func RunTarballChecksumValidate()
- func SilentExecCommand(envVariables []string, commandName string, args ...string) error
- func VerifyBinary(binary string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ArchivePath = "shift-pack.tar.zst"
View Source
var TempDestination string
Functions ¶
func ExecCommand ¶
ExecCommand performs a process execution outside of Go
func IsUserRoot ¶
func IsUserRoot() bool
func PlaceAsset ¶
func RunPreflightChecks ¶
func RunPreflightChecks()
func RunTarballChecksumValidate ¶
func RunTarballChecksumValidate()
func SilentExecCommand ¶
SilentExecCommand
func VerifyBinary ¶
VerifyBinary returns true if binary is available
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.