Documentation
¶
Overview ¶
Package dut contains code that are run on the DUT.
Index ¶
- func ActivePartitions(ctx context.Context) (partitions.State, error)
- func ClearTpmOwner(ctx context.Context) error
- func DisableRootfsVerification(ctx context.Context, kernelNum int) error
- func Main() error
- func RunPostinst(ctx context.Context, partition string) error
- type FlashOptions
- type Request
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivePartitions ¶
func ActivePartitions(ctx context.Context) (partitions.State, error)
func ClearTpmOwner ¶
Types ¶
type FlashOptions ¶
type FlashOptions struct {
DisableRootfsVerification bool // whether to disable rootfs verification
ClobberStateful bool // whether to clobber the stateful partition
ClearTpmOwner bool // whether to clean tpm owner on reboot
}
FlashOptions for Request. Unlike Request.Bucket, Request.Directory, these are determined solely by parsing the command line without further processing.
type Request ¶
type Request struct {
// Base time when the flash started, for logging.
ElapsedTimeWhenSent time.Duration
Payload *payload.OneOf
FlashOptions
}
Request contains everything needed to perform a flash.
Click to show internal directories.
Click to hide internal directories.