dumper

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dumper

type Dumper interface {
	// Dump db content to storage.
	Dump(storage io.Writer) error
}

type ExecDumper added in v1.0.0

type ExecDumper struct {
	DBDriver driver.Driver
}

func NewExecDumper added in v1.0.0

func NewExecDumper(driver driver.Driver) *ExecDumper

func (*ExecDumper) Dump added in v1.2.0

func (execDump *ExecDumper) Dump(storage io.Writer) error

type SshDumper added in v1.0.0

type SshDumper struct {
	SshHost  string
	SshKey   string
	SshUser  string
	DBDriver driver.Driver
}

func NewSshDumper added in v1.0.0

func NewSshDumper(host, key, user string, driver driver.Driver) *SshDumper

func (*SshDumper) Dump added in v1.2.0

func (sshDumper *SshDumper) Dump(storage io.Writer) error

Jump to

Keyboard shortcuts

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