Documentation ¶
Index ¶
- func CopyFile(src, dst string) error
- func EnableStartService(servicesNames []string)
- func ExtractTarGz(gzipStream io.Reader, dir string) error
- func FindFiles(root string, targets []string) ([]string, error)
- func InstallBin(binFiles []string, destinationDir string)
- func InstallSysPkg(pkgNames []string)
- func MoveFile(src, dst string) error
- func RemoveSysPkg(pkgNames []string)
- func TemplateFile(templatePath string, destinationPath string, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableStartService ¶
func EnableStartService(servicesNames []string)
func ExtractTarGz ¶
extractTarGz extracts a .tar.gz file from an io.Reader and writes the contents to the specified directory.
func InstallBin ¶
func InstallSysPkg ¶
func InstallSysPkg(pkgNames []string)
func RemoveSysPkg ¶
func RemoveSysPkg(pkgNames []string)
func TemplateFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.