3
0
mirror of https://kolaente.dev/konrad/docker-db-backup.git synced 2026-01-10 02:50:08 +01:00

Add dumpers

This commit is contained in:
kolaente
2021-08-18 20:25:59 +02:00
parent d3abd6749f
commit 79f6c5cfad
4 changed files with 63 additions and 5 deletions

17
dump_postgres.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import "github.com/docker/docker/api/types"
type PostgresDumper struct {
Container *types.ContainerJSON
}
func NewPostgresDumper(container *types.ContainerJSON) *PostgresDumper {
return &PostgresDumper{
Container: container,
}
}
func (p *PostgresDumper) Dump() error {
panic("implement me")
}