Hercules.Formats.Secret
data Condition Source #
Constructors
Defined in Hercules.Formats.Secret
Methods
parseJSON :: Value -> Parser Condition Source #
parseJSONList :: Value -> Parser [Condition] Source #
toJSON :: Condition -> Value Source #
toEncoding :: Condition -> Encoding Source #
toJSONList :: [Condition] -> Value Source #
toEncodingList :: [Condition] -> Encoding Source #
Associated Types
type Rep Condition :: Type -> Type Source #
from :: Condition -> Rep Condition x Source #
to :: Rep Condition x -> Condition Source #
readsPrec :: Int -> ReadS Condition Source #
readList :: ReadS [Condition] Source #
readPrec :: ReadPrec Condition Source #
readListPrec :: ReadPrec [Condition] Source #
showsPrec :: Int -> Condition -> ShowS Source #
show :: Condition -> String Source #
showList :: [Condition] -> ShowS Source #
(==) :: Condition -> Condition -> Bool Source #
(/=) :: Condition -> Condition -> Bool Source #
taggedConditionParsers :: HashMap Text (Value -> Parser Condition) Source #
data Secret Source #
Arbitrary secret like keys, tokens, passwords etc.
Fields
parseJSON :: Value -> Parser Secret Source #
parseJSONList :: Value -> Parser [Secret] Source #
toJSON :: Secret -> Value Source #
toEncoding :: Secret -> Encoding Source #
toJSONList :: [Secret] -> Value Source #
toEncodingList :: [Secret] -> Encoding Source #