mysql

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 20 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 IsMySQLBinding added in v1.8.0

func IsMySQLBinding(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.8.0

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

func GetCredentials added in v1.8.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