Documentation ¶
Index ¶
- Variables
- type Configuration
- func (m *Configuration) CloneMessageVT() proto.Message
- func (m *Configuration) CloneVT() *Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetHeartbeatInterval() float64
- func (x *Configuration) GetReplicaNetTimeout() int32
- func (m *Configuration) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Configuration) MarshalToVT(dAtA []byte) (int, error)
- func (m *Configuration) MarshalVT() (dAtA []byte, err error)
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (m *Configuration) SizeVT() (n int)
- func (x *Configuration) String() string
- func (m *Configuration) UnmarshalVT(dAtA []byte) error
- type FullStatus
- func (m *FullStatus) CloneMessageVT() proto.Message
- func (m *FullStatus) CloneVT() *FullStatus
- func (*FullStatus) Descriptor() ([]byte, []int)deprecated
- func (x *FullStatus) GetBinlogFormat() string
- func (x *FullStatus) GetBinlogRowImage() string
- func (x *FullStatus) GetGtidMode() string
- func (x *FullStatus) GetGtidPurged() string
- func (x *FullStatus) GetLogBinEnabled() bool
- func (x *FullStatus) GetLogReplicaUpdates() bool
- func (x *FullStatus) GetPrimaryStatus() *PrimaryStatus
- func (x *FullStatus) GetReadOnly() bool
- func (x *FullStatus) GetReplicationConfiguration() *Configuration
- func (x *FullStatus) GetReplicationStatus() *Status
- func (x *FullStatus) GetSemiSyncPrimaryClients() uint32
- func (x *FullStatus) GetSemiSyncPrimaryEnabled() bool
- func (x *FullStatus) GetSemiSyncPrimaryStatus() bool
- func (x *FullStatus) GetSemiSyncPrimaryTimeout() uint64
- func (x *FullStatus) GetSemiSyncReplicaEnabled() bool
- func (x *FullStatus) GetSemiSyncReplicaStatus() bool
- func (x *FullStatus) GetSemiSyncWaitForReplicaCount() uint32
- func (x *FullStatus) GetServerId() uint32
- func (x *FullStatus) GetServerUuid() string
- func (x *FullStatus) GetSuperReadOnly() bool
- func (x *FullStatus) GetVersion() string
- func (x *FullStatus) GetVersionComment() string
- func (m *FullStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FullStatus) MarshalToVT(dAtA []byte) (int, error)
- func (m *FullStatus) MarshalVT() (dAtA []byte, err error)
- func (*FullStatus) ProtoMessage()
- func (x *FullStatus) ProtoReflect() protoreflect.Message
- func (x *FullStatus) Reset()
- func (m *FullStatus) SizeVT() (n int)
- func (x *FullStatus) String() string
- func (m *FullStatus) UnmarshalVT(dAtA []byte) error
- type PrimaryStatus
- func (m *PrimaryStatus) CloneMessageVT() proto.Message
- func (m *PrimaryStatus) CloneVT() *PrimaryStatus
- func (*PrimaryStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PrimaryStatus) GetFilePosition() string
- func (x *PrimaryStatus) GetPosition() string
- func (m *PrimaryStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PrimaryStatus) MarshalToVT(dAtA []byte) (int, error)
- func (m *PrimaryStatus) MarshalVT() (dAtA []byte, err error)
- func (*PrimaryStatus) ProtoMessage()
- func (x *PrimaryStatus) ProtoReflect() protoreflect.Message
- func (x *PrimaryStatus) Reset()
- func (m *PrimaryStatus) SizeVT() (n int)
- func (x *PrimaryStatus) String() string
- func (m *PrimaryStatus) UnmarshalVT(dAtA []byte) error
- type Status
- func (m *Status) CloneMessageVT() proto.Message
- func (m *Status) CloneVT() *Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetAutoPosition() bool
- func (x *Status) GetConnectRetry() int32
- func (x *Status) GetFilePosition() string
- func (x *Status) GetHasReplicationFilters() bool
- func (x *Status) GetIoState() int32
- func (x *Status) GetLastIoError() string
- func (x *Status) GetLastSqlError() string
- func (x *Status) GetPosition() string
- func (x *Status) GetRelayLogFilePosition() string
- func (x *Status) GetRelayLogPosition() string
- func (x *Status) GetRelayLogSourceBinlogEquivalentPosition() string
- func (x *Status) GetReplicationLagSeconds() uint32
- func (x *Status) GetReplicationLagUnknown() bool
- func (x *Status) GetSourceHost() string
- func (x *Status) GetSourcePort() int32
- func (x *Status) GetSourceServerId() uint32
- func (x *Status) GetSourceUser() string
- func (x *Status) GetSourceUuid() string
- func (x *Status) GetSqlDelay() uint32
- func (x *Status) GetSqlState() int32
- func (x *Status) GetSslAllowed() bool
- func (x *Status) GetUsingGtid() bool
- func (m *Status) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Status) MarshalToVT(dAtA []byte) (int, error)
- func (m *Status) MarshalVT() (dAtA []byte, err error)
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (m *Status) SizeVT() (n int)
- func (x *Status) String() string
- func (m *Status) UnmarshalVT(dAtA []byte) error
- type StopReplicationMode
- func (StopReplicationMode) Descriptor() protoreflect.EnumDescriptor
- func (x StopReplicationMode) Enum() *StopReplicationMode
- func (StopReplicationMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x StopReplicationMode) Number() protoreflect.EnumNumber
- func (x StopReplicationMode) String() string
- func (StopReplicationMode) Type() protoreflect.EnumType
- type StopReplicationStatus
- func (m *StopReplicationStatus) CloneMessageVT() proto.Message
- func (m *StopReplicationStatus) CloneVT() *StopReplicationStatus
- func (*StopReplicationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *StopReplicationStatus) GetAfter() *Status
- func (x *StopReplicationStatus) GetBefore() *Status
- func (m *StopReplicationStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StopReplicationStatus) MarshalToVT(dAtA []byte) (int, error)
- func (m *StopReplicationStatus) MarshalVT() (dAtA []byte, err error)
- func (*StopReplicationStatus) ProtoMessage()
- func (x *StopReplicationStatus) ProtoReflect() protoreflect.Message
- func (x *StopReplicationStatus) Reset()
- func (m *StopReplicationStatus) SizeVT() (n int)
- func (x *StopReplicationStatus) String() string
- func (m *StopReplicationStatus) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( StopReplicationMode_name = map[int32]string{ 0: "IOANDSQLTHREAD", 1: "IOTHREADONLY", } StopReplicationMode_value = map[string]int32{ "IOANDSQLTHREAD": 0, "IOTHREADONLY": 1, } )
Enum value maps for StopReplicationMode.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_replicationdata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Configuration ¶ added in v0.20.0
type Configuration struct { // HeartbeatInterval controls the heartbeat interval that the primary sends to the replica HeartbeatInterval float64 `protobuf:"fixed64,1,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` // ReplicaNetTimeout specifies the number of seconds to wait for more data or a heartbeat signal from the source before the replica considers the connection broken ReplicaNetTimeout int32 `protobuf:"varint,2,opt,name=replica_net_timeout,json=replicaNetTimeout,proto3" json:"replica_net_timeout,omitempty"` // contains filtered or unexported fields }
Configuration holds replication configuration information gathered from performance_schema and global variables.
func (*Configuration) CloneMessageVT ¶ added in v0.20.0
func (m *Configuration) CloneMessageVT() proto.Message
func (*Configuration) CloneVT ¶ added in v0.20.0
func (m *Configuration) CloneVT() *Configuration
func (*Configuration) Descriptor
deprecated
added in
v0.20.0
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetHeartbeatInterval ¶ added in v0.20.0
func (x *Configuration) GetHeartbeatInterval() float64
func (*Configuration) GetReplicaNetTimeout ¶ added in v0.20.0
func (x *Configuration) GetReplicaNetTimeout() int32
func (*Configuration) MarshalToSizedBufferVT ¶ added in v0.20.0
func (m *Configuration) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Configuration) MarshalToVT ¶ added in v0.20.0
func (m *Configuration) MarshalToVT(dAtA []byte) (int, error)
func (*Configuration) MarshalVT ¶ added in v0.20.0
func (m *Configuration) MarshalVT() (dAtA []byte, err error)
func (*Configuration) ProtoMessage ¶ added in v0.20.0
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶ added in v0.20.0
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶ added in v0.20.0
func (x *Configuration) Reset()
func (*Configuration) SizeVT ¶ added in v0.20.0
func (m *Configuration) SizeVT() (n int)
func (*Configuration) String ¶ added in v0.20.0
func (x *Configuration) String() string
func (*Configuration) UnmarshalVT ¶ added in v0.20.0
func (m *Configuration) UnmarshalVT(dAtA []byte) error
type FullStatus ¶ added in v0.14.0
type FullStatus struct { ServerId uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` ServerUuid string `protobuf:"bytes,2,opt,name=server_uuid,json=serverUuid,proto3" json:"server_uuid,omitempty"` ReplicationStatus *Status `protobuf:"bytes,3,opt,name=replication_status,json=replicationStatus,proto3" json:"replication_status,omitempty"` PrimaryStatus *PrimaryStatus `protobuf:"bytes,4,opt,name=primary_status,json=primaryStatus,proto3" json:"primary_status,omitempty"` GtidPurged string `protobuf:"bytes,5,opt,name=gtid_purged,json=gtidPurged,proto3" json:"gtid_purged,omitempty"` Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` VersionComment string `protobuf:"bytes,7,opt,name=version_comment,json=versionComment,proto3" json:"version_comment,omitempty"` ReadOnly bool `protobuf:"varint,8,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` GtidMode string `protobuf:"bytes,9,opt,name=gtid_mode,json=gtidMode,proto3" json:"gtid_mode,omitempty"` BinlogFormat string `protobuf:"bytes,10,opt,name=binlog_format,json=binlogFormat,proto3" json:"binlog_format,omitempty"` BinlogRowImage string `protobuf:"bytes,11,opt,name=binlog_row_image,json=binlogRowImage,proto3" json:"binlog_row_image,omitempty"` LogBinEnabled bool `protobuf:"varint,12,opt,name=log_bin_enabled,json=logBinEnabled,proto3" json:"log_bin_enabled,omitempty"` LogReplicaUpdates bool `protobuf:"varint,13,opt,name=log_replica_updates,json=logReplicaUpdates,proto3" json:"log_replica_updates,omitempty"` SemiSyncPrimaryEnabled bool `` /* 133-byte string literal not displayed */ SemiSyncReplicaEnabled bool `` /* 133-byte string literal not displayed */ SemiSyncPrimaryStatus bool `` /* 130-byte string literal not displayed */ SemiSyncReplicaStatus bool `` /* 130-byte string literal not displayed */ SemiSyncPrimaryClients uint32 `` /* 133-byte string literal not displayed */ SemiSyncPrimaryTimeout uint64 `` /* 133-byte string literal not displayed */ SemiSyncWaitForReplicaCount uint32 `` /* 152-byte string literal not displayed */ SuperReadOnly bool `protobuf:"varint,21,opt,name=super_read_only,json=superReadOnly,proto3" json:"super_read_only,omitempty"` ReplicationConfiguration *Configuration `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
FullStatus contains the full status of MySQL including the replication information, semi-sync information, GTID information among others
func (*FullStatus) CloneMessageVT ¶ added in v0.18.0
func (m *FullStatus) CloneMessageVT() proto.Message
func (*FullStatus) CloneVT ¶ added in v0.18.0
func (m *FullStatus) CloneVT() *FullStatus
func (*FullStatus) Descriptor
deprecated
added in
v0.14.0
func (*FullStatus) Descriptor() ([]byte, []int)
Deprecated: Use FullStatus.ProtoReflect.Descriptor instead.
func (*FullStatus) GetBinlogFormat ¶ added in v0.14.0
func (x *FullStatus) GetBinlogFormat() string
func (*FullStatus) GetBinlogRowImage ¶ added in v0.14.0
func (x *FullStatus) GetBinlogRowImage() string
func (*FullStatus) GetGtidMode ¶ added in v0.14.0
func (x *FullStatus) GetGtidMode() string
func (*FullStatus) GetGtidPurged ¶ added in v0.14.0
func (x *FullStatus) GetGtidPurged() string
func (*FullStatus) GetLogBinEnabled ¶ added in v0.14.0
func (x *FullStatus) GetLogBinEnabled() bool
func (*FullStatus) GetLogReplicaUpdates ¶ added in v0.14.0
func (x *FullStatus) GetLogReplicaUpdates() bool
func (*FullStatus) GetPrimaryStatus ¶ added in v0.14.0
func (x *FullStatus) GetPrimaryStatus() *PrimaryStatus
func (*FullStatus) GetReadOnly ¶ added in v0.14.0
func (x *FullStatus) GetReadOnly() bool
func (*FullStatus) GetReplicationConfiguration ¶ added in v0.20.0
func (x *FullStatus) GetReplicationConfiguration() *Configuration
func (*FullStatus) GetReplicationStatus ¶ added in v0.14.0
func (x *FullStatus) GetReplicationStatus() *Status
func (*FullStatus) GetSemiSyncPrimaryClients ¶ added in v0.14.0
func (x *FullStatus) GetSemiSyncPrimaryClients() uint32
func (*FullStatus) GetSemiSyncPrimaryEnabled ¶ added in v0.14.0
func (x *FullStatus) GetSemiSyncPrimaryEnabled() bool
func (*FullStatus) GetSemiSyncPrimaryStatus ¶ added in v0.14.0
func (x *FullStatus) GetSemiSyncPrimaryStatus() bool
func (*FullStatus) GetSemiSyncPrimaryTimeout ¶ added in v0.14.0
func (x *FullStatus) GetSemiSyncPrimaryTimeout() uint64
func (*FullStatus) GetSemiSyncReplicaEnabled ¶ added in v0.14.0
func (x *FullStatus) GetSemiSyncReplicaEnabled() bool
func (*FullStatus) GetSemiSyncReplicaStatus ¶ added in v0.14.0
func (x *FullStatus) GetSemiSyncReplicaStatus() bool
func (*FullStatus) GetSemiSyncWaitForReplicaCount ¶ added in v0.14.0
func (x *FullStatus) GetSemiSyncWaitForReplicaCount() uint32
func (*FullStatus) GetServerId ¶ added in v0.14.0
func (x *FullStatus) GetServerId() uint32
func (*FullStatus) GetServerUuid ¶ added in v0.14.0
func (x *FullStatus) GetServerUuid() string
func (*FullStatus) GetSuperReadOnly ¶ added in v0.17.0
func (x *FullStatus) GetSuperReadOnly() bool
func (*FullStatus) GetVersion ¶ added in v0.14.0
func (x *FullStatus) GetVersion() string
func (*FullStatus) GetVersionComment ¶ added in v0.14.0
func (x *FullStatus) GetVersionComment() string
func (*FullStatus) MarshalToSizedBufferVT ¶ added in v0.14.0
func (m *FullStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FullStatus) MarshalToVT ¶ added in v0.14.0
func (m *FullStatus) MarshalToVT(dAtA []byte) (int, error)
func (*FullStatus) MarshalVT ¶ added in v0.14.0
func (m *FullStatus) MarshalVT() (dAtA []byte, err error)
func (*FullStatus) ProtoMessage ¶ added in v0.14.0
func (*FullStatus) ProtoMessage()
func (*FullStatus) ProtoReflect ¶ added in v0.14.0
func (x *FullStatus) ProtoReflect() protoreflect.Message
func (*FullStatus) Reset ¶ added in v0.14.0
func (x *FullStatus) Reset()
func (*FullStatus) SizeVT ¶ added in v0.14.0
func (m *FullStatus) SizeVT() (n int)
func (*FullStatus) String ¶ added in v0.14.0
func (x *FullStatus) String() string
func (*FullStatus) UnmarshalVT ¶ added in v0.14.0
func (m *FullStatus) UnmarshalVT(dAtA []byte) error
type PrimaryStatus ¶ added in v0.12.0
type PrimaryStatus struct { Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` FilePosition string `protobuf:"bytes,2,opt,name=file_position,json=filePosition,proto3" json:"file_position,omitempty"` // contains filtered or unexported fields }
PrimaryStatus is the replication status for a MySQL primary (returned by 'show binary log status').
func (*PrimaryStatus) CloneMessageVT ¶ added in v0.18.0
func (m *PrimaryStatus) CloneMessageVT() proto.Message
func (*PrimaryStatus) CloneVT ¶ added in v0.18.0
func (m *PrimaryStatus) CloneVT() *PrimaryStatus
func (*PrimaryStatus) Descriptor
deprecated
added in
v0.12.0
func (*PrimaryStatus) Descriptor() ([]byte, []int)
Deprecated: Use PrimaryStatus.ProtoReflect.Descriptor instead.
func (*PrimaryStatus) GetFilePosition ¶ added in v0.12.0
func (x *PrimaryStatus) GetFilePosition() string
func (*PrimaryStatus) GetPosition ¶ added in v0.12.0
func (x *PrimaryStatus) GetPosition() string
func (*PrimaryStatus) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *PrimaryStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PrimaryStatus) MarshalToVT ¶ added in v0.12.0
func (m *PrimaryStatus) MarshalToVT(dAtA []byte) (int, error)
func (*PrimaryStatus) MarshalVT ¶ added in v0.12.0
func (m *PrimaryStatus) MarshalVT() (dAtA []byte, err error)
func (*PrimaryStatus) ProtoMessage ¶ added in v0.12.0
func (*PrimaryStatus) ProtoMessage()
func (*PrimaryStatus) ProtoReflect ¶ added in v0.12.0
func (x *PrimaryStatus) ProtoReflect() protoreflect.Message
func (*PrimaryStatus) Reset ¶ added in v0.12.0
func (x *PrimaryStatus) Reset()
func (*PrimaryStatus) SizeVT ¶ added in v0.12.0
func (m *PrimaryStatus) SizeVT() (n int)
func (*PrimaryStatus) String ¶ added in v0.12.0
func (x *PrimaryStatus) String() string
func (*PrimaryStatus) UnmarshalVT ¶ added in v0.12.0
func (m *PrimaryStatus) UnmarshalVT(dAtA []byte) error
type Status ¶
type Status struct { Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` ReplicationLagSeconds uint32 `` /* 127-byte string literal not displayed */ SourceHost string `protobuf:"bytes,5,opt,name=source_host,json=sourceHost,proto3" json:"source_host,omitempty"` SourcePort int32 `protobuf:"varint,6,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"` ConnectRetry int32 `protobuf:"varint,7,opt,name=connect_retry,json=connectRetry,proto3" json:"connect_retry,omitempty"` // RelayLogPosition will be empty for flavors that do not support returning the full GTIDSet from the relay log, such as MariaDB. RelayLogPosition string `protobuf:"bytes,8,opt,name=relay_log_position,json=relayLogPosition,proto3" json:"relay_log_position,omitempty"` FilePosition string `protobuf:"bytes,9,opt,name=file_position,json=filePosition,proto3" json:"file_position,omitempty"` RelayLogSourceBinlogEquivalentPosition string `` /* 184-byte string literal not displayed */ SourceServerId uint32 `protobuf:"varint,11,opt,name=source_server_id,json=sourceServerId,proto3" json:"source_server_id,omitempty"` SourceUuid string `protobuf:"bytes,12,opt,name=source_uuid,json=sourceUuid,proto3" json:"source_uuid,omitempty"` IoState int32 `protobuf:"varint,13,opt,name=io_state,json=ioState,proto3" json:"io_state,omitempty"` LastIoError string `protobuf:"bytes,14,opt,name=last_io_error,json=lastIoError,proto3" json:"last_io_error,omitempty"` SqlState int32 `protobuf:"varint,15,opt,name=sql_state,json=sqlState,proto3" json:"sql_state,omitempty"` LastSqlError string `protobuf:"bytes,16,opt,name=last_sql_error,json=lastSqlError,proto3" json:"last_sql_error,omitempty"` RelayLogFilePosition string `` /* 126-byte string literal not displayed */ SourceUser string `protobuf:"bytes,18,opt,name=source_user,json=sourceUser,proto3" json:"source_user,omitempty"` SqlDelay uint32 `protobuf:"varint,19,opt,name=sql_delay,json=sqlDelay,proto3" json:"sql_delay,omitempty"` AutoPosition bool `protobuf:"varint,20,opt,name=auto_position,json=autoPosition,proto3" json:"auto_position,omitempty"` UsingGtid bool `protobuf:"varint,21,opt,name=using_gtid,json=usingGtid,proto3" json:"using_gtid,omitempty"` HasReplicationFilters bool `` /* 128-byte string literal not displayed */ SslAllowed bool `protobuf:"varint,23,opt,name=ssl_allowed,json=sslAllowed,proto3" json:"ssl_allowed,omitempty"` ReplicationLagUnknown bool `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
Status is the replication status for MySQL/MariaDB/File-based. Returned by a flavor-specific command and parsed into a Position and fields.
func (*Status) CloneMessageVT ¶ added in v0.18.0
func (*Status) Descriptor
deprecated
func (*Status) GetAutoPosition ¶ added in v0.14.0
func (*Status) GetConnectRetry ¶ added in v0.12.0
func (*Status) GetFilePosition ¶
func (*Status) GetHasReplicationFilters ¶ added in v0.14.0
func (*Status) GetIoState ¶ added in v0.14.0
func (*Status) GetLastIoError ¶ added in v0.14.0
func (*Status) GetLastSqlError ¶ added in v0.14.0
func (*Status) GetPosition ¶
func (*Status) GetRelayLogFilePosition ¶ added in v0.14.0
func (*Status) GetRelayLogPosition ¶
func (*Status) GetRelayLogSourceBinlogEquivalentPosition ¶ added in v0.14.0
func (*Status) GetReplicationLagSeconds ¶ added in v0.12.0
func (*Status) GetReplicationLagUnknown ¶ added in v0.14.0
func (*Status) GetSourceHost ¶ added in v0.12.0
func (*Status) GetSourcePort ¶ added in v0.12.0
func (*Status) GetSourceServerId ¶ added in v0.12.0
func (*Status) GetSourceUser ¶ added in v0.14.0
func (*Status) GetSourceUuid ¶ added in v0.12.0
func (*Status) GetSqlDelay ¶ added in v0.14.0
func (*Status) GetSqlState ¶ added in v0.14.0
func (*Status) GetSslAllowed ¶ added in v0.14.0
func (*Status) GetUsingGtid ¶ added in v0.14.0
func (*Status) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Status) MarshalToVT ¶ added in v0.11.0
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶ added in v0.11.0
func (x *Status) ProtoReflect() protoreflect.Message
func (*Status) UnmarshalVT ¶ added in v0.11.0
type StopReplicationMode ¶
type StopReplicationMode int32
StopReplicationMode is used to provide controls over how replication is stopped.
const ( StopReplicationMode_IOANDSQLTHREAD StopReplicationMode = 0 StopReplicationMode_IOTHREADONLY StopReplicationMode = 1 )
func (StopReplicationMode) Descriptor ¶ added in v0.11.0
func (StopReplicationMode) Descriptor() protoreflect.EnumDescriptor
func (StopReplicationMode) Enum ¶ added in v0.11.0
func (x StopReplicationMode) Enum() *StopReplicationMode
func (StopReplicationMode) EnumDescriptor
deprecated
func (StopReplicationMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use StopReplicationMode.Descriptor instead.
func (StopReplicationMode) Number ¶ added in v0.11.0
func (x StopReplicationMode) Number() protoreflect.EnumNumber
func (StopReplicationMode) String ¶
func (x StopReplicationMode) String() string
func (StopReplicationMode) Type ¶ added in v0.11.0
func (StopReplicationMode) Type() protoreflect.EnumType
type StopReplicationStatus ¶
type StopReplicationStatus struct { Before *Status `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` After *Status `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` // contains filtered or unexported fields }
StopReplicationStatus represents the replication status before calling StopReplication, and the replication status collected immediately after calling StopReplication.
func (*StopReplicationStatus) CloneMessageVT ¶ added in v0.18.0
func (m *StopReplicationStatus) CloneMessageVT() proto.Message
func (*StopReplicationStatus) CloneVT ¶ added in v0.18.0
func (m *StopReplicationStatus) CloneVT() *StopReplicationStatus
func (*StopReplicationStatus) Descriptor
deprecated
func (*StopReplicationStatus) Descriptor() ([]byte, []int)
Deprecated: Use StopReplicationStatus.ProtoReflect.Descriptor instead.
func (*StopReplicationStatus) GetAfter ¶
func (x *StopReplicationStatus) GetAfter() *Status
func (*StopReplicationStatus) GetBefore ¶
func (x *StopReplicationStatus) GetBefore() *Status
func (*StopReplicationStatus) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StopReplicationStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StopReplicationStatus) MarshalToVT ¶ added in v0.11.0
func (m *StopReplicationStatus) MarshalToVT(dAtA []byte) (int, error)
func (*StopReplicationStatus) MarshalVT ¶ added in v0.11.0
func (m *StopReplicationStatus) MarshalVT() (dAtA []byte, err error)
func (*StopReplicationStatus) ProtoMessage ¶
func (*StopReplicationStatus) ProtoMessage()
func (*StopReplicationStatus) ProtoReflect ¶ added in v0.11.0
func (x *StopReplicationStatus) ProtoReflect() protoreflect.Message
func (*StopReplicationStatus) Reset ¶
func (x *StopReplicationStatus) Reset()
func (*StopReplicationStatus) SizeVT ¶ added in v0.11.0
func (m *StopReplicationStatus) SizeVT() (n int)
func (*StopReplicationStatus) String ¶
func (x *StopReplicationStatus) String() string
func (*StopReplicationStatus) UnmarshalVT ¶ added in v0.11.0
func (m *StopReplicationStatus) UnmarshalVT(dAtA []byte) error