postgres

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backup

func Backup(ctx context.Context, s3 *s3.Client, service util.Service, binding *cfenv.Service, filename string) error

func IsPostgresBinding added in v1.7.0

func IsPostgresBinding(binding *cfenv.Service) bool

func Restore

func Restore(ctx context.Context, s3 *s3.Client, service util.Service, binding *cfenv.Service, objectPath string) error

Types

type Credentials added in v1.7.0

type Credentials struct {
	Hostname string
	Database string
	Username string
	Password string
	Port     string
}

func GetCredentials added in v1.7.0

func GetCredentials(binding *cfenv.Service) *Credentials

Jump to

Keyboard shortcuts

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