blob: 9546bb77b33e2c578c301b71f6cce9672d155d49 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package target
// Options represents lifecycle options for a target. The options will not necessarily make
// sense for all target types.
type Options struct {
// Netboot gives whether to netboot or pave. Netboot here is being used in the
// colloquial sense of only sending netsvc a kernel to mexec. If false, the target
// will be paved. Ignored for QEMUTarget.
Netboot bool
// SSHKey is a private SSH key file, corresponding to an authorized key to be paved or
// to one baked into a boot image.
SSHKey string
// Fastboot is a path to the fastboot binary. If provided, it will be assumed that
// the device is waiting in fastboot mode, and it will be attempted to 'continue'
// it into zedboot. Ignored for QEMUTarget.
Fastboot string
}