Safe Haskell | Safe-Inferred |
---|
Propellor.Types
- type HostName = String
- type UserName = String
- data Property = Property {}
- data RevertableProperty = RevertableProperty Property Property
- class IsProp p where
- type Desc = String
- data Result
- = NoChange
- | MadeChange
- | FailedChange
- data System = System Distribution Architecture
- data Distribution
- data DebianSuite
- = Experimental
- | Unstable
- | Testing
- | Stable
- | DebianRelease Release
- type Release = String
- type Architecture = String
- class ActionResult a where
- getActionResult :: a -> (String, ColorIntensity, Color)
- data CmdLine
- data PrivDataField
Documentation
Constructors
Property | |
Fields
|
Methods
describe :: p -> Desc -> pSource
Sets description.
requires :: p -> Property -> pSource
Indicates that the first property can only be satisfied once the second one is.
Instances
Constructors
NoChange | |
MadeChange | |
FailedChange |
High level descritption of a operating system.
Constructors
System Distribution Architecture |
data DebianSuite Source
Constructors
Experimental | |
Unstable | |
Testing | |
Stable | |
DebianRelease Release |
Instances
type Architecture = StringSource
class ActionResult a whereSource
Results of actions, with color.
Methods
getActionResult :: a -> (String, ColorIntensity, Color)Source
Instances
data PrivDataField Source
Note that removing or changing field names will break the serialized privdata files, so don't do that! It's fine to add new fields.
Constructors
DockerAuthentication | |
SshPrivKey UserName | |
Password UserName |