Liking cljdoc? Tell your friends :D
Clojure only.

vault.client.mock

A mock in-memory Vault client for local testing.

A mock in-memory Vault client for local testing.
raw docstring

mock-clientclj

(mock-client)
(mock-client init & {:as opts})

Create a new mock Vault client. The init argument may either be a map of data to use for the internal state or a URI with the mock: scheme. A mock:- value indicates an empty state, or it may be a path to a resource on the classpath like mock:path/to/data.edn.

Options:

Create a new mock Vault client. The `init` argument may either be a map of
data to use for the internal state or a URI with the `mock:` scheme. A
`mock:-` value indicates an empty state, or it may be a path to a resource on
the classpath like `mock:path/to/data.edn`.

Options:

- `:flow` ([[vault.client.flow/Handler]])

  Custom control flow handler to use with the client. Defaults to
  [[vault.client.flow/sync-handler]].
sourceraw docstring

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

× close