Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Docker configuration
Synopsis
- data ConfigDockerException = ResolverNotSupportedException !(Maybe Project) !(Maybe AbstractResolver)
- addDefaultTag :: MonadThrow m => String -> Maybe Project -> Maybe AbstractResolver -> m String
- dockerOptsFromMonoid :: MonadThrow m => Maybe Project -> Maybe AbstractResolver -> DockerOptsMonoid -> m DockerOpts
Documentation
data ConfigDockerException Source #
Type representing exceptions thrown by functions exported by the Stack.Config.Docker module.
ResolverNotSupportedException !(Maybe Project) !(Maybe AbstractResolver) | Only LTS resolvers are supported for default image tag. |
Instances
Exception ConfigDockerException Source # | |
Show ConfigDockerException Source # | |
Defined in Stack.Config.Docker showsPrec :: Int -> ConfigDockerException -> ShowS # show :: ConfigDockerException -> String # showList :: [ConfigDockerException] -> ShowS # |
:: MonadThrow m | |
=> String | base |
-> Maybe Project | |
-> Maybe AbstractResolver | |
-> m String |
Add a default Docker tag name to a given base image.
dockerOptsFromMonoid :: MonadThrow m => Maybe Project -> Maybe AbstractResolver -> DockerOptsMonoid -> m DockerOpts Source #
Interprets DockerOptsMonoid options.