Liking cljdoc? Tell your friends :D

pipeline.core

The core of pipeline. This is where the definition and running of the pipelines exists.

The core of pipeline. This is where the definition and running
of the pipelines exists.
raw docstring

*pipelineclj

Memory for last pipline executed

Memory for last pipline executed
raw docstring

actionclj

(action step-name f inputs)
(action step-name f inputs output)
(action step-name f inputs output output-spec)
(action step-name f inputs output output-spec bindings)
(action step-name f inputs output output-spec bindings validation-fns)

argsclj

(args pipeline)

Returns the args used when run-pipeline was called on this pipeline. Will return nil on a pipeline that has not been started

Returns the args used when run-pipeline was called on this pipeline.
Will return nil on a pipeline that has not been started
raw docstring

args-for-stepclj

(args-for-step step state)

bindingsclj

(bindings pipeline-or-step)

Returns the bindings of a pipeline or a step.

Returns the bindings of a pipeline or a step.
raw docstring

default-validation-fnsclj


failed-stepclj

(failed-step pipeline)

Returns the first failed step of a pipeline.

Returns the first failed step of a pipeline.
raw docstring

failed-stepsclj

(failed-steps pipeline)

Returns all failed steps of a pipeline.

Returns all failed steps of a pipeline.
raw docstring

failed?clj

(failed? pipeline-or-step)

Returns true if the pipeline or a step was failed.

Returns true if the pipeline or a step was failed.
raw docstring

failure-messageclj

(failure-message step)

failure-reasonclj

(failure-reason step)

failure-valueclj

(failure-value step)

last-executed-stepclj

(last-executed-step pipeline)

last-runclj

(last-run)

Returns the stored result from the last call to run-pipeline

Returns the stored result from the last call to run-pipeline
raw docstring

make-pipelineclj

(make-pipeline pipeline-bindings & steps-and-pipelines)

make-stepclj

(make-step step-type
           step-name
           f
           inputs
           output
           output-spec
           bindings
           validation-fns)

next-stepclj

(next-step pipeline)

not-started?clj

(not-started? pipeline-or-step)

Returns true if the pipeline or a step or not started.

Returns true if the pipeline or a step or not started.
raw docstring

pipeline-finished?clj

(pipeline-finished? pipeline)

pipeline?clj

(pipeline? pipeline)

Returns true if given a valid pipeline

Returns true if given a valid pipeline
raw docstring

registryclj


resolve-specclj

(resolve-spec var-or-any)

resultclj

(result pipeline-or-step)

Returns the result from a successful step or from a successful pipeline. If the arg is a pipeline, the result is the result of the last step.

If called on a step that is not successful or a pipeline that is not successful, an exception is thrown.

Returns the result from a successful step or from a successful pipeline.
If the arg is a pipeline, the result is the result of the last step.

If called on a step that is not successful or a pipeline that is not successful,
an exception is thrown.
raw docstring

run-pipelineclj

(run-pipeline pipeline args)
(run-pipeline pipeline args options)

Executes a pipeline and returns the full execution context as a result. In the execution context, result and errors can be found, but also a full trace of each step's input, result and time spent.

Options can be given to run-pipeline, but there are not yet any options defined.

Even though run-pipeline returns the full execution context, it's recommended to use the helper functions in this package to extract data for common tasks. This protects you slightly from breaking changes in the data structure since this is still pre-alpha.

The last pipeline result (the full execution context) is stored in pipeline.core/*pipeline-run as well as returned

Executes a pipeline and returns the full execution context as a result. In the execution context,
result and errors can be found, but also a full trace of each step's input, result and time spent.

Options can be given to run-pipeline, but there are not yet any options defined.

Even though run-pipeline returns the full execution context, it's recommended to use the helper
functions in this package to extract data for common tasks. This protects you slightly from
breaking changes in the data structure since this is still pre-alpha.

The last pipeline result (the full execution context) is stored in pipeline.core/*pipeline-run as well as returned
raw docstring

run-stepclj

(run-step f args output-schema state validation-fns options)

schema-pathclj


schema-pathsclj


schema-pipelineclj


schema-stepclj


schema-step-not-startedclj


schema-stepsclj


stateclj

(state pipeline-or-step)

Returns the state of a pipeline or a step.

Returns the state of a pipeline or a step.
raw docstring

state?clj

(state? state-value pipeline-or-step)

stepclj

(step pipeline step-name)

Returns a named or numbered (seq-id) step in a pipeline

Returns a named or numbered (seq-id) step in a pipeline
raw docstring

step-nameclj

(step-name step)

Returns the name of a step

Returns the name of a step
raw docstring

step-pathclj

(step-path pipeline step)

step?clj

(step? pipeline)

Returns true if given a valid step

Returns true if given a valid step
raw docstring

stepsclj

(steps pipeline)

Returns the steps in a pipeline

Returns the steps in a pipeline
raw docstring

steps?clj

(steps? pipeline)

Returns true is given a vector of steps

Returns true is given a vector of steps
raw docstring

successful?clj

(successful? pipeline-or-step)

Returns true if the pipeline or a step was successful.

Returns true if the pipeline or a step was successful.
raw docstring

transformationclj

(transformation step-name f inputs output)
(transformation step-name f inputs output output-spec)
(transformation step-name f inputs output output-spec bindings)
(transformation step-name f inputs output output-spec bindings validation-fns)

update-pipelineclj

(update-pipeline pipeline step)

update-stateclj

(update-state state step)

update-stepclj

(update-step step args result)

validation-functionsclj

(validation-functions step)

Returns the validation functions for a step

Returns the validation functions for a step
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close