Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Functions for producing sources reading from yaml strings or files, using the aeson library.
Documentation
newtype YamlSource Source #
Instances
Show YamlSource Source # | |
Defined in Conftrack.Source.Yaml showsPrec :: Int -> YamlSource -> ShowS # show :: YamlSource -> String # showList :: [YamlSource] -> ShowS # | |
ConfigSource YamlSource Source # | |
Defined in Conftrack.Source.Yaml type SourceState YamlSource Source # fetchValue :: Key -> YamlSource -> StateT (SourceState YamlSource) IO (Either ConfigError (Value, Text)) Source # leftovers :: YamlSource -> StateT (SourceState YamlSource) IO (Maybe [Key]) Source # | |
type SourceState YamlSource Source # | |
Defined in Conftrack.Source.Yaml |
mkYamlSource :: Value -> SomeSource Source #
mkYamlSourceWith :: Text -> Value -> SomeSource Source #