Safe Haskell | None |
---|---|
Language | Haskell2010 |
Docker types.
- data DockerOpts = DockerOpts {
- dockerEnable :: !Bool
- dockerImage :: !String
- dockerRegistryLogin :: !Bool
- dockerRegistryUsername :: !(Maybe String)
- dockerRegistryPassword :: !(Maybe String)
- dockerAutoPull :: !Bool
- dockerDetach :: !Bool
- dockerPersist :: !Bool
- dockerContainerName :: !(Maybe String)
- dockerRunArgs :: ![String]
- dockerMount :: ![Mount]
- dockerEnv :: ![String]
- dockerDatabasePath :: !(Path Abs File)
- dockerStackExe :: !(Maybe DockerStackExe)
- dockerSetUser :: !(Maybe Bool)
- dockerRequireDockerVersion :: !VersionRange
- data DockerOptsMonoid = DockerOptsMonoid {
- dockerMonoidDefaultEnable :: !Bool
- dockerMonoidEnable :: !(Maybe Bool)
- dockerMonoidRepoOrImage :: !(Maybe DockerMonoidRepoOrImage)
- dockerMonoidRegistryLogin :: !(Maybe Bool)
- dockerMonoidRegistryUsername :: !(Maybe String)
- dockerMonoidRegistryPassword :: !(Maybe String)
- dockerMonoidAutoPull :: !(Maybe Bool)
- dockerMonoidDetach :: !(Maybe Bool)
- dockerMonoidPersist :: !(Maybe Bool)
- dockerMonoidContainerName :: !(Maybe String)
- dockerMonoidRunArgs :: ![String]
- dockerMonoidMount :: ![Mount]
- dockerMonoidEnv :: ![String]
- dockerMonoidDatabasePath :: !(Maybe String)
- dockerMonoidStackExe :: !(Maybe String)
- dockerMonoidSetUser :: !(Maybe Bool)
- dockerMonoidRequireDockerVersion :: !VersionRange
- data DockerStackExe
- parseDockerStackExe :: MonadThrow m => String -> m DockerStackExe
- data Mount = Mount String String
- data DockerMonoidRepoOrImage
- newtype VersionRangeJSON = VersionRangeJSON {}
- dockerEnableArgName :: Text
- dockerRepoArgName :: Text
- dockerImageArgName :: Text
- dockerRegistryLoginArgName :: Text
- dockerRegistryUsernameArgName :: Text
- dockerRegistryPasswordArgName :: Text
- dockerAutoPullArgName :: Text
- dockerDetachArgName :: Text
- dockerRunArgsArgName :: Text
- dockerMountArgName :: Text
- dockerEnvArgName :: Text
- dockerContainerNameArgName :: Text
- dockerPersistArgName :: Text
- dockerDatabasePathArgName :: Text
- dockerStackExeArgName :: Text
- dockerStackExeDownloadVal :: String
- dockerStackExeHostVal :: String
- dockerStackExeImageVal :: String
- dockerSetUserArgName :: Text
- dockerRequireDockerVersionArgName :: Text
- dockerEntrypointArgName :: String
Documentation
data DockerOpts Source
Docker configuration.
DockerOpts | |
|
data DockerOptsMonoid Source
An uninterpreted representation of docker options. Configurations may be "cascaded" using mappend (left-biased).
DockerOptsMonoid | |
|
Show DockerOptsMonoid Source | |
Monoid DockerOptsMonoid Source | Left-biased combine Docker options |
FromJSON (WithJSONWarnings DockerOptsMonoid) Source | Decode uninterpreted docker options from JSON/YAML. |
data DockerStackExe Source
Where to get the stack
executable to run in Docker containers
DockerStackExeDownload | Download from official bindist |
DockerStackExeHost | Host's |
DockerStackExeImage | Docker image's |
DockerStackExePath (Path Abs File) | Executable at given path |
parseDockerStackExe :: MonadThrow m => String -> m DockerStackExe Source
Parse DockerStackExe
.
Docker volume mount.
data DockerMonoidRepoOrImage Source
Options for Docker repository or image.
newtype VersionRangeJSON Source
Newtype for non-orphan FromJSON instance.
FromJSON VersionRangeJSON Source | Parse VersionRange. |
dockerEnableArgName :: Text Source
Docker enable argument name.
dockerRepoArgName :: Text Source
Docker repo arg argument name.
dockerImageArgName :: Text Source
Docker image argument name.
dockerRegistryLoginArgName :: Text Source
Docker registry login argument name.
dockerRegistryUsernameArgName :: Text Source
Docker registry username argument name.
dockerRegistryPasswordArgName :: Text Source
Docker registry password argument name.
dockerAutoPullArgName :: Text Source
Docker auto-pull argument name.
dockerDetachArgName :: Text Source
Docker detach argument name.
dockerRunArgsArgName :: Text Source
Docker run args argument name.
dockerMountArgName :: Text Source
Docker mount argument name.
dockerEnvArgName :: Text Source
Docker environment variable argument name.
dockerContainerNameArgName :: Text Source
Docker container name argument name.
dockerPersistArgName :: Text Source
Docker persist argument name.
dockerDatabasePathArgName :: Text Source
Docker database path argument name.
dockerStackExeArgName :: Text Source
Docker database path argument name.
dockerStackExeDownloadVal :: String Source
Value for --docker-stack-exe=download
dockerStackExeHostVal :: String Source
Value for --docker-stack-exe=host
dockerStackExeImageVal :: String Source
Value for --docker-stack-exe=image
dockerSetUserArgName :: Text Source
Docker set-user
argument name
dockerRequireDockerVersionArgName :: Text Source
Docker require-version
argument name
dockerEntrypointArgName :: String Source
Argument name used to pass docker entrypoint data (only used internally)