Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶ added in v1.10.0
type Identity struct {
// contains filtered or unexported fields
}
func New ¶ added in v1.10.0
func New(warehouse model.Warehouse, db *sqlmiddleware.DB, uploader warehouseutils.Uploader, uploadID int64, warehouseManager WarehouseManager, loadFileDownloader downloader.Downloader) *Identity
func (*Identity) Resolve ¶ added in v1.10.0
Resolve does the below things in a single pg txn 1. Fetch all new merge rules added in the upload 2. Append to local identity merge rules table 3. Apply each merge rule and update local identity mapping table 4. Upload the diff of each table to load files for both tables
type WarehouseManager ¶
type WarehouseManager interface {
DownloadIdentityRules(context.Context, *misc.GZipWriter) error
}
Click to show internal directories.
Click to hide internal directories.