flasher

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const BlockSize = 512

Variables

This section is empty.

Functions

This section is empty.

Types

type FlashConfig

type FlashConfig struct {
	Image          string
	Device         string
	NotInteractive bool
	Verify         bool
}

type FlashResult

type FlashResult struct {
	Sum          []byte
	BytesWritten uint64
}

type Flasher

type Flasher interface {
	Flash(ctx context.Context) error
}

func NewFlasher

func NewFlasher(ui packer.Ui, cfg FlashConfig) Flasher

type WriterSeeker

type WriterSeeker interface {
	io.Seeker
	io.Writer
}

Jump to

Keyboard shortcuts

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