ExStorageService.Operations.Node (ex_storage_service v0.6.3)

Copy Markdown View Source

Operator-facing node drain controls and bounded progress reads.

Summary

Functions

drain(context, node_id, opts \\ [])

@spec drain(ExStorageService.Context.t(), binary(), keyword()) ::
  {:ok, map()} | {:error, term()}

status(context, node_id, cursor \\ nil, limit \\ 100, opts \\ [])

@spec status(
  ExStorageService.Context.t(),
  binary(),
  binary() | nil,
  pos_integer(),
  keyword()
) ::
  {:ok, map()} | {:error, term()}