package
1.0.5
Repository: https://github.com/cockroachdb/replicator.git
Documentation: pkg.go.dev

# Functions

ConflictError returns an error that provides details about a Conflict which could not be merged.
DLQ returns a Merger that sends all values to the named dead-letter queue.
NewBag creates an empty Bag for the given columns.
NewBagFrom returns an empty Bag whose schema information is copied from the given source.
NewBagOf is a test helper to construct a Bag from a varargs consisting of keys and values.
ValidateNoUnmappedColumns returns an error message if the bag contains any unmapped properties.
ValidatePK ensures that the Bag has non-nil values for each primary key defined in its schema.

# Structs

A Bag is a loosely-typed map of named properties that are associated with schema data.
A BagSpec holds common metadata about property structures.
A Conflict contains a mutation that was attempted and the existing data which blocked it.
Entry
An Entry associates a column with some reified value.
A Resolution contains the contents of a mutation after the Merger has resolved the data conflicts.
Standard implements a basic three-way merge operator.

# Interfaces

Merger resolves data conflicts.

# Type aliases

Func adapts a function type to implement Merger.