Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlashObject ¶
type FlashObject struct { metadata.ObjectMetadata utils.CmdLineExecuter FileSystemBackend afero.Fs mtd.MtdUtils installifdifferent.TargetProvider Target string `json:"target"` TargetType string `json:"target-type"` // contains filtered or unexported fields }
FlashObject encapsulates the "flash" handler data and functions
func (*FlashObject) Cleanup ¶
func (f *FlashObject) Cleanup() error
Cleanup implementation for the "flash" handler
func (*FlashObject) GetTarget ¶
func (f *FlashObject) GetTarget() string
GetTarget implementation for the "flash" handler
func (*FlashObject) Install ¶
func (f *FlashObject) Install(downloadDir string) error
Install implementation for the "flash" handler
func (*FlashObject) Setup ¶
func (f *FlashObject) Setup() error
Setup implementation for the "flash" handler
func (*FlashObject) SetupTarget ¶
func (f *FlashObject) SetupTarget(target afero.File)
SetupTarget implementation for the "flash" handler
Click to show internal directories.
Click to hide internal directories.