| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
SuperUserSpark.Check.Types
Documentation
data CheckAssignment Source #
Constructors
| CheckAssignment | |
Instances
newtype CheckSettings Source #
Constructors
| CheckSettings | |
Fields | |
Instances
| Eq CheckSettings Source # | |
Defined in SuperUserSpark.Check.Types Methods (==) :: CheckSettings -> CheckSettings -> Bool # (/=) :: CheckSettings -> CheckSettings -> Bool # | |
| Show CheckSettings Source # | |
Defined in SuperUserSpark.Check.Types Methods showsPrec :: Int -> CheckSettings -> ShowS # show :: CheckSettings -> String # showList :: [CheckSettings] -> ShowS # | |
| Generic CheckSettings Source # | |
Defined in SuperUserSpark.Check.Types Associated Types type Rep CheckSettings :: * -> * # | |
| Validity CheckSettings Source # | |
Defined in SuperUserSpark.Check.Types Methods validate :: CheckSettings -> Validation # | |
| type Rep CheckSettings Source # | |
Defined in SuperUserSpark.Check.Types type Rep CheckSettings = D1 (MetaData "CheckSettings" "SuperUserSpark.Check.Types" "super-user-spark-0.4.0.1-P7s2QbrTII5c6XXsq6MCt" True) (C1 (MetaCons "CheckSettings" PrefixI True) (S1 (MetaSel (Just "checkDiagnoseSettings") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DiagnoseSettings))) | |
type SparkChecker = ExceptT CheckError (ReaderT CheckSettings IO) Source #
data CheckError Source #
Constructors
| CheckDiagnoseError DiagnoseError | |
| CheckError String |
Instances
| Eq CheckError Source # | |
Defined in SuperUserSpark.Check.Types | |
| Show CheckError Source # | |
Defined in SuperUserSpark.Check.Types Methods showsPrec :: Int -> CheckError -> ShowS # show :: CheckError -> String # showList :: [CheckError] -> ShowS # | |
| Generic CheckError Source # | |
Defined in SuperUserSpark.Check.Types Associated Types type Rep CheckError :: * -> * # | |
| Validity CheckError Source # | |
Defined in SuperUserSpark.Check.Types Methods validate :: CheckError -> Validation # | |
| type Rep CheckError Source # | |
Defined in SuperUserSpark.Check.Types type Rep CheckError = D1 (MetaData "CheckError" "SuperUserSpark.Check.Types" "super-user-spark-0.4.0.1-P7s2QbrTII5c6XXsq6MCt" False) (C1 (MetaCons "CheckDiagnoseError" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DiagnoseError)) :+: C1 (MetaCons "CheckError" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) | |
data Instruction Source #
Constructors
| CopyFile (Path Abs File) (Path Abs File) | |
| CopyDir (Path Abs Dir) (Path Abs Dir) | |
| LinkFile (Path Abs File) (Path Abs File) | |
| LinkDir (Path Abs Dir) (Path Abs Dir) |
Instances
data CleanupInstruction Source #
Instances
data DeploymentCheckResult Source #
Constructors
| DeploymentDone | Done already |
| ReadyToDeploy Instruction | Immediately possible |
| DirtySituation String Instruction CleanupInstruction | Possible after cleanup of destination |
| ImpossibleDeployment [String] | Entirely impossible |
Instances
data CheckResult Source #
Constructors
| AlreadyDone | Done already |
| Ready Instruction | Immediately possible |
| Dirty String Instruction CleanupInstruction | Possible after cleanup |
| Impossible String | Entirely impossible |