super-user-spark-0.4.0.1: Configure your dotfile deployment with a DSL.

Safe HaskellNone
LanguageHaskell2010

SuperUserSpark.Language.Types

Contents

Synopsis

Cards

data Card Source #

Constructors

Card 
Instances
Eq Card Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Methods

(==) :: Card -> Card -> Bool #

(/=) :: Card -> Card -> Bool #

Show Card Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Methods

showsPrec :: Int -> Card -> ShowS #

show :: Card -> String #

showList :: [Card] -> ShowS #

Generic Card Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Associated Types

type Rep Card :: * -> * #

Methods

from :: Card -> Rep Card x #

to :: Rep Card x -> Card #

Validity Card Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Methods

validate :: Card -> Validation #

type Rep Card Source # 
Instance details

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

Constructors

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
Eq Declaration Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Show Declaration Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Generic Declaration Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Associated Types

type Rep Declaration :: * -> * #

Validity Declaration Source # 
Instance details

Defined in SuperUserSpark.Language.Types

type Rep Declaration Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Card references

newtype CardNameReference Source #

Reference a card by name (inside a file)

data CardFileReference Source #

Reference a card by the file it is in and therein potentially by a name reference

Instances
Eq CardFileReference Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Read CardFileReference Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Show CardFileReference Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Generic CardFileReference Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Associated Types

type Rep CardFileReference :: * -> * #

Validity CardFileReference Source # 
Instance details

Defined in SuperUserSpark.Language.Types

type Rep CardFileReference Source # 
Instance details

Defined in SuperUserSpark.Language.Types

type Rep CardFileReference = D1 (MetaData "CardFileReference" "SuperUserSpark.Language.Types" "super-user-spark-0.4.0.1-P7s2QbrTII5c6XXsq6MCt" False) (C1 (MetaCons "CardFileReference" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe CardNameReference))))

Card files

data SparkFile Source #

Constructors

SparkFile 
Instances
Eq SparkFile Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Show SparkFile Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Generic SparkFile Source # 
Instance details

Defined in SuperUserSpark.Language.Types

Associated Types

type Rep SparkFile :: * -> * #

Validity SparkFile Source # 
Instance details

Defined in SuperUserSpark.Language.Types

type Rep SparkFile Source # 
Instance details

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])))