super-user-spark-0.4.0.0: 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 # 

Methods

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

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

Show Card Source # 

Methods

showsPrec :: Int -> Card -> ShowS #

show :: Card -> String #

showList :: [Card] -> ShowS #

Generic Card Source # 

Associated Types

type Rep Card :: * -> * #

Methods

from :: Card -> Rep Card x #

to :: Rep Card x -> Card #

Validity Card Source # 

Methods

isValid :: Card -> Bool #

type Rep Card Source # 
type Rep Card = D1 (MetaData "Card" "SuperUserSpark.Language.Types" "super-user-spark-0.4.0.0-GcVJVgX5Jzv7UpEiCSNmHm" False) (C1 (MetaCons "Card" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "cardName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CardName)) (S1 (MetaSel (Just Symbol "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 # 
Show Declaration Source # 
Generic Declaration Source # 

Associated Types

type Rep Declaration :: * -> * #

Validity Declaration Source # 

Methods

isValid :: Declaration -> Bool #

type Rep Declaration Source # 

Card references

Card files

data SparkFile Source #

Constructors

SparkFile 

Instances

Eq SparkFile Source # 
Show SparkFile Source # 
Generic SparkFile Source # 

Associated Types

type Rep SparkFile :: * -> * #

Validity SparkFile Source # 

Methods

isValid :: SparkFile -> Bool #

type Rep SparkFile Source # 
type Rep SparkFile = D1 (MetaData "SparkFile" "SuperUserSpark.Language.Types" "super-user-spark-0.4.0.0-GcVJVgX5Jzv7UpEiCSNmHm" False) (C1 (MetaCons "SparkFile" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "sparkFilePath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Path Abs File))) (S1 (MetaSel (Just Symbol "sparkFileCards") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Card]))))