Client boundary for Squidie public APIs.
Summary
Callbacks
Approves a manual approval run.
Requests run cancellation.
Loads explanation data for a run.
Loads a run inspection snapshot.
Loads graph inspection data for a run.
Lists recent Squidie runs.
Rejects a manual approval run.
Starts a replay for a terminal run.
Resumes a paused run.
Starts a run from a compiled Squidie workflow module.
Starts a run from a runtime-authored workflow spec.
Functions
Approves a manual approval run with host-provided control attributes.
Requests cancellation for a run through Squidie.
Loads operator-facing explanation data for a run.
Loads a run inspection snapshot from Squidie.
Loads graph inspection data for a Squidie run.
Lists recent Squidie runs through the configured runtime.
Rejects a manual approval run with host-provided control attributes.
Starts a replay for a terminal run.
Resumes a paused run with host-provided control attributes.
Starts a run from a compiled Squidie workflow module.
Starts a run from a runtime-authored workflow spec.
Callbacks
@callback approve(term(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Approves a manual approval run.
@callback cancel( term(), keyword() ) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Requests run cancellation.
@callback explain_run( term(), keyword() ) :: {:ok, Squidie.ReadModel.Explanation.Diagnostic.t()} | {:error, term()}
Loads explanation data for a run.
@callback inspect_run( term(), keyword() ) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Loads a run inspection snapshot.
@callback inspect_run_graph( term(), keyword() ) :: {:ok, Squidie.Runs.GraphInspection.t()} | {:error, term()}
Loads graph inspection data for a run.
@callback list_runs(keyword(), keyword()) :: {:ok, [Squidie.ReadModel.Listing.Summary.t()]} | {:error, term()}
Lists recent Squidie runs.
@callback reject(term(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Rejects a manual approval run.
@callback replay( term(), keyword() ) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Starts a replay for a terminal run.
@callback resume(term(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Resumes a paused run.
@callback start(module(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Starts a run from a compiled Squidie workflow module.
@callback start_spec(term(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Starts a run from a runtime-authored workflow spec.
Functions
@spec approve(term(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Approves a manual approval run with host-provided control attributes.
@spec cancel( term(), keyword() ) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Requests cancellation for a run through Squidie.
@spec explain_run( term(), keyword() ) :: {:ok, Squidie.ReadModel.Explanation.Diagnostic.t()} | {:error, term()}
Loads operator-facing explanation data for a run.
@spec inspect_run( term(), keyword() ) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Loads a run inspection snapshot from Squidie.
@spec inspect_run_graph( term(), keyword() ) :: {:ok, Squidie.Runs.GraphInspection.t()} | {:error, term()}
Loads graph inspection data for a Squidie run.
@spec list_runs(keyword(), keyword()) :: {:ok, [Squidie.ReadModel.Listing.Summary.t()]} | {:error, term()}
Lists recent Squidie runs through the configured runtime.
@spec reject(term(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Rejects a manual approval run with host-provided control attributes.
@spec replay( term(), keyword() ) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Starts a replay for a terminal run.
@spec resume(term(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Resumes a paused run with host-provided control attributes.
@spec start(module(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Starts a run from a compiled Squidie workflow module.
@spec start_spec(term(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, term()}
Starts a run from a runtime-authored workflow spec.