Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRegistry ¶
Types ¶
type BootConfig ¶
type Paths ¶
func ResolvePaths ¶
type Provider ¶
type Provider interface {
DefaultRegistry() string
BuildURL(reg, version, arch string) string
// Validate returns a descriptive error for any unsupported version or arch
// before a download is attempted.
Validate(version, arch string) error
// BootConfig returns the partition and filename patterns needed to extract
// the kernel and initrd from a pulled disk image.
BootConfig(version, arch string) (BootConfig, error)
}
Provider is implemented by each distro sub-package.
Click to show internal directories.
Click to hide internal directories.