PipelineFlow.Helpers (PipelineFlow v0.1.0)

Summary

Functions

Link to this function

error?(pipeline)

@spec error?(PipelineFlow.pipeline()) :: boolean()
@spec ok?(PipelineFlow.pipeline()) :: boolean()
Link to this function

result(pipeline)

@spec result(PipelineFlow.pipeline()) ::
  {:ok, PipelineFlow.pipeline()} | {:error, :atom, term()}
Link to this function

set_attribute(pipeline, attrs)

@spec set_attribute(PipelineFlow.pipeline(), map()) :: PipelineFlow.pipeline()
Link to this function

set_attribute(pipeline, key, value)

@spec set_attribute(PipelineFlow.pipeline(), atom(), any()) :: PipelineFlow.pipeline()
Link to this function

set_completed_step(pipeline, step)

@spec set_completed_step(PipelineFlow.pipeline(), atom()) :: PipelineFlow.pipeline()
Link to this function

set_error(pipeline, error)

@spec set_error(PipelineFlow.pipeline(), any()) :: PipelineFlow.pipeline()
Link to this function

set_last_step(pipeline, step)

@spec set_last_step(PipelineFlow.pipeline(), atom()) :: PipelineFlow.pipeline()