Documentation ¶
Index ¶
- Constants
- type BackupInputMysql
- func (m *BackupInputMysql) Close() error
- func (m *BackupInputMysql) GetConfig() interface{}
- func (m *BackupInputMysql) GetGroup() core.ModuleGroup
- func (m *BackupInputMysql) GetName() string
- func (m *BackupInputMysql) GetType() core.ModuleType
- func (m *BackupInputMysql) InitModule(cfg interface{}) error
- func (m *BackupInputMysql) InitPipe(w io.Writer, r io.Reader) error
- func (m *BackupInputMysql) Run(ctx context.Context) error
- type MySQLConfig
Constants ¶
View Source
const GroupName = "backup"
Module Constants
View Source
const ModuleName = "mysql"
View Source
const TypeName = "input"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupInputMysql ¶
BackupInputMysql is struct storing inner properties for mysql backups
func (*BackupInputMysql) GetConfig ¶
func (m *BackupInputMysql) GetConfig() interface{}
GetConfig returns config of module
func (*BackupInputMysql) GetGroup ¶
func (m *BackupInputMysql) GetGroup() core.ModuleGroup
GetGroup returns group
func (*BackupInputMysql) GetName ¶
func (m *BackupInputMysql) GetName() string
GetName returns name of module
func (*BackupInputMysql) GetType ¶
func (m *BackupInputMysql) GetType() core.ModuleType
GetType returns type
func (*BackupInputMysql) InitModule ¶
func (m *BackupInputMysql) InitModule(cfg interface{}) error
InitModule initializes module
type MySQLConfig ¶
type MySQLConfig struct {
DSN string
}
MySQLConfig stores configuration for MySQL backups
Click to show internal directories.
Click to hide internal directories.