prebackup

package
v1.6.0-rc.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Handle(ctx context.Context, txn *sql.Tx, jobsTable, jobStatusTable string) error
}

Handler alters a jobsdb table before backup happens

func DropSourceIds

func DropSourceIds(transientSourceIds func() []string) Handler

DropSourceIds provides a pre-backup handler who is responsible for removing events from the tables which belong to a transient source id. The list of source ids is dynamically provided by the transientSourceIds function

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL