hydra-cluster-0.20.0: Integration test suite using a local cluster of cardano and hydra nodes
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Cluster.Options

Documentation

data Options Source #

Instances

Instances details
FromJSON Options Source # 
Instance details

Defined in Hydra.Cluster.Options

Methods

parseJSON :: Value -> Parser Options

parseJSONList :: Value -> Parser [Options]

omittedField :: Maybe Options

ToJSON Options Source # 
Instance details

Defined in Hydra.Cluster.Options

Methods

toJSON :: Options -> Value

toEncoding :: Options -> Encoding

toJSONList :: [Options] -> Value

toEncodingList :: [Options] -> Encoding

omitField :: Options -> Bool

Generic Options Source # 
Instance details

Defined in Hydra.Cluster.Options

Associated Types

type Rep Options :: Type -> Type Source #

Show Options Source # 
Instance details

Defined in Hydra.Cluster.Options

Eq Options Source # 
Instance details

Defined in Hydra.Cluster.Options

type Rep Options Source # 
Instance details

Defined in Hydra.Cluster.Options

type Rep Options = D1 ('MetaData "Options" "Hydra.Cluster.Options" "hydra-cluster-0.20.0-8reP7QGo6wY8RVPOtXpPTl" 'False) (C1 ('MetaCons "Options" 'PrefixI 'True) ((S1 ('MetaSel ('Just "knownNetwork") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe KnownNetwork)) :*: S1 ('MetaSel ('Just "stateDirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath))) :*: (S1 ('MetaSel ('Just "publishHydraScripts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PublishOrReuse) :*: (S1 ('MetaSel ('Just "useMithril") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UseMithril) :*: S1 ('MetaSel ('Just "scenario") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Scenario)))))

data PublishOrReuse Source #

Constructors

Publish 
Reuse TxId 

Instances

Instances details
FromJSON PublishOrReuse Source # 
Instance details

Defined in Hydra.Cluster.Options

Methods

parseJSON :: Value -> Parser PublishOrReuse

parseJSONList :: Value -> Parser [PublishOrReuse]

omittedField :: Maybe PublishOrReuse

ToJSON PublishOrReuse Source # 
Instance details

Defined in Hydra.Cluster.Options

Generic PublishOrReuse Source # 
Instance details

Defined in Hydra.Cluster.Options

Associated Types

type Rep PublishOrReuse :: Type -> Type Source #

Show PublishOrReuse Source # 
Instance details

Defined in Hydra.Cluster.Options

Eq PublishOrReuse Source # 
Instance details

Defined in Hydra.Cluster.Options

type Rep PublishOrReuse Source # 
Instance details

Defined in Hydra.Cluster.Options

type Rep PublishOrReuse = D1 ('MetaData "PublishOrReuse" "Hydra.Cluster.Options" "hydra-cluster-0.20.0-8reP7QGo6wY8RVPOtXpPTl" 'False) (C1 ('MetaCons "Publish" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Reuse" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId)))

data UseMithril Source #

Constructors

NotUseMithril 
UseMithril 

Instances

Instances details
FromJSON UseMithril Source # 
Instance details

Defined in Hydra.Cluster.Options

Methods

parseJSON :: Value -> Parser UseMithril

parseJSONList :: Value -> Parser [UseMithril]

omittedField :: Maybe UseMithril

ToJSON UseMithril Source # 
Instance details

Defined in Hydra.Cluster.Options

Methods

toJSON :: UseMithril -> Value

toEncoding :: UseMithril -> Encoding

toJSONList :: [UseMithril] -> Value

toEncodingList :: [UseMithril] -> Encoding

omitField :: UseMithril -> Bool

Generic UseMithril Source # 
Instance details

Defined in Hydra.Cluster.Options

Associated Types

type Rep UseMithril :: Type -> Type Source #

Show UseMithril Source # 
Instance details

Defined in Hydra.Cluster.Options

Eq UseMithril Source # 
Instance details

Defined in Hydra.Cluster.Options

type Rep UseMithril Source # 
Instance details

Defined in Hydra.Cluster.Options

type Rep UseMithril = D1 ('MetaData "UseMithril" "Hydra.Cluster.Options" "hydra-cluster-0.20.0-8reP7QGo6wY8RVPOtXpPTl" 'False) (C1 ('MetaCons "NotUseMithril" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UseMithril" 'PrefixI 'False) (U1 :: Type -> Type))

data Scenario Source #

Constructors

Idle 
RespendUTxO 

Instances

Instances details
FromJSON Scenario Source # 
Instance details

Defined in Hydra.Cluster.Options

Methods

parseJSON :: Value -> Parser Scenario

parseJSONList :: Value -> Parser [Scenario]

omittedField :: Maybe Scenario

ToJSON Scenario Source # 
Instance details

Defined in Hydra.Cluster.Options

Methods

toJSON :: Scenario -> Value

toEncoding :: Scenario -> Encoding

toJSONList :: [Scenario] -> Value

toEncodingList :: [Scenario] -> Encoding

omitField :: Scenario -> Bool

Generic Scenario Source # 
Instance details

Defined in Hydra.Cluster.Options

Associated Types

type Rep Scenario :: Type -> Type Source #

Show Scenario Source # 
Instance details

Defined in Hydra.Cluster.Options

Eq Scenario Source # 
Instance details

Defined in Hydra.Cluster.Options

type Rep Scenario Source # 
Instance details

Defined in Hydra.Cluster.Options

type Rep Scenario = D1 ('MetaData "Scenario" "Hydra.Cluster.Options" "hydra-cluster-0.20.0-8reP7QGo6wY8RVPOtXpPTl" 'False) (C1 ('MetaCons "Idle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RespendUTxO" 'PrefixI 'False) (U1 :: Type -> Type))