Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPackageExpired = errors.New("package has expired")
Functions ¶
This section is empty.
Types ¶
type AlpineDownloader ¶
type AlpineDownloader struct {
Mirror string
Version string
Arch string
Repo string
CacheDir string
}
func (*AlpineDownloader) Download ¶
func (d *AlpineDownloader) Download(name string) (*AlpinePackage, error)
func (*AlpineDownloader) SetForArchitecture ¶
func (d *AlpineDownloader) SetForArchitecture(arch hv.CpuArchitecture, cacheDir string) error
type AlpinePackage ¶
type AlpinePackage struct {
// contains filtered or unexported fields
}
func (*AlpinePackage) Close ¶
func (p *AlpinePackage) Close() error
func (*AlpinePackage) ListFiles ¶
func (p *AlpinePackage) ListFiles() []string
Click to show internal directories.
Click to hide internal directories.