The ability to write oplog entries using a ticket based system to ensure serialization. Uses a go-kms-wrapper for encrypting/decrypting entries. Co-authored-by: Jim Lambert <jlm.lambert@gmail.com> Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com> Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com> Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
11 lines
431 B
Go
11 lines
431 B
Go
package store
|
|
|
|
// TableName overrides the gorm database table for the store.Oplog messages
|
|
func (*Entry) TableName() string { return "oplog_entry" }
|
|
|
|
// TableName overrides the gorm database table for the store.Ticket messages
|
|
func (*Ticket) TableName() string { return "oplog_ticket" }
|
|
|
|
// TableName overrides the gorm database table for the store.Metadata messages
|
|
func (*Metadata) TableName() string { return "oplog_metadata" }
|