barrel_ex_http v0.3.0 BarrelEx.Replication View Source

Manage database replication tasks

Link to this section Summary

Functions

Creates a replication task between two barrels: source and target

Creates a replication task between two barrels: source and target. Raises an exception

Deletes a replication task between two barrels with the ID rep_id

Deletes a replication task between two barrels with the ID rep_id. Raises exception

Get all replication tasks

Get all replication tasks. Raises an exception

Link to this section Functions

Link to this function create(source, target) View Source
create(String.t(), String.t()) :: {atom(), map()}

Creates a replication task between two barrels: source and target.

Link to this function create!(source, target) View Source
create!(String.t(), String.t()) :: map()

Creates a replication task between two barrels: source and target. Raises an exception.

Link to this function delete(rep_id) View Source
delete(String.t()) :: {atom(), map()}

Deletes a replication task between two barrels with the ID rep_id.

Link to this function delete!(rep_id) View Source
delete!(String.t()) :: map()

Deletes a replication task between two barrels with the ID rep_id. Raises exception.

Get all replication tasks.

Get all replication tasks. Raises an exception.