sources

package
v0.0.0-...-c429f89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ALTHTTP

type ALTHTTP struct{}

ALTHTTP represents the ALT Linux downloader.

func NewALTHTTP

func NewALTHTTP() *ALTHTTP

NewALTHTTP creates a new ALTHTTP instance.

func (*ALTHTTP) Run

func (s *ALTHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads the tarball and unpacks it.

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(definition shared.Definition, rootfsDir string) error

Run downloads an Alpine Linux mini root filesystem.

type ApertisHTTP

type ApertisHTTP struct{}

ApertisHTTP represents the Apertis downloader.

func NewApertisHTTP

func NewApertisHTTP() *ApertisHTTP

NewApertisHTTP creates a new ApertisHTTP instance.

func (*ApertisHTTP) Run

func (s *ApertisHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads the tarball and unpacks it.

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(definition shared.Definition, 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(definition shared.Definition, 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(definition shared.Definition, rootfsDir string) error

Run runs debootstrap.

type DockerHTTP

type DockerHTTP struct{}

DockerHTTP represents the Docker HTTP downloader.

func NewDockerHTTP

func NewDockerHTTP() *DockerHTTP

NewDockerHTTP create a new DockerHTTP instance.

func (*DockerHTTP) Run

func (d *DockerHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads and unpacks a docker image

type Downloader

type Downloader interface {
	Run(shared.Definition, string) error
}

A Downloader represents a source downloader.

func Get

func Get(name string) Downloader

Get returns a Downloader.

type FedoraHTTP

type FedoraHTTP struct{}

FedoraHTTP represents the Fedora HTTP downloader.

func NewFedoraHTTP

func NewFedoraHTTP() *FedoraHTTP

NewFedoraHTTP creates a new FedoraHTTP instance.

func (*FedoraHTTP) Run

func (s *FedoraHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads a container base image and unpacks it and its layers.

type FuntooHTTP

type FuntooHTTP struct{}

FuntooHTTP represents the Funtoo downloader.

func NewFuntooHTTP

func NewFuntooHTTP() *FuntooHTTP

NewFuntooHTTP creates a new FuntooHTTP instance.

func (*FuntooHTTP) Run

func (s *FuntooHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads a Funtoo stage3 tarball.

type GentooHTTP

type GentooHTTP struct{}

GentooHTTP represents the Alpine Linux downloader.

func NewGentooHTTP

func NewGentooHTTP() *GentooHTTP

NewGentooHTTP creates a new GentooHTTP instance.

func (*GentooHTTP) Run

func (s *GentooHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads a Gentoo stage3 tarball.

type OpenSUSEHTTP

type OpenSUSEHTTP struct{}

OpenSUSEHTTP represents the OpenSUSE HTTP downloader.

func NewOpenSUSEHTTP

func NewOpenSUSEHTTP() *OpenSUSEHTTP

NewOpenSUSEHTTP creates a new OpenSUSEHTTP instance.

func (*OpenSUSEHTTP) Run

func (s *OpenSUSEHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads an OpenSUSE tarball.

type OpenWrtHTTP

type OpenWrtHTTP struct{}

OpenWrtHTTP represents the ALT Linux downloader.

func NewOpenWrtHTTP

func NewOpenWrtHTTP() *OpenWrtHTTP

NewOpenWrtHTTP creates a new OpenWrtHTTP instance.

func (*OpenWrtHTTP) Run

func (s *OpenWrtHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads the tarball and unpacks it.

type OracleLinuxHTTP

type OracleLinuxHTTP struct {
	// contains filtered or unexported fields
}

OracleLinuxHTTP represents the Oracle Linux downloader.

func NewOracleLinuxHTTP

func NewOracleLinuxHTTP() *OracleLinuxHTTP

NewOracleLinuxHTTP creates a new OracleLinuxHTTP instance.

func (*OracleLinuxHTTP) Run

func (s *OracleLinuxHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads Oracle Linux.

type PlamoLinuxHTTP

type PlamoLinuxHTTP struct {
}

PlamoLinuxHTTP represents the Plamo Linux downloader.

func NewPlamoLinuxHTTP

func NewPlamoLinuxHTTP() *PlamoLinuxHTTP

NewPlamoLinuxHTTP creates a new PlamoLinuxHTTP instance.

func (*PlamoLinuxHTTP) Run

func (s *PlamoLinuxHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads Plamo Linux.

type SabayonHTTP

type SabayonHTTP struct{}

SabayonHTTP represents the Sabayon Linux downloader.

func NewSabayonHTTP

func NewSabayonHTTP() *SabayonHTTP

NewSabayonHTTP creates a new SabayonHTTP instance.

func (*SabayonHTTP) Run

func (s *SabayonHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads a Sabayon tarball.

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(definition shared.Definition, rootfsDir string) error

Run downloads the tarball and unpacks it.

type VoidLinuxHTTP

type VoidLinuxHTTP struct{}

VoidLinuxHTTP represents the Alpine Linux downloader.

func NewVoidLinuxHTTP

func NewVoidLinuxHTTP() *VoidLinuxHTTP

NewVoidLinuxHTTP creates a new VoidLinuxHTTP instance.

func (*VoidLinuxHTTP) Run

func (s *VoidLinuxHTTP) Run(definition shared.Definition, rootfsDir string) error

Run downloads a Void Linux rootfs tarball.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL