mongoman v0.1.1 Mongoman

Manages mongod instances to configure and run replica sets.

Summary

Functions

mongosh(js, opts \\ [])
start_distributed_replica_set(name, nodes)

Specs

start_distributed_replica_set(String.t, [node]) ::
  {:ok, pid} |
  {:error, any}
start_local_replica_set(name, num_nodes)

Specs

start_local_replica_set(String.t, pos_integer) ::
  {:ok, pid} |
  {:error, any} |
  :error
stop_cluster(pid)

Specs

stop_cluster(pid) :: :ok | {:error, any}