Buckets.Strategy behaviour (buckets v1.0.0-rc.0)

Summary

Callbacks

Link to this callback

delete(binary, t)

@callback delete(binary(), Keyword.t()) :: {:ok, map()} | {:error, term()}
@callback get(binary(), Keyword.t()) :: {:ok, binary()} | {:error, term()}
Link to this callback

put(t, binary, t)

@callback put(Buckets.Object.t(), binary(), Keyword.t()) ::
  {:ok, map()} | {:error, term()}
@callback url(binary(), Keyword.t()) :: {:ok, Buckets.SignedURL.t()}