Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
A topology as it's used to define benchmarking profiles.
Topology | |
|
Instances
FromJSON Topology Source # | |
Defined in Cardano.Benchmarking.Topology.Types parseJSON :: Value -> Parser Topology parseJSONList :: Value -> Parser [Topology] | |
ToJSON Topology Source # | |
Defined in Cardano.Benchmarking.Topology.Types toEncoding :: Topology -> Encoding toJSONList :: [Topology] -> Value toEncodingList :: [Topology] -> Encoding | |
Generic Topology Source # | |
Show Topology Source # | |
Eq Topology Source # | |
type Rep Topology Source # | |
Defined in Cardano.Benchmarking.Topology.Types type Rep Topology = D1 ('MetaData "Topology" "Cardano.Benchmarking.Topology.Types" "cardano-topology-8.4.0-inplace" 'False) (C1 ('MetaCons "Topology" 'PrefixI 'True) (S1 ('MetaSel ('Just "coreNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Node]) :*: S1 ('MetaSel ('Just "relayNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Node]))) |
A node as it's used to define benchmarking profiles. These nodes don't have remote addresses allocated, are referenced by name.
Instances
Location is either "loopback" used for local runs or an AWS Region name used for cloud runs.
Instances
FromJSON Location Source # | |
Defined in Cardano.Benchmarking.Topology.Types parseJSON :: Value -> Parser Location parseJSONList :: Value -> Parser [Location] | |
ToJSON Location Source # | |
Defined in Cardano.Benchmarking.Topology.Types toEncoding :: Location -> Encoding toJSONList :: [Location] -> Value toEncodingList :: [Location] -> Encoding | |
Generic Location Source # | |
Show Location Source # | |
Eq Location Source # | |
type Rep Location Source # | |
Defined in Cardano.Benchmarking.Topology.Types type Rep Location = D1 ('MetaData "Location" "Cardano.Benchmarking.Topology.Types" "cardano-topology-8.4.0-inplace" 'False) (C1 ('MetaCons "Loopback" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AWS" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AWSRegion))) |
The AWS Regions we support (No Availability Zone, the "c" in "us-east-2c").
Instances
FromJSON AWSRegion Source # | |
Defined in Cardano.Benchmarking.Topology.Types parseJSON :: Value -> Parser AWSRegion parseJSONList :: Value -> Parser [AWSRegion] | |
ToJSON AWSRegion Source # | |
Defined in Cardano.Benchmarking.Topology.Types toEncoding :: AWSRegion -> Encoding toJSONList :: [AWSRegion] -> Value toEncodingList :: [AWSRegion] -> Encoding | |
Generic AWSRegion Source # | |
Show AWSRegion Source # | |
Eq AWSRegion Source # | |
type Rep AWSRegion Source # | |
Defined in Cardano.Benchmarking.Topology.Types type Rep AWSRegion = D1 ('MetaData "AWSRegion" "Cardano.Benchmarking.Topology.Types" "cardano-topology-8.4.0-inplace" 'False) ((C1 ('MetaCons "AP_SOUTHEAST_2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EU_CENTRAL_1" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "US_EAST_1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "US_EAST_2" 'PrefixI 'False) (U1 :: Type -> Type))) |