Documentation ¶
Index ¶
- func CreateDir(path string) error
- func Download(fileName string, workDir string, url string) (err error)
- func Extract(d *Distribution, command Command) (string, error)
- func GetDistributionName(d *Distribution) string
- func GetDistributionUrl(d *Distribution) string
- func GetTmpDir(d *Distribution) string
- func GetWorkDir(d *Distribution) string
- type Command
- type Configuration
- type Distribution
- type Process
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDistributionName ¶
func GetDistributionName(d *Distribution) string
func GetDistributionUrl ¶
func GetDistributionUrl(d *Distribution) string
func GetTmpDir ¶
func GetTmpDir(d *Distribution) string
func GetWorkDir ¶
func GetWorkDir(d *Distribution) string
Types ¶
type Configuration ¶
type Distribution ¶
type Distribution struct { Configuration Url string Os string Platform string Extension string Tmp string }
func NewDistribution ¶
func NewDistribution(configuration Configuration) *Distribution
Click to show internal directories.
Click to hide internal directories.