Documentation ¶
Index ¶
- Constants
- func GetPXCLastHost(pxcServiceName string) (string, error)
- type Binlog
- type PXC
- func (p *PXC) Close() error
- func (p *PXC) DropCollectorFunctions() error
- func (p *PXC) GetBinLogFirstTimestamp(binlog string) (string, error)
- func (p *PXC) GetBinLogList() ([]Binlog, error)
- func (p *PXC) GetBinLogName(gtidSet string) (string, error)
- func (p *PXC) GetGTIDSet(binlogName string) (string, error)
- func (p *PXC) GetHost() string
- func (p *PXC) IsGTIDSubset(subSet, gtidSet string) (bool, error)
Constants ¶
View Source
const UsingPassErrorMessage = `mysqlbinlog: [Warning] Using a password on the command line interface can be insecure.`
Variables ¶
This section is empty.
Functions ¶
func GetPXCLastHost ¶
Types ¶
type PXC ¶
type PXC struct {
// contains filtered or unexported fields
}
PXC is a type for working with pxc
func (*PXC) DropCollectorFunctions ¶
func (*PXC) GetBinLogFirstTimestamp ¶
GetBinLogFirstTimestamp return binary log file first timestamp
func (*PXC) GetBinLogList ¶
GetBinLogList return binary log files list
func (*PXC) GetBinLogName ¶
GetBinLogName returns name of the binary log file by given GTID set
func (*PXC) GetGTIDSet ¶
GetGTIDSet return GTID set by binary log file name
Click to show internal directories.
Click to hide internal directories.