dump

package
v0.0.0-...-5b72f62 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultManifestFile = ".pdd.yaml"
)

default values.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ManifestFile string
}

Config contains export configuration options.

type Dumper

type Dumper interface {
	// creates database dump
	Dump(w io.Writer) error
}

Dumper provides functionality to dump database with given manifest configuration.

func NewDumper

func NewDumper(logger log.Logger, db database.DB, cfg Config) (Dumper, error)

NewDumper creates Dumper instance.

Jump to

Keyboard shortcuts

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