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:
17
dump_postgres.go
Normal file
17
dump_postgres.go
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user