Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlpineLinuxHTTP ¶
type AlpineLinuxHTTP struct{}
AlpineLinuxHTTP represents the Alpine Linux downloader.
func NewAlpineLinuxHTTP ¶
func NewAlpineLinuxHTTP() *AlpineLinuxHTTP
NewAlpineLinuxHTTP creates a new AlpineLinuxHTTP instance.
func (*AlpineLinuxHTTP) Run ¶
func (s *AlpineLinuxHTTP) Run(source shared.DefinitionSource, release, arch, rootfsDir string) error
Run downloads an Alpine Linux mini root filesystem.
type ArchLinuxHTTP ¶
type ArchLinuxHTTP struct{}
ArchLinuxHTTP represents the Arch Linux downloader.
func NewArchLinuxHTTP ¶
func NewArchLinuxHTTP() *ArchLinuxHTTP
NewArchLinuxHTTP creates a new ArchLinuxHTTP instance.
func (*ArchLinuxHTTP) Run ¶
func (s *ArchLinuxHTTP) Run(source shared.DefinitionSource, release, arch, rootfsDir string) error
Run downloads an Arch Linux tarball.
type CentOSHTTP ¶
type CentOSHTTP struct {
// contains filtered or unexported fields
}
CentOSHTTP represents the CentOS HTTP downloader.
func NewCentOSHTTP ¶
func NewCentOSHTTP() *CentOSHTTP
NewCentOSHTTP creates a new CentOSHTTP instance.
func (*CentOSHTTP) Run ¶
func (s *CentOSHTTP) Run(source shared.DefinitionSource, release, arch, rootfsDir string) error
Run downloads the tarball and unpacks it.
type Debootstrap ¶
type Debootstrap struct{}
Debootstrap represents the debootstrap downloader.
func NewDebootstrap ¶
func NewDebootstrap() *Debootstrap
NewDebootstrap creates a new Debootstrap instance.
func (*Debootstrap) Run ¶
func (s *Debootstrap) Run(source shared.DefinitionSource, release, arch, rootfsDir string) error
Run runs debootstrap.
type Downloader ¶
A Downloader represents a source downloader.
type UbuntuHTTP ¶
type UbuntuHTTP struct {
// contains filtered or unexported fields
}
UbuntuHTTP represents the Ubuntu HTTP downloader.
func NewUbuntuHTTP ¶
func NewUbuntuHTTP() *UbuntuHTTP
NewUbuntuHTTP creates a new UbuntuHTTP instance.
func (*UbuntuHTTP) Run ¶
func (s *UbuntuHTTP) Run(source shared.DefinitionSource, release, arch, rootfsDir string) error
Run downloads the tarball and unpacks it.