mysql

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TableLockCmd      = "FLUSH TABLES WITH READ LOCK;"
	TableUnLockCmd    = "UNLOCK TABLES;"
	InstanceLockCmd   = "LOCK INSTANCE FOR BACKUP;"
	InstanceUnLockCmd = "UNLOCK INSTANCE;"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MYSQL

type MYSQL struct {
	// contains filtered or unexported fields
}

func (*MYSQL) Connect

func (m *MYSQL) Connect() error

func (*MYSQL) Init

func (m *MYSQL) Init(appConfig appconfig.Config) error

func (*MYSQL) Prepare added in v0.1.0

func (m *MYSQL) Prepare() (*amberappApi.PreservedConfig, error)

func (*MYSQL) Quiesce

func (m *MYSQL) Quiesce() (*amberappApi.QuiesceResult, error)

func (*MYSQL) Unquiesce

func (m *MYSQL) Unquiesce(prev *amberappApi.PreservedConfig) error

Jump to

Keyboard shortcuts

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