language-docker-9.1.1: Dockerfile parser, pretty-printer and embedded DSL
Safe HaskellNone
LanguageHaskell2010

Language.Docker.PrettyPrint

Synopsis

Documentation

data EscapeAccum Source #

Constructors

EscapeAccum 

Fields

prettyPrint :: Dockerfile -> Text Source #

Pretty print a Dockerfile to a Text

prettyPrintDockerfile :: Pretty (Arguments args) => [InstructionPos args] -> Doc ann Source #

prettyPrintInstructionPos :: Pretty (Arguments args) => InstructionPos args -> Doc ann Source #

Pretty print a InstructionPos to a Doc

prettyPrintPair :: (Text, Text) -> Doc ann Source #

prettyPrintJSON :: [Text] -> Doc ann Source #

doubleQoute :: Text -> Doc ann Source #

escapeQuotes :: Text -> Text Source #

prettyPrintDuration :: Text -> Maybe Duration -> Doc ann Source #

prettyPrintRetries :: Maybe Retries -> Doc ann Source #

prettyPrintRunMount :: Maybe RunMount -> Doc ann Source #

prettyPrintInstruction :: Pretty (Arguments args) => Instruction args -> Doc ann Source #

spaceCat :: Doc ann -> Doc ann -> Doc ann Source #

Orphan instances

Pretty (Arguments Text) Source # 
Instance details

Methods

pretty :: Arguments Text -> Doc ann

prettyList :: [Arguments Text] -> Doc ann