Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type CardName = String
- type Source = FilePath
- type Destination = FilePath
- data Card = Card {}
- data Declaration
- newtype CardNameReference = CardNameReference CardName
- data CardFileReference = CardFileReference FilePath (Maybe CardNameReference)
- data CardReference
- data SparkFile = SparkFile {
- sparkFilePath :: Path Abs File
- sparkFileCards :: [Card]
Cards
type Destination = FilePath Source #
Instances
Eq Card Source # | |
Show Card Source # | |
Generic Card Source # | |
Validity Card Source # | |
Defined in SuperUserSpark.Language.Types validate :: Card -> Validation # | |
type Rep Card Source # | |
Defined in SuperUserSpark.Language.Types type Rep Card = D1 (MetaData "Card" "SuperUserSpark.Language.Types" "super-user-spark-0.4.0.1-P7s2QbrTII5c6XXsq6MCt" False) (C1 (MetaCons "Card" PrefixI True) (S1 (MetaSel (Just "cardName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CardName) :*: S1 (MetaSel (Just "cardContent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Declaration))) |
Declarations
data Declaration Source #
A declaration in a card
SparkOff CardReference | Spark off another card |
Deploy Source Destination (Maybe DeploymentKind) | Deploy from source to destination |
IntoDir Directory | Deploy into a directory |
OutofDir Directory | Deploy outof a directory |
DeployKindOverride DeploymentKind | Override the deployment kind |
Alternatives [Directory] | Provide a list of alternative sources |
Block [Declaration] | A scoped block of declarations |
Instances
Card references
newtype CardNameReference Source #
Reference a card by name (inside a file)
Instances
data CardFileReference Source #
Reference a card by the file it is in and therein potentially by a name reference
Instances
data CardReference Source #
Union card reference
Instances
Card files
SparkFile | |
|
Instances
Eq SparkFile Source # | |
Show SparkFile Source # | |
Generic SparkFile Source # | |
Validity SparkFile Source # | |
Defined in SuperUserSpark.Language.Types validate :: SparkFile -> Validation # | |
type Rep SparkFile Source # | |
Defined in SuperUserSpark.Language.Types type Rep SparkFile = D1 (MetaData "SparkFile" "SuperUserSpark.Language.Types" "super-user-spark-0.4.0.1-P7s2QbrTII5c6XXsq6MCt" False) (C1 (MetaCons "SparkFile" PrefixI True) (S1 (MetaSel (Just "sparkFilePath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Path Abs File)) :*: S1 (MetaSel (Just "sparkFileCards") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Card]))) |