Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlpineDownloader ¶
type AlpineDownloader struct {
Downloader
}
func NewAlpineDownloader ¶
func NewAlpineDownloader() (d *AlpineDownloader)
func (*AlpineDownloader) GetDownloaderForVersion ¶
func (d *AlpineDownloader) GetDownloaderForVersion(version, arch string) *FileDownloader
type Downloader ¶
type Downloader struct { TargetDir string FileMetadatas []*FileMetadata FileDownloaders map[string]*FileDownloader // contains filtered or unexported fields }
func (*Downloader) GetDownloader ¶
func (d *Downloader) GetDownloader(filename string) (fd *FileDownloader)
func (*Downloader) GetMetadata ¶
func (d *Downloader) GetMetadata(filename string) (m *FileMetadata)
func (*Downloader) GetMetadatas ¶
func (d *Downloader) GetMetadatas() []*FileMetadata
func (*Downloader) StartDownload ¶
func (d *Downloader) StartDownload(filename string) (fd *FileDownloader)
type FileDownloader ¶
type FileDownloader struct { MetaData *FileMetadata // contains filtered or unexported fields }
func (*FileDownloader) DownloadCompleted ¶
func (fd *FileDownloader) DownloadCompleted() bool
func (*FileDownloader) DownloadVerified ¶
func (fd *FileDownloader) DownloadVerified() bool
func (*FileDownloader) GetTargetFile ¶
func (fd *FileDownloader) GetTargetFile() string
func (*FileDownloader) StartDownload ¶
func (fd *FileDownloader) StartDownload()
Click to show internal directories.
Click to hide internal directories.