flash

package
v1.0.0-...-746469e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL