Documentation
¶
Index ¶
- func DownloadRootfs(machine, arch, version string) (io.ReadCloser, int64, error)
- func FreeBSDArch(ctx context.Context) (string, error)
- func FreeBSDMachine(ctx context.Context) (string, error)
- func FreeBSDVersion(ctx context.Context) (string, error)
- func MakeImage(rootfsFilename string, outputFilename string, arch string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadRootfs ¶
func DownloadRootfs(machine, arch, version string) (io.ReadCloser, int64, error)
DownloadRootfs downloads a FreeBSD root filesystem
func FreeBSDArch ¶
FreeBSDArch returns the current architecture as reported by uname(1)
func FreeBSDMachine ¶
FreeBSDMachine returns the current hardware platform as reported by uname(1)
func FreeBSDVersion ¶
FreeBSDVersion returns the current version as reported by freebsd-version(1)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.