impl

package
v0.0.0-...-36d823c Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0, Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package impl is the implementation of a util to flash firmware update packages created by the publisher tool onto devices.

Currently, the only device is a dummy device, which simply sorts the firmware+metadata on local disk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(ctx context.Context, opts FlashOpts) error

Main flashes the device according to the options provided.

Types

type FlashOpts

type FlashOpts struct {
	DeviceID       string
	LogURL         string
	LogSigVerifier note.Verifier
	MapURL         string
	WitnessURL     string
	UpdateFile     string
	Force          bool
	DeviceStorage  string
}

FlashOpts encapsulates flash tool parameters.

Jump to

Keyboard shortcuts

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