files

package
v0.0.0-...-4c03c20 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CachePath     = "/mnt/cache/"
	ElasticURLFmt = "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-%s-no-jdk-windows-x86_64.zip"
	JavaURL       = "" /* 129-byte string literal not displayed */
)

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string) error

func CopyRecursive

func CopyRecursive(src, dst string) error

func DownloadFile

func DownloadFile(url, filename string) (string, error)

func GetElasticURL

func GetElasticURL(version string) string

func Untar

func Untar(dst string, r io.Reader) ([]string, error)

func Unzip

func Unzip(src string, dest string) ([]string, error)

Unzip will take a zip file path as src, and unzip it to the dest

Types

This section is empty.

Jump to

Keyboard shortcuts

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