installers

package
v0.0.0-...-54fc5f9 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mysql

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

Mysql - install image to MySQL

func GetInstallerMysql

func GetInstallerMysql(config contract.InstallerConfig) (*Mysql, error)

GetInstallerMysql - installer instance

func (*Mysql) GetTableImage

func (m *Mysql) GetTableImage(table string, args ...interface{}) (contract.Image, error)

GetTableImage - table to Image

func (*Mysql) GetTableRowsCount

func (m *Mysql) GetTableRowsCount(table string) (int64, error)

GetTableRowsCount - table rows count

func (*Mysql) InstallImage

func (m *Mysql) InstallImage(image contract.Image) error

InstallImage - install Image

func (*Mysql) Rollback

func (m *Mysql) Rollback() error

Rollback - rollback previous transaction

func (*Mysql) SetClearMethod

func (m *Mysql) SetClearMethod(method int) contract.Installer

SetClearMethod - rewrite clear method

func (*Mysql) WithTransaction

func (m *Mysql) WithTransaction() error

WithTransaction - start transaction

Jump to

Keyboard shortcuts

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