migrator

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupDqlite

func BackupDqlite(ctx context.Context, endpoint, dir string) error

BackupDqlite makes a back up of the contents of a k8s-dqlite database into a filesystem directory.

func BackupEtcd

func BackupEtcd(ctx context.Context, endpoint, dir string) error

BackupEtcd makes a back up of the contents of an etcd database into a filesystem directory.

func RestoreToDqlite

func RestoreToDqlite(ctx context.Context, endpoint, dir string) error

RestoreToDqlite restores database contents from backup directory to a k8s-dqlite database.

func RestoreToEtcd

func RestoreToEtcd(ctx context.Context, endpoint, dir string) error

RestoreToEtcd restores database contents from backup directory to etcd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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