Documentation ¶
Index ¶
- func CreateBootImage(w DirWriter) error
- func NewBase64Reader(r io.Reader) io.Reader
- func NewGZipReader(r io.Reader) (io.Reader, error)
- func NewStringReader(s string) io.Reader
- func TarExtract(r io.Reader, w DirWriter) error
- func TarGzExtract(r io.Reader, w DirWriter) error
- func TarGzFileExtract(tarFile string, w DirWriter) error
- type DirReader
- type DirSeqReader
- type DirWriter
- type FileInfo
- type FileType
- type Settings
- type SettingsAlpine
- type SettingsNetwork
- type SettingsSSH
- type SettingsWLAN
- type TarReader
- type TarWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBootImage ¶
func NewStringReader ¶
func TarGzFileExtract ¶
Types ¶
type DirSeqReader ¶
type DirSeqReader interface { NextFile() (FileInfo, error) OpenFile() (io.ReadCloser, error) }
func NewTarReader ¶
func NewTarReader(r io.Reader) DirSeqReader
type DirWriter ¶
type DirWriter interface { CreateFile(fi FileInfo) (io.WriteCloser, error) Close() error }
func NewFileWriter ¶
type Settings ¶
type Settings struct { Alpine SettingsAlpine Network SettingsNetwork WLAN SettingsWLAN SSH SettingsSSH }
type SettingsAlpine ¶
type SettingsNetwork ¶
type SettingsNetwork struct {
Hostname string
}
type SettingsSSH ¶
type SettingsSSH struct {
AuthorizedKeys string
}
type SettingsWLAN ¶
Click to show internal directories.
Click to hide internal directories.