Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data EscapeAccum = EscapeAccum {}
- prettyPrint :: Dockerfile -> Text
- prettyPrintDockerfile :: [InstructionPos Text] -> Doc ann
- findEscapeChar :: [InstructionPos args] -> Char
- prettyPrintInstructionPos :: (?esc :: Char) => InstructionPos Text -> Doc ann
- prettyPrintImage :: Image -> Doc ann
- prettyPrintBaseImage :: BaseImage -> Doc ann
- prettyPrintPairs :: (?esc :: Char) => Pairs -> Doc ann
- prettyPrintPair :: (?esc :: Char) => (Text, Text) -> Doc ann
- prettyPrintArguments :: (?esc :: Char) => Arguments Text -> Doc ann
- prettyPrintJSON :: (?esc :: Char) => [Text] -> Doc ann
- doubleQoute :: (?esc :: Char) => Text -> Doc ann
- escapeQuotes :: (?esc :: Char) => Text -> Text
- prettyPrintPortSpec :: PortSpec -> Doc ann
- prettyPrintFileList :: NonEmpty SourcePath -> TargetPath -> Doc ann
- prettyPrintChecksum :: Checksum -> Doc ann
- prettyPrintChown :: Chown -> Doc ann
- prettyPrintChmod :: Chmod -> Doc ann
- prettyPrintLink :: Link -> Doc ann
- prettyPrintCopySource :: CopySource -> Doc ann
- prettyPrintDuration :: Text -> Maybe Duration -> Doc ann
- prettyPrintRetries :: Maybe Retries -> Doc ann
- prettyPrintRunMount :: (?esc :: Char) => Set RunMount -> Doc ann
- prettyPrintRunNetwork :: Maybe RunNetwork -> Doc ann
- prettyPrintRunSecurity :: Maybe RunSecurity -> Doc ann
- prettyPrintPragma :: PragmaDirective -> Doc ann
- prettyPrintInstruction :: (?esc :: Char) => Instruction Text -> Doc ann
- spaceCat :: Doc ann -> Doc ann -> Doc ann
Documentation
data EscapeAccum Source #
prettyPrint :: Dockerfile -> Text Source #
Pretty print a Dockerfile
to a Text
prettyPrintDockerfile :: [InstructionPos Text] -> Doc ann Source #
findEscapeChar :: [InstructionPos args] -> Char Source #
prettyPrintInstructionPos :: (?esc :: Char) => InstructionPos Text -> Doc ann Source #
Pretty print a InstructionPos
to a Doc
prettyPrintImage :: Image -> Doc ann Source #
prettyPrintBaseImage :: BaseImage -> Doc ann Source #
prettyPrintPortSpec :: PortSpec -> Doc ann Source #
prettyPrintFileList :: NonEmpty SourcePath -> TargetPath -> Doc ann Source #
prettyPrintChecksum :: Checksum -> Doc ann Source #
prettyPrintChown :: Chown -> Doc ann Source #
prettyPrintChmod :: Chmod -> Doc ann Source #
prettyPrintLink :: Link -> Doc ann Source #
prettyPrintCopySource :: CopySource -> Doc ann Source #
prettyPrintRunNetwork :: Maybe RunNetwork -> Doc ann Source #
prettyPrintRunSecurity :: Maybe RunSecurity -> Doc ann Source #
prettyPrintPragma :: PragmaDirective -> Doc ann Source #
prettyPrintInstruction :: (?esc :: Char) => Instruction Text -> Doc ann Source #