propellor-5.9.1: property-based host configuration management in haskell

Safe HaskellSafe
LanguageHaskell98

Propellor.Property.Installer.Types

Synopsis

Documentation

newtype TargetDiskDevice Source #

The disk device to install to.

Constructors

TargetDiskDevice FilePath 
Instances
Read TargetDiskDevice Source # 
Instance details

Defined in Propellor.Property.Installer.Types

Show TargetDiskDevice Source # 
Instance details

Defined in Propellor.Property.Installer.Types

Methods

showsPrec :: Int -> TargetDiskDevice -> ShowS

show :: TargetDiskDevice -> String

showList :: [TargetDiskDevice] -> ShowS

class UserInput i where Source #

Class of user input that an installer might prompt for.

Methods

targetDiskDevice :: i -> Maybe TargetDiskDevice Source #

Get the disk device the user selected to install to.

diskEraseConfirmed :: i -> Maybe DiskEraseConfirmed Source #

Check if the user has confirmed they want to erase the target disk device.