Documentation ¶
Index ¶
- Variables
- func GetArchDiff(current, target []string) (add, del []string)
- func GetValidatedArchs() []string
- func PackagePath(name string) string
- func PreparePackage(cluster *types.Cluster) (*common.Package, error)
- func ReadToTmp(fp io.Reader, name string) (string, error)
- func RemovePackage(name string) error
- func SaveToTmp(path, name string) (string, error)
- func ScpFiles(clusterName string, pkg *common.Package, dialer *hosts.SSHDialer) error
- func TarAndGzip(from, to string) error
- func TarAndGzipToWriter(from string, to io.Writer) error
- func TempDir(name string) string
- func ValidateArchs(archs []string) error
- func VerifyFiles(basePath string) (*common.Package, error)
- type Downloader
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetArchDiff ¶
func GetValidatedArchs ¶
func GetValidatedArchs() []string
func PackagePath ¶
func RemovePackage ¶
func TarAndGzip ¶
func ValidateArchs ¶
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func NewDownloader ¶
func NewDownloader(pkg common.Package) (*Downloader, error)
func (*Downloader) DownloadPackage ¶
func (d *Downloader) DownloadPackage() (string, error)
Click to show internal directories.
Click to hide internal directories.