Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Choices ¶
type Choices struct { Disk *DiskFormattingChoices Network *NetworkChoices }
type DiskFormattingChoices ¶
type DiskFormattingChoices struct{}
type Frontend ¶
type Frontend interface { Initialize(ctx context.Context, commands chan any) error // Initialize the frontend, providing a channel to send any user choices or other requests Shutdown(ctx context.Context) error // Shutdown the frontend, if needed HardwareState(ctx context.Context, state HardwareState) error // HardwareState is called when new information about the state of the hardware is available ChoicesMade(ctx context.Context, options Choices) error // ChoicesMade is called when a different frontend makes choices }
type NIC ¶
type NIC struct{}
type NetworkChoices ¶
type NetworkChoices struct{}
type ScanHardwareRequest ¶
type ScanHardwareRequest int
const ( ScanDisks ScanHardwareRequest = iota ScanNICs )
Click to show internal directories.
Click to hide internal directories.