Safe Haskell | None |
---|---|
Language | Haskell2010 |
Run commands using Docker
Synopsis
- data DockerTaskConfig = DockerTaskConfig {}
- data DockerTask i o where
- data DockerTaskInput = DockerTaskInput {
- inputBindings :: [VolumeBinding]
- argsVals :: Map String Text
- data VolumeBinding = VolumeBinding {}
- data Arg
- = Arg (Configurable Text)
- | Placeholder String
- renderArg :: ExternalConfig -> Arg -> Either String Arg
- getIdFromArg :: Arg -> Maybe ConfigKeysBySource
Documentation
data DockerTaskConfig Source #
Configure what task to run in Docker
data DockerTask i o where Source #
Instances
IsFlow DockerTask Source # | |
Defined in Funflow.Flow toFlow :: DockerTask i o -> Flow i o Source # |
data DockerTaskInput Source #
Input to a Docker task to finalize its configuration
DockerTaskInput | |
|
Instances
Eq DockerTaskInput Source # | |
Defined in Funflow.Tasks.Docker (==) :: DockerTaskInput -> DockerTaskInput -> Bool # (/=) :: DockerTaskInput -> DockerTaskInput -> Bool # | |
Show DockerTaskInput Source # | |
Defined in Funflow.Tasks.Docker showsPrec :: Int -> DockerTaskInput -> ShowS # show :: DockerTaskInput -> String # showList :: [DockerTaskInput] -> ShowS # | |
Semigroup DockerTaskInput Source # | Combine task inputs by combining the collections they contain. This treats |
Defined in Funflow.Tasks.Docker (<>) :: DockerTaskInput -> DockerTaskInput -> DockerTaskInput # sconcat :: NonEmpty DockerTaskInput -> DockerTaskInput # stimes :: Integral b => b -> DockerTaskInput -> DockerTaskInput # | |
Monoid DockerTaskInput Source # | An empty task input is one with fields of empty collections. |
Defined in Funflow.Tasks.Docker mappend :: DockerTaskInput -> DockerTaskInput -> DockerTaskInput # mconcat :: [DockerTaskInput] -> DockerTaskInput # |
data VolumeBinding Source #
Represent how to bind a directory from cas-store (CS.Item
) to a container internal file system
Instances
Eq VolumeBinding Source # | |
Defined in Funflow.Tasks.Docker (==) :: VolumeBinding -> VolumeBinding -> Bool # (/=) :: VolumeBinding -> VolumeBinding -> Bool # | |
Ord VolumeBinding Source # | |
Defined in Funflow.Tasks.Docker compare :: VolumeBinding -> VolumeBinding -> Ordering # (<) :: VolumeBinding -> VolumeBinding -> Bool # (<=) :: VolumeBinding -> VolumeBinding -> Bool # (>) :: VolumeBinding -> VolumeBinding -> Bool # (>=) :: VolumeBinding -> VolumeBinding -> Bool # max :: VolumeBinding -> VolumeBinding -> VolumeBinding # min :: VolumeBinding -> VolumeBinding -> VolumeBinding # | |
Show VolumeBinding Source # | |
Defined in Funflow.Tasks.Docker showsPrec :: Int -> VolumeBinding -> ShowS # show :: VolumeBinding -> String # showList :: [VolumeBinding] -> ShowS # |
Represent an argument to pass to the command run inside of a Docker container
Arg (Configurable Text) | Raw text argument |
Placeholder String | A placeholder for an argument to be passed as runtime input to the task (filled by |
Instances
IsString Arg Source # | |
Defined in Funflow.Tasks.Docker fromString :: String -> Arg # |
renderArg :: ExternalConfig -> Arg -> Either String Arg Source #
Renders an Arg with external configurations
getIdFromArg :: Arg -> Maybe ConfigKeysBySource Source #
Extracts a ConfigKey from an Arg, if it exists.