replicationdata

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 22, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package replicationdata is a generated protocol buffer package.

It is generated from these files:

replicationdata.proto

It has these top-level messages:

Status

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status struct {
	Position            string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
	SlaveIoRunning      bool   `protobuf:"varint,2,opt,name=slave_io_running,json=slaveIoRunning" json:"slave_io_running,omitempty"`
	SlaveSqlRunning     bool   `protobuf:"varint,3,opt,name=slave_sql_running,json=slaveSqlRunning" json:"slave_sql_running,omitempty"`
	SecondsBehindMaster uint32 `protobuf:"varint,4,opt,name=seconds_behind_master,json=secondsBehindMaster" json:"seconds_behind_master,omitempty"`
	MasterHost          string `protobuf:"bytes,5,opt,name=master_host,json=masterHost" json:"master_host,omitempty"`
	MasterPort          int32  `protobuf:"varint,6,opt,name=master_port,json=masterPort" json:"master_port,omitempty"`
	MasterConnectRetry  int32  `protobuf:"varint,7,opt,name=master_connect_retry,json=masterConnectRetry" json:"master_connect_retry,omitempty"`
}

Status is the replication status for MySQL (returned by 'show slave status' and parsed into a Position and fields).

func (*Status) Descriptor

func (*Status) Descriptor() ([]byte, []int)

func (*Status) GetMasterConnectRetry

func (m *Status) GetMasterConnectRetry() int32

func (*Status) GetMasterHost

func (m *Status) GetMasterHost() string

func (*Status) GetMasterPort

func (m *Status) GetMasterPort() int32

func (*Status) GetPosition

func (m *Status) GetPosition() string

func (*Status) GetSecondsBehindMaster

func (m *Status) GetSecondsBehindMaster() uint32

func (*Status) GetSlaveIoRunning

func (m *Status) GetSlaveIoRunning() bool

func (*Status) GetSlaveSqlRunning

func (m *Status) GetSlaveSqlRunning() bool

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

Jump to

Keyboard shortcuts

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