Versions in this module Expand all Collapse all v1 v1.0.0 Dec 30, 2021 Changes in this version + var ErrLabel = errors.New(`label error`) + type Configuration interface + ConfFile func() string + DistroLabel func() string + Elevated func() bool + FFU func() bool + FileName func() string + Image func() string + ImageFile func() string + Path func() string + PowerOff func() bool + SFUDest func() string + SFUManifest func() string + SFUPath func() string + SeedDest func() string + SeedFile func() string + SeedServer func() string + UpdateOnly func() bool + type Device interface + DetectPartitions func(bool) error + Dismount func() error + Eject func() error + FriendlyName func() string + Identifier func() string + Partition func(string) error + SelectPartition func(uint64, storage.FileSystem) (*storage.Partition, error) + Size func() uint64 + Wipe func() error + type Installer struct + func New(config Configuration) (*Installer, error) + func (i *Installer) Cache() string + func (i *Installer) DownloadSFU() error + func (i *Installer) Finalize(devices []Device, dismount bool) error + func (i *Installer) PlaceSFU(d Device) error + func (i *Installer) Prepare(d Device) error + func (i *Installer) Provision(d Device) error + func (i *Installer) Retrieve() (err error) + type SFUManifest struct + Filename string