go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/proto/replicationdata Index | Files

package replicationdata

import "gopkg.in/src-d/go-vitess.v1/vt/proto/replicationdata"

Index

Package Files

replicationdata.pb.go

type Status Uses

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

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

func (*Status) Descriptor Uses

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

func (*Status) GetMasterConnectRetry Uses

func (m *Status) GetMasterConnectRetry() int32

func (*Status) GetMasterHost Uses

func (m *Status) GetMasterHost() string

func (*Status) GetMasterPort Uses

func (m *Status) GetMasterPort() int32

func (*Status) GetPosition Uses

func (m *Status) GetPosition() string

func (*Status) GetSecondsBehindMaster Uses

func (m *Status) GetSecondsBehindMaster() uint32

func (*Status) GetSlaveIoRunning Uses

func (m *Status) GetSlaveIoRunning() bool

func (*Status) GetSlaveSqlRunning Uses

func (m *Status) GetSlaveSqlRunning() bool

func (*Status) ProtoMessage Uses

func (*Status) ProtoMessage()

func (*Status) Reset Uses

func (m *Status) Reset()

func (*Status) String Uses

func (m *Status) String() string

func (*Status) XXX_DiscardUnknown Uses

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal Uses

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge Uses

func (dst *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size Uses

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal Uses

func (m *Status) XXX_Unmarshal(b []byte) error

Package replicationdata imports 3 packages (graph) and is imported by 14 packages. Updated 2019-06-13. Refresh now. Tools for package owners.