Documentation ¶
Overview ¶
Package tabletmanagerdata is a generated protocol buffer package.
It is generated from these files:
tabletmanagerdata.proto
It has these top-level messages:
TableDefinition SchemaDefinition UserPermission DbPermission Permissions BlpPosition PingRequest PingResponse SleepRequest SleepResponse ExecuteHookRequest ExecuteHookResponse GetSchemaRequest GetSchemaResponse GetPermissionsRequest GetPermissionsResponse SetReadOnlyRequest SetReadOnlyResponse SetReadWriteRequest SetReadWriteResponse ChangeTypeRequest ChangeTypeResponse RefreshStateRequest RefreshStateResponse RunHealthCheckRequest RunHealthCheckResponse ReloadSchemaRequest ReloadSchemaResponse PreflightSchemaRequest PreflightSchemaResponse ApplySchemaRequest ApplySchemaResponse ExecuteFetchAsDbaRequest ExecuteFetchAsDbaResponse ExecuteFetchAsAppRequest ExecuteFetchAsAppResponse SlaveStatusRequest SlaveStatusResponse MasterPositionRequest MasterPositionResponse StopSlaveRequest StopSlaveResponse StopSlaveMinimumRequest StopSlaveMinimumResponse StartSlaveRequest StartSlaveResponse TabletExternallyReparentedRequest TabletExternallyReparentedResponse TabletExternallyElectedRequest TabletExternallyElectedResponse GetSlavesRequest GetSlavesResponse WaitBlpPositionRequest WaitBlpPositionResponse StopBlpRequest StopBlpResponse StartBlpRequest StartBlpResponse RunBlpUntilRequest RunBlpUntilResponse ResetReplicationRequest ResetReplicationResponse InitMasterRequest InitMasterResponse PopulateReparentJournalRequest PopulateReparentJournalResponse InitSlaveRequest InitSlaveResponse DemoteMasterRequest DemoteMasterResponse PromoteSlaveWhenCaughtUpRequest PromoteSlaveWhenCaughtUpResponse SlaveWasPromotedRequest SlaveWasPromotedResponse SetMasterRequest SetMasterResponse SlaveWasRestartedRequest SlaveWasRestartedResponse StopReplicationAndGetStatusRequest StopReplicationAndGetStatusResponse PromoteSlaveRequest PromoteSlaveResponse BackupRequest BackupResponse
Index ¶
- type ApplySchemaRequest
- func (*ApplySchemaRequest) Descriptor() ([]byte, []int)
- func (m *ApplySchemaRequest) GetAfterSchema() *SchemaDefinition
- func (m *ApplySchemaRequest) GetBeforeSchema() *SchemaDefinition
- func (*ApplySchemaRequest) ProtoMessage()
- func (m *ApplySchemaRequest) Reset()
- func (m *ApplySchemaRequest) String() string
- type ApplySchemaResponse
- func (*ApplySchemaResponse) Descriptor() ([]byte, []int)
- func (m *ApplySchemaResponse) GetAfterSchema() *SchemaDefinition
- func (m *ApplySchemaResponse) GetBeforeSchema() *SchemaDefinition
- func (*ApplySchemaResponse) ProtoMessage()
- func (m *ApplySchemaResponse) Reset()
- func (m *ApplySchemaResponse) String() string
- type BackupRequest
- type BackupResponse
- type BlpPosition
- type ChangeTypeRequest
- type ChangeTypeResponse
- type DbPermission
- type DemoteMasterRequest
- type DemoteMasterResponse
- type ExecuteFetchAsAppRequest
- type ExecuteFetchAsAppResponse
- type ExecuteFetchAsDbaRequest
- type ExecuteFetchAsDbaResponse
- type ExecuteHookRequest
- type ExecuteHookResponse
- type GetPermissionsRequest
- type GetPermissionsResponse
- type GetSchemaRequest
- type GetSchemaResponse
- type GetSlavesRequest
- type GetSlavesResponse
- type InitMasterRequest
- type InitMasterResponse
- type InitSlaveRequest
- type InitSlaveResponse
- type MasterPositionRequest
- type MasterPositionResponse
- type Permissions
- type PingRequest
- type PingResponse
- type PopulateReparentJournalRequest
- func (*PopulateReparentJournalRequest) Descriptor() ([]byte, []int)
- func (m *PopulateReparentJournalRequest) GetMasterAlias() *topodata.TabletAlias
- func (*PopulateReparentJournalRequest) ProtoMessage()
- func (m *PopulateReparentJournalRequest) Reset()
- func (m *PopulateReparentJournalRequest) String() string
- type PopulateReparentJournalResponse
- type PreflightSchemaRequest
- type PreflightSchemaResponse
- func (*PreflightSchemaResponse) Descriptor() ([]byte, []int)
- func (m *PreflightSchemaResponse) GetAfterSchema() *SchemaDefinition
- func (m *PreflightSchemaResponse) GetBeforeSchema() *SchemaDefinition
- func (*PreflightSchemaResponse) ProtoMessage()
- func (m *PreflightSchemaResponse) Reset()
- func (m *PreflightSchemaResponse) String() string
- type PromoteSlaveRequest
- type PromoteSlaveResponse
- type PromoteSlaveWhenCaughtUpRequest
- type PromoteSlaveWhenCaughtUpResponse
- type RefreshStateRequest
- type RefreshStateResponse
- type ReloadSchemaRequest
- type ReloadSchemaResponse
- type ResetReplicationRequest
- type ResetReplicationResponse
- type RunBlpUntilRequest
- type RunBlpUntilResponse
- type RunHealthCheckRequest
- type RunHealthCheckResponse
- type SchemaDefinition
- type SetMasterRequest
- type SetMasterResponse
- type SetReadOnlyRequest
- type SetReadOnlyResponse
- type SetReadWriteRequest
- type SetReadWriteResponse
- type SlaveStatusRequest
- type SlaveStatusResponse
- type SlaveWasPromotedRequest
- type SlaveWasPromotedResponse
- type SlaveWasRestartedRequest
- type SlaveWasRestartedResponse
- type SleepRequest
- type SleepResponse
- type StartBlpRequest
- type StartBlpResponse
- type StartSlaveRequest
- type StartSlaveResponse
- type StopBlpRequest
- type StopBlpResponse
- type StopReplicationAndGetStatusRequest
- type StopReplicationAndGetStatusResponse
- func (*StopReplicationAndGetStatusResponse) Descriptor() ([]byte, []int)
- func (m *StopReplicationAndGetStatusResponse) GetStatus() *replicationdata.Status
- func (*StopReplicationAndGetStatusResponse) ProtoMessage()
- func (m *StopReplicationAndGetStatusResponse) Reset()
- func (m *StopReplicationAndGetStatusResponse) String() string
- type StopSlaveMinimumRequest
- type StopSlaveMinimumResponse
- type StopSlaveRequest
- type StopSlaveResponse
- type TableDefinition
- type TabletExternallyElectedRequest
- type TabletExternallyElectedResponse
- type TabletExternallyReparentedRequest
- type TabletExternallyReparentedResponse
- type UserPermission
- type WaitBlpPositionRequest
- type WaitBlpPositionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplySchemaRequest ¶
type ApplySchemaRequest struct { Sql string `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"` Force bool `protobuf:"varint,2,opt,name=force" json:"force,omitempty"` AllowReplication bool `protobuf:"varint,3,opt,name=allow_replication,json=allowReplication" json:"allow_replication,omitempty"` BeforeSchema *SchemaDefinition `protobuf:"bytes,4,opt,name=before_schema,json=beforeSchema" json:"before_schema,omitempty"` AfterSchema *SchemaDefinition `protobuf:"bytes,5,opt,name=after_schema,json=afterSchema" json:"after_schema,omitempty"` }
func (*ApplySchemaRequest) Descriptor ¶
func (*ApplySchemaRequest) Descriptor() ([]byte, []int)
func (*ApplySchemaRequest) GetAfterSchema ¶
func (m *ApplySchemaRequest) GetAfterSchema() *SchemaDefinition
func (*ApplySchemaRequest) GetBeforeSchema ¶
func (m *ApplySchemaRequest) GetBeforeSchema() *SchemaDefinition
func (*ApplySchemaRequest) ProtoMessage ¶
func (*ApplySchemaRequest) ProtoMessage()
func (*ApplySchemaRequest) Reset ¶
func (m *ApplySchemaRequest) Reset()
func (*ApplySchemaRequest) String ¶
func (m *ApplySchemaRequest) String() string
type ApplySchemaResponse ¶
type ApplySchemaResponse struct { BeforeSchema *SchemaDefinition `protobuf:"bytes,1,opt,name=before_schema,json=beforeSchema" json:"before_schema,omitempty"` AfterSchema *SchemaDefinition `protobuf:"bytes,2,opt,name=after_schema,json=afterSchema" json:"after_schema,omitempty"` }
func (*ApplySchemaResponse) Descriptor ¶
func (*ApplySchemaResponse) Descriptor() ([]byte, []int)
func (*ApplySchemaResponse) GetAfterSchema ¶
func (m *ApplySchemaResponse) GetAfterSchema() *SchemaDefinition
func (*ApplySchemaResponse) GetBeforeSchema ¶
func (m *ApplySchemaResponse) GetBeforeSchema() *SchemaDefinition
func (*ApplySchemaResponse) ProtoMessage ¶
func (*ApplySchemaResponse) ProtoMessage()
func (*ApplySchemaResponse) Reset ¶
func (m *ApplySchemaResponse) Reset()
func (*ApplySchemaResponse) String ¶
func (m *ApplySchemaResponse) String() string
type BackupRequest ¶
type BackupRequest struct {
Concurrency int64 `protobuf:"varint,1,opt,name=concurrency" json:"concurrency,omitempty"`
}
func (*BackupRequest) Descriptor ¶
func (*BackupRequest) Descriptor() ([]byte, []int)
func (*BackupRequest) ProtoMessage ¶
func (*BackupRequest) ProtoMessage()
func (*BackupRequest) Reset ¶
func (m *BackupRequest) Reset()
func (*BackupRequest) String ¶
func (m *BackupRequest) String() string
type BackupResponse ¶
type BackupResponse struct {
Event *logutil.Event `protobuf:"bytes,1,opt,name=event" json:"event,omitempty"`
}
func (*BackupResponse) Descriptor ¶
func (*BackupResponse) Descriptor() ([]byte, []int)
func (*BackupResponse) GetEvent ¶
func (m *BackupResponse) GetEvent() *logutil.Event
func (*BackupResponse) ProtoMessage ¶
func (*BackupResponse) ProtoMessage()
func (*BackupResponse) Reset ¶
func (m *BackupResponse) Reset()
func (*BackupResponse) String ¶
func (m *BackupResponse) String() string
type BlpPosition ¶
type BlpPosition struct { Uid uint32 `protobuf:"varint,1,opt,name=uid" json:"uid,omitempty"` Position string `protobuf:"bytes,2,opt,name=position" json:"position,omitempty"` }
BlpPosition is a replication position for a given binlog player
func (*BlpPosition) Descriptor ¶
func (*BlpPosition) Descriptor() ([]byte, []int)
func (*BlpPosition) ProtoMessage ¶
func (*BlpPosition) ProtoMessage()
func (*BlpPosition) Reset ¶
func (m *BlpPosition) Reset()
func (*BlpPosition) String ¶
func (m *BlpPosition) String() string
type ChangeTypeRequest ¶
type ChangeTypeRequest struct {
TabletType topodata.TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,enum=topodata.TabletType" json:"tablet_type,omitempty"`
}
func (*ChangeTypeRequest) Descriptor ¶
func (*ChangeTypeRequest) Descriptor() ([]byte, []int)
func (*ChangeTypeRequest) ProtoMessage ¶
func (*ChangeTypeRequest) ProtoMessage()
func (*ChangeTypeRequest) Reset ¶
func (m *ChangeTypeRequest) Reset()
func (*ChangeTypeRequest) String ¶
func (m *ChangeTypeRequest) String() string
type ChangeTypeResponse ¶
type ChangeTypeResponse struct { }
func (*ChangeTypeResponse) Descriptor ¶
func (*ChangeTypeResponse) Descriptor() ([]byte, []int)
func (*ChangeTypeResponse) ProtoMessage ¶
func (*ChangeTypeResponse) ProtoMessage()
func (*ChangeTypeResponse) Reset ¶
func (m *ChangeTypeResponse) Reset()
func (*ChangeTypeResponse) String ¶
func (m *ChangeTypeResponse) String() string
type DbPermission ¶
type DbPermission struct { Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` Db string `protobuf:"bytes,2,opt,name=db" json:"db,omitempty"` User string `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"` Privileges map[string]string `` /* 140-byte string literal not displayed */ }
DbPermission describes a single row in the mysql.db table Primary key is Host+Db+User
func (*DbPermission) Descriptor ¶
func (*DbPermission) Descriptor() ([]byte, []int)
func (*DbPermission) GetPrivileges ¶
func (m *DbPermission) GetPrivileges() map[string]string
func (*DbPermission) ProtoMessage ¶
func (*DbPermission) ProtoMessage()
func (*DbPermission) Reset ¶
func (m *DbPermission) Reset()
func (*DbPermission) String ¶
func (m *DbPermission) String() string
type DemoteMasterRequest ¶
type DemoteMasterRequest struct { }
func (*DemoteMasterRequest) Descriptor ¶
func (*DemoteMasterRequest) Descriptor() ([]byte, []int)
func (*DemoteMasterRequest) ProtoMessage ¶
func (*DemoteMasterRequest) ProtoMessage()
func (*DemoteMasterRequest) Reset ¶
func (m *DemoteMasterRequest) Reset()
func (*DemoteMasterRequest) String ¶
func (m *DemoteMasterRequest) String() string
type DemoteMasterResponse ¶
type DemoteMasterResponse struct {
Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}
func (*DemoteMasterResponse) Descriptor ¶
func (*DemoteMasterResponse) Descriptor() ([]byte, []int)
func (*DemoteMasterResponse) ProtoMessage ¶
func (*DemoteMasterResponse) ProtoMessage()
func (*DemoteMasterResponse) Reset ¶
func (m *DemoteMasterResponse) Reset()
func (*DemoteMasterResponse) String ¶
func (m *DemoteMasterResponse) String() string
type ExecuteFetchAsAppRequest ¶
type ExecuteFetchAsAppRequest struct { Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"` MaxRows uint64 `protobuf:"varint,2,opt,name=max_rows,json=maxRows" json:"max_rows,omitempty"` }
func (*ExecuteFetchAsAppRequest) Descriptor ¶
func (*ExecuteFetchAsAppRequest) Descriptor() ([]byte, []int)
func (*ExecuteFetchAsAppRequest) ProtoMessage ¶
func (*ExecuteFetchAsAppRequest) ProtoMessage()
func (*ExecuteFetchAsAppRequest) Reset ¶
func (m *ExecuteFetchAsAppRequest) Reset()
func (*ExecuteFetchAsAppRequest) String ¶
func (m *ExecuteFetchAsAppRequest) String() string
type ExecuteFetchAsAppResponse ¶
type ExecuteFetchAsAppResponse struct {
Result *query.QueryResult `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*ExecuteFetchAsAppResponse) Descriptor ¶
func (*ExecuteFetchAsAppResponse) Descriptor() ([]byte, []int)
func (*ExecuteFetchAsAppResponse) GetResult ¶
func (m *ExecuteFetchAsAppResponse) GetResult() *query.QueryResult
func (*ExecuteFetchAsAppResponse) ProtoMessage ¶
func (*ExecuteFetchAsAppResponse) ProtoMessage()
func (*ExecuteFetchAsAppResponse) Reset ¶
func (m *ExecuteFetchAsAppResponse) Reset()
func (*ExecuteFetchAsAppResponse) String ¶
func (m *ExecuteFetchAsAppResponse) String() string
type ExecuteFetchAsDbaRequest ¶
type ExecuteFetchAsDbaRequest struct { Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName" json:"db_name,omitempty"` MaxRows uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows" json:"max_rows,omitempty"` DisableBinlogs bool `protobuf:"varint,4,opt,name=disable_binlogs,json=disableBinlogs" json:"disable_binlogs,omitempty"` ReloadSchema bool `protobuf:"varint,5,opt,name=reload_schema,json=reloadSchema" json:"reload_schema,omitempty"` }
func (*ExecuteFetchAsDbaRequest) Descriptor ¶
func (*ExecuteFetchAsDbaRequest) Descriptor() ([]byte, []int)
func (*ExecuteFetchAsDbaRequest) ProtoMessage ¶
func (*ExecuteFetchAsDbaRequest) ProtoMessage()
func (*ExecuteFetchAsDbaRequest) Reset ¶
func (m *ExecuteFetchAsDbaRequest) Reset()
func (*ExecuteFetchAsDbaRequest) String ¶
func (m *ExecuteFetchAsDbaRequest) String() string
type ExecuteFetchAsDbaResponse ¶
type ExecuteFetchAsDbaResponse struct {
Result *query.QueryResult `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*ExecuteFetchAsDbaResponse) Descriptor ¶
func (*ExecuteFetchAsDbaResponse) Descriptor() ([]byte, []int)
func (*ExecuteFetchAsDbaResponse) GetResult ¶
func (m *ExecuteFetchAsDbaResponse) GetResult() *query.QueryResult
func (*ExecuteFetchAsDbaResponse) ProtoMessage ¶
func (*ExecuteFetchAsDbaResponse) ProtoMessage()
func (*ExecuteFetchAsDbaResponse) Reset ¶
func (m *ExecuteFetchAsDbaResponse) Reset()
func (*ExecuteFetchAsDbaResponse) String ¶
func (m *ExecuteFetchAsDbaResponse) String() string
type ExecuteHookRequest ¶
type ExecuteHookRequest struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Parameters []string `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"` ExtraEnv map[string]string `` /* 152-byte string literal not displayed */ }
func (*ExecuteHookRequest) Descriptor ¶
func (*ExecuteHookRequest) Descriptor() ([]byte, []int)
func (*ExecuteHookRequest) GetExtraEnv ¶
func (m *ExecuteHookRequest) GetExtraEnv() map[string]string
func (*ExecuteHookRequest) ProtoMessage ¶
func (*ExecuteHookRequest) ProtoMessage()
func (*ExecuteHookRequest) Reset ¶
func (m *ExecuteHookRequest) Reset()
func (*ExecuteHookRequest) String ¶
func (m *ExecuteHookRequest) String() string
type ExecuteHookResponse ¶
type ExecuteHookResponse struct { ExitStatus int64 `protobuf:"varint,1,opt,name=exit_status,json=exitStatus" json:"exit_status,omitempty"` Stdout string `protobuf:"bytes,2,opt,name=stdout" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,3,opt,name=stderr" json:"stderr,omitempty"` }
func (*ExecuteHookResponse) Descriptor ¶
func (*ExecuteHookResponse) Descriptor() ([]byte, []int)
func (*ExecuteHookResponse) ProtoMessage ¶
func (*ExecuteHookResponse) ProtoMessage()
func (*ExecuteHookResponse) Reset ¶
func (m *ExecuteHookResponse) Reset()
func (*ExecuteHookResponse) String ¶
func (m *ExecuteHookResponse) String() string
type GetPermissionsRequest ¶
type GetPermissionsRequest struct { }
func (*GetPermissionsRequest) Descriptor ¶
func (*GetPermissionsRequest) Descriptor() ([]byte, []int)
func (*GetPermissionsRequest) ProtoMessage ¶
func (*GetPermissionsRequest) ProtoMessage()
func (*GetPermissionsRequest) Reset ¶
func (m *GetPermissionsRequest) Reset()
func (*GetPermissionsRequest) String ¶
func (m *GetPermissionsRequest) String() string
type GetPermissionsResponse ¶
type GetPermissionsResponse struct {
Permissions *Permissions `protobuf:"bytes,1,opt,name=permissions" json:"permissions,omitempty"`
}
func (*GetPermissionsResponse) Descriptor ¶
func (*GetPermissionsResponse) Descriptor() ([]byte, []int)
func (*GetPermissionsResponse) GetPermissions ¶
func (m *GetPermissionsResponse) GetPermissions() *Permissions
func (*GetPermissionsResponse) ProtoMessage ¶
func (*GetPermissionsResponse) ProtoMessage()
func (*GetPermissionsResponse) Reset ¶
func (m *GetPermissionsResponse) Reset()
func (*GetPermissionsResponse) String ¶
func (m *GetPermissionsResponse) String() string
type GetSchemaRequest ¶
type GetSchemaRequest struct { Tables []string `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"` IncludeViews bool `protobuf:"varint,2,opt,name=include_views,json=includeViews" json:"include_views,omitempty"` ExcludeTables []string `protobuf:"bytes,3,rep,name=exclude_tables,json=excludeTables" json:"exclude_tables,omitempty"` }
func (*GetSchemaRequest) Descriptor ¶
func (*GetSchemaRequest) Descriptor() ([]byte, []int)
func (*GetSchemaRequest) ProtoMessage ¶
func (*GetSchemaRequest) ProtoMessage()
func (*GetSchemaRequest) Reset ¶
func (m *GetSchemaRequest) Reset()
func (*GetSchemaRequest) String ¶
func (m *GetSchemaRequest) String() string
type GetSchemaResponse ¶
type GetSchemaResponse struct {
SchemaDefinition *SchemaDefinition `protobuf:"bytes,1,opt,name=schema_definition,json=schemaDefinition" json:"schema_definition,omitempty"`
}
func (*GetSchemaResponse) Descriptor ¶
func (*GetSchemaResponse) Descriptor() ([]byte, []int)
func (*GetSchemaResponse) GetSchemaDefinition ¶
func (m *GetSchemaResponse) GetSchemaDefinition() *SchemaDefinition
func (*GetSchemaResponse) ProtoMessage ¶
func (*GetSchemaResponse) ProtoMessage()
func (*GetSchemaResponse) Reset ¶
func (m *GetSchemaResponse) Reset()
func (*GetSchemaResponse) String ¶
func (m *GetSchemaResponse) String() string
type GetSlavesRequest ¶
type GetSlavesRequest struct { }
func (*GetSlavesRequest) Descriptor ¶
func (*GetSlavesRequest) Descriptor() ([]byte, []int)
func (*GetSlavesRequest) ProtoMessage ¶
func (*GetSlavesRequest) ProtoMessage()
func (*GetSlavesRequest) Reset ¶
func (m *GetSlavesRequest) Reset()
func (*GetSlavesRequest) String ¶
func (m *GetSlavesRequest) String() string
type GetSlavesResponse ¶
type GetSlavesResponse struct {
Addrs []string `protobuf:"bytes,1,rep,name=addrs" json:"addrs,omitempty"`
}
func (*GetSlavesResponse) Descriptor ¶
func (*GetSlavesResponse) Descriptor() ([]byte, []int)
func (*GetSlavesResponse) ProtoMessage ¶
func (*GetSlavesResponse) ProtoMessage()
func (*GetSlavesResponse) Reset ¶
func (m *GetSlavesResponse) Reset()
func (*GetSlavesResponse) String ¶
func (m *GetSlavesResponse) String() string
type InitMasterRequest ¶
type InitMasterRequest struct { }
func (*InitMasterRequest) Descriptor ¶
func (*InitMasterRequest) Descriptor() ([]byte, []int)
func (*InitMasterRequest) ProtoMessage ¶
func (*InitMasterRequest) ProtoMessage()
func (*InitMasterRequest) Reset ¶
func (m *InitMasterRequest) Reset()
func (*InitMasterRequest) String ¶
func (m *InitMasterRequest) String() string
type InitMasterResponse ¶
type InitMasterResponse struct {
Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}
func (*InitMasterResponse) Descriptor ¶
func (*InitMasterResponse) Descriptor() ([]byte, []int)
func (*InitMasterResponse) ProtoMessage ¶
func (*InitMasterResponse) ProtoMessage()
func (*InitMasterResponse) Reset ¶
func (m *InitMasterResponse) Reset()
func (*InitMasterResponse) String ¶
func (m *InitMasterResponse) String() string
type InitSlaveRequest ¶
type InitSlaveRequest struct { Parent *topodata.TabletAlias `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` ReplicationPosition string `protobuf:"bytes,2,opt,name=replication_position,json=replicationPosition" json:"replication_position,omitempty"` TimeCreatedNs int64 `protobuf:"varint,3,opt,name=time_created_ns,json=timeCreatedNs" json:"time_created_ns,omitempty"` }
func (*InitSlaveRequest) Descriptor ¶
func (*InitSlaveRequest) Descriptor() ([]byte, []int)
func (*InitSlaveRequest) GetParent ¶
func (m *InitSlaveRequest) GetParent() *topodata.TabletAlias
func (*InitSlaveRequest) ProtoMessage ¶
func (*InitSlaveRequest) ProtoMessage()
func (*InitSlaveRequest) Reset ¶
func (m *InitSlaveRequest) Reset()
func (*InitSlaveRequest) String ¶
func (m *InitSlaveRequest) String() string
type InitSlaveResponse ¶
type InitSlaveResponse struct { }
func (*InitSlaveResponse) Descriptor ¶
func (*InitSlaveResponse) Descriptor() ([]byte, []int)
func (*InitSlaveResponse) ProtoMessage ¶
func (*InitSlaveResponse) ProtoMessage()
func (*InitSlaveResponse) Reset ¶
func (m *InitSlaveResponse) Reset()
func (*InitSlaveResponse) String ¶
func (m *InitSlaveResponse) String() string
type MasterPositionRequest ¶
type MasterPositionRequest struct { }
func (*MasterPositionRequest) Descriptor ¶
func (*MasterPositionRequest) Descriptor() ([]byte, []int)
func (*MasterPositionRequest) ProtoMessage ¶
func (*MasterPositionRequest) ProtoMessage()
func (*MasterPositionRequest) Reset ¶
func (m *MasterPositionRequest) Reset()
func (*MasterPositionRequest) String ¶
func (m *MasterPositionRequest) String() string
type MasterPositionResponse ¶
type MasterPositionResponse struct {
Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}
func (*MasterPositionResponse) Descriptor ¶
func (*MasterPositionResponse) Descriptor() ([]byte, []int)
func (*MasterPositionResponse) ProtoMessage ¶
func (*MasterPositionResponse) ProtoMessage()
func (*MasterPositionResponse) Reset ¶
func (m *MasterPositionResponse) Reset()
func (*MasterPositionResponse) String ¶
func (m *MasterPositionResponse) String() string
type Permissions ¶
type Permissions struct { UserPermissions []*UserPermission `protobuf:"bytes,1,rep,name=user_permissions,json=userPermissions" json:"user_permissions,omitempty"` DbPermissions []*DbPermission `protobuf:"bytes,2,rep,name=db_permissions,json=dbPermissions" json:"db_permissions,omitempty"` }
Permissions have all the rows in mysql.{user,db} tables, (all rows are sorted by primary key)
func (*Permissions) Descriptor ¶
func (*Permissions) Descriptor() ([]byte, []int)
func (*Permissions) GetDbPermissions ¶
func (m *Permissions) GetDbPermissions() []*DbPermission
func (*Permissions) GetUserPermissions ¶
func (m *Permissions) GetUserPermissions() []*UserPermission
func (*Permissions) ProtoMessage ¶
func (*Permissions) ProtoMessage()
func (*Permissions) Reset ¶
func (m *Permissions) Reset()
func (*Permissions) String ¶
func (m *Permissions) String() string
type PingRequest ¶
type PingRequest struct {
Payload string `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
Payload string `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}
func (*PingResponse) Descriptor ¶
func (*PingResponse) Descriptor() ([]byte, []int)
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) Reset ¶
func (m *PingResponse) Reset()
func (*PingResponse) String ¶
func (m *PingResponse) String() string
type PopulateReparentJournalRequest ¶
type PopulateReparentJournalRequest struct { TimeCreatedNs int64 `protobuf:"varint,1,opt,name=time_created_ns,json=timeCreatedNs" json:"time_created_ns,omitempty"` ActionName string `protobuf:"bytes,2,opt,name=action_name,json=actionName" json:"action_name,omitempty"` MasterAlias *topodata.TabletAlias `protobuf:"bytes,3,opt,name=master_alias,json=masterAlias" json:"master_alias,omitempty"` ReplicationPosition string `protobuf:"bytes,4,opt,name=replication_position,json=replicationPosition" json:"replication_position,omitempty"` }
func (*PopulateReparentJournalRequest) Descriptor ¶
func (*PopulateReparentJournalRequest) Descriptor() ([]byte, []int)
func (*PopulateReparentJournalRequest) GetMasterAlias ¶
func (m *PopulateReparentJournalRequest) GetMasterAlias() *topodata.TabletAlias
func (*PopulateReparentJournalRequest) ProtoMessage ¶
func (*PopulateReparentJournalRequest) ProtoMessage()
func (*PopulateReparentJournalRequest) Reset ¶
func (m *PopulateReparentJournalRequest) Reset()
func (*PopulateReparentJournalRequest) String ¶
func (m *PopulateReparentJournalRequest) String() string
type PopulateReparentJournalResponse ¶
type PopulateReparentJournalResponse struct { }
func (*PopulateReparentJournalResponse) Descriptor ¶
func (*PopulateReparentJournalResponse) Descriptor() ([]byte, []int)
func (*PopulateReparentJournalResponse) ProtoMessage ¶
func (*PopulateReparentJournalResponse) ProtoMessage()
func (*PopulateReparentJournalResponse) Reset ¶
func (m *PopulateReparentJournalResponse) Reset()
func (*PopulateReparentJournalResponse) String ¶
func (m *PopulateReparentJournalResponse) String() string
type PreflightSchemaRequest ¶
type PreflightSchemaRequest struct {
Change string `protobuf:"bytes,1,opt,name=change" json:"change,omitempty"`
}
func (*PreflightSchemaRequest) Descriptor ¶
func (*PreflightSchemaRequest) Descriptor() ([]byte, []int)
func (*PreflightSchemaRequest) ProtoMessage ¶
func (*PreflightSchemaRequest) ProtoMessage()
func (*PreflightSchemaRequest) Reset ¶
func (m *PreflightSchemaRequest) Reset()
func (*PreflightSchemaRequest) String ¶
func (m *PreflightSchemaRequest) String() string
type PreflightSchemaResponse ¶
type PreflightSchemaResponse struct { BeforeSchema *SchemaDefinition `protobuf:"bytes,1,opt,name=before_schema,json=beforeSchema" json:"before_schema,omitempty"` AfterSchema *SchemaDefinition `protobuf:"bytes,2,opt,name=after_schema,json=afterSchema" json:"after_schema,omitempty"` }
func (*PreflightSchemaResponse) Descriptor ¶
func (*PreflightSchemaResponse) Descriptor() ([]byte, []int)
func (*PreflightSchemaResponse) GetAfterSchema ¶
func (m *PreflightSchemaResponse) GetAfterSchema() *SchemaDefinition
func (*PreflightSchemaResponse) GetBeforeSchema ¶
func (m *PreflightSchemaResponse) GetBeforeSchema() *SchemaDefinition
func (*PreflightSchemaResponse) ProtoMessage ¶
func (*PreflightSchemaResponse) ProtoMessage()
func (*PreflightSchemaResponse) Reset ¶
func (m *PreflightSchemaResponse) Reset()
func (*PreflightSchemaResponse) String ¶
func (m *PreflightSchemaResponse) String() string
type PromoteSlaveRequest ¶
type PromoteSlaveRequest struct { }
func (*PromoteSlaveRequest) Descriptor ¶
func (*PromoteSlaveRequest) Descriptor() ([]byte, []int)
func (*PromoteSlaveRequest) ProtoMessage ¶
func (*PromoteSlaveRequest) ProtoMessage()
func (*PromoteSlaveRequest) Reset ¶
func (m *PromoteSlaveRequest) Reset()
func (*PromoteSlaveRequest) String ¶
func (m *PromoteSlaveRequest) String() string
type PromoteSlaveResponse ¶
type PromoteSlaveResponse struct {
Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}
func (*PromoteSlaveResponse) Descriptor ¶
func (*PromoteSlaveResponse) Descriptor() ([]byte, []int)
func (*PromoteSlaveResponse) ProtoMessage ¶
func (*PromoteSlaveResponse) ProtoMessage()
func (*PromoteSlaveResponse) Reset ¶
func (m *PromoteSlaveResponse) Reset()
func (*PromoteSlaveResponse) String ¶
func (m *PromoteSlaveResponse) String() string
type PromoteSlaveWhenCaughtUpRequest ¶
type PromoteSlaveWhenCaughtUpRequest struct {
Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}
func (*PromoteSlaveWhenCaughtUpRequest) Descriptor ¶
func (*PromoteSlaveWhenCaughtUpRequest) Descriptor() ([]byte, []int)
func (*PromoteSlaveWhenCaughtUpRequest) ProtoMessage ¶
func (*PromoteSlaveWhenCaughtUpRequest) ProtoMessage()
func (*PromoteSlaveWhenCaughtUpRequest) Reset ¶
func (m *PromoteSlaveWhenCaughtUpRequest) Reset()
func (*PromoteSlaveWhenCaughtUpRequest) String ¶
func (m *PromoteSlaveWhenCaughtUpRequest) String() string
type PromoteSlaveWhenCaughtUpResponse ¶
type PromoteSlaveWhenCaughtUpResponse struct {
Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}
func (*PromoteSlaveWhenCaughtUpResponse) Descriptor ¶
func (*PromoteSlaveWhenCaughtUpResponse) Descriptor() ([]byte, []int)
func (*PromoteSlaveWhenCaughtUpResponse) ProtoMessage ¶
func (*PromoteSlaveWhenCaughtUpResponse) ProtoMessage()
func (*PromoteSlaveWhenCaughtUpResponse) Reset ¶
func (m *PromoteSlaveWhenCaughtUpResponse) Reset()
func (*PromoteSlaveWhenCaughtUpResponse) String ¶
func (m *PromoteSlaveWhenCaughtUpResponse) String() string
type RefreshStateRequest ¶
type RefreshStateRequest struct { }
func (*RefreshStateRequest) Descriptor ¶
func (*RefreshStateRequest) Descriptor() ([]byte, []int)
func (*RefreshStateRequest) ProtoMessage ¶
func (*RefreshStateRequest) ProtoMessage()
func (*RefreshStateRequest) Reset ¶
func (m *RefreshStateRequest) Reset()
func (*RefreshStateRequest) String ¶
func (m *RefreshStateRequest) String() string
type RefreshStateResponse ¶
type RefreshStateResponse struct { }
func (*RefreshStateResponse) Descriptor ¶
func (*RefreshStateResponse) Descriptor() ([]byte, []int)
func (*RefreshStateResponse) ProtoMessage ¶
func (*RefreshStateResponse) ProtoMessage()
func (*RefreshStateResponse) Reset ¶
func (m *RefreshStateResponse) Reset()
func (*RefreshStateResponse) String ¶
func (m *RefreshStateResponse) String() string
type ReloadSchemaRequest ¶
type ReloadSchemaRequest struct { }
func (*ReloadSchemaRequest) Descriptor ¶
func (*ReloadSchemaRequest) Descriptor() ([]byte, []int)
func (*ReloadSchemaRequest) ProtoMessage ¶
func (*ReloadSchemaRequest) ProtoMessage()
func (*ReloadSchemaRequest) Reset ¶
func (m *ReloadSchemaRequest) Reset()
func (*ReloadSchemaRequest) String ¶
func (m *ReloadSchemaRequest) String() string
type ReloadSchemaResponse ¶
type ReloadSchemaResponse struct { }
func (*ReloadSchemaResponse) Descriptor ¶
func (*ReloadSchemaResponse) Descriptor() ([]byte, []int)
func (*ReloadSchemaResponse) ProtoMessage ¶
func (*ReloadSchemaResponse) ProtoMessage()
func (*ReloadSchemaResponse) Reset ¶
func (m *ReloadSchemaResponse) Reset()
func (*ReloadSchemaResponse) String ¶
func (m *ReloadSchemaResponse) String() string
type ResetReplicationRequest ¶
type ResetReplicationRequest struct { }
func (*ResetReplicationRequest) Descriptor ¶
func (*ResetReplicationRequest) Descriptor() ([]byte, []int)
func (*ResetReplicationRequest) ProtoMessage ¶
func (*ResetReplicationRequest) ProtoMessage()
func (*ResetReplicationRequest) Reset ¶
func (m *ResetReplicationRequest) Reset()
func (*ResetReplicationRequest) String ¶
func (m *ResetReplicationRequest) String() string
type ResetReplicationResponse ¶
type ResetReplicationResponse struct { }
func (*ResetReplicationResponse) Descriptor ¶
func (*ResetReplicationResponse) Descriptor() ([]byte, []int)
func (*ResetReplicationResponse) ProtoMessage ¶
func (*ResetReplicationResponse) ProtoMessage()
func (*ResetReplicationResponse) Reset ¶
func (m *ResetReplicationResponse) Reset()
func (*ResetReplicationResponse) String ¶
func (m *ResetReplicationResponse) String() string
type RunBlpUntilRequest ¶
type RunBlpUntilRequest struct { BlpPositions []*BlpPosition `protobuf:"bytes,1,rep,name=blp_positions,json=blpPositions" json:"blp_positions,omitempty"` WaitTimeout int64 `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout" json:"wait_timeout,omitempty"` }
func (*RunBlpUntilRequest) Descriptor ¶
func (*RunBlpUntilRequest) Descriptor() ([]byte, []int)
func (*RunBlpUntilRequest) GetBlpPositions ¶
func (m *RunBlpUntilRequest) GetBlpPositions() []*BlpPosition
func (*RunBlpUntilRequest) ProtoMessage ¶
func (*RunBlpUntilRequest) ProtoMessage()
func (*RunBlpUntilRequest) Reset ¶
func (m *RunBlpUntilRequest) Reset()
func (*RunBlpUntilRequest) String ¶
func (m *RunBlpUntilRequest) String() string
type RunBlpUntilResponse ¶
type RunBlpUntilResponse struct {
Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}
func (*RunBlpUntilResponse) Descriptor ¶
func (*RunBlpUntilResponse) Descriptor() ([]byte, []int)
func (*RunBlpUntilResponse) ProtoMessage ¶
func (*RunBlpUntilResponse) ProtoMessage()
func (*RunBlpUntilResponse) Reset ¶
func (m *RunBlpUntilResponse) Reset()
func (*RunBlpUntilResponse) String ¶
func (m *RunBlpUntilResponse) String() string
type RunHealthCheckRequest ¶
type RunHealthCheckRequest struct {
TabletType topodata.TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,enum=topodata.TabletType" json:"tablet_type,omitempty"`
}
func (*RunHealthCheckRequest) Descriptor ¶
func (*RunHealthCheckRequest) Descriptor() ([]byte, []int)
func (*RunHealthCheckRequest) ProtoMessage ¶
func (*RunHealthCheckRequest) ProtoMessage()
func (*RunHealthCheckRequest) Reset ¶
func (m *RunHealthCheckRequest) Reset()
func (*RunHealthCheckRequest) String ¶
func (m *RunHealthCheckRequest) String() string
type RunHealthCheckResponse ¶
type RunHealthCheckResponse struct { }
func (*RunHealthCheckResponse) Descriptor ¶
func (*RunHealthCheckResponse) Descriptor() ([]byte, []int)
func (*RunHealthCheckResponse) ProtoMessage ¶
func (*RunHealthCheckResponse) ProtoMessage()
func (*RunHealthCheckResponse) Reset ¶
func (m *RunHealthCheckResponse) Reset()
func (*RunHealthCheckResponse) String ¶
func (m *RunHealthCheckResponse) String() string
type SchemaDefinition ¶
type SchemaDefinition struct { DatabaseSchema string `protobuf:"bytes,1,opt,name=database_schema,json=databaseSchema" json:"database_schema,omitempty"` TableDefinitions []*TableDefinition `protobuf:"bytes,2,rep,name=table_definitions,json=tableDefinitions" json:"table_definitions,omitempty"` Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"` }
func (*SchemaDefinition) Descriptor ¶
func (*SchemaDefinition) Descriptor() ([]byte, []int)
func (*SchemaDefinition) GetTableDefinitions ¶
func (m *SchemaDefinition) GetTableDefinitions() []*TableDefinition
func (*SchemaDefinition) ProtoMessage ¶
func (*SchemaDefinition) ProtoMessage()
func (*SchemaDefinition) Reset ¶
func (m *SchemaDefinition) Reset()
func (*SchemaDefinition) String ¶
func (m *SchemaDefinition) String() string
type SetMasterRequest ¶
type SetMasterRequest struct { Parent *topodata.TabletAlias `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` TimeCreatedNs int64 `protobuf:"varint,2,opt,name=time_created_ns,json=timeCreatedNs" json:"time_created_ns,omitempty"` ForceStartSlave bool `protobuf:"varint,3,opt,name=force_start_slave,json=forceStartSlave" json:"force_start_slave,omitempty"` }
func (*SetMasterRequest) Descriptor ¶
func (*SetMasterRequest) Descriptor() ([]byte, []int)
func (*SetMasterRequest) GetParent ¶
func (m *SetMasterRequest) GetParent() *topodata.TabletAlias
func (*SetMasterRequest) ProtoMessage ¶
func (*SetMasterRequest) ProtoMessage()
func (*SetMasterRequest) Reset ¶
func (m *SetMasterRequest) Reset()
func (*SetMasterRequest) String ¶
func (m *SetMasterRequest) String() string
type SetMasterResponse ¶
type SetMasterResponse struct { }
func (*SetMasterResponse) Descriptor ¶
func (*SetMasterResponse) Descriptor() ([]byte, []int)
func (*SetMasterResponse) ProtoMessage ¶
func (*SetMasterResponse) ProtoMessage()
func (*SetMasterResponse) Reset ¶
func (m *SetMasterResponse) Reset()
func (*SetMasterResponse) String ¶
func (m *SetMasterResponse) String() string
type SetReadOnlyRequest ¶
type SetReadOnlyRequest struct { }
func (*SetReadOnlyRequest) Descriptor ¶
func (*SetReadOnlyRequest) Descriptor() ([]byte, []int)
func (*SetReadOnlyRequest) ProtoMessage ¶
func (*SetReadOnlyRequest) ProtoMessage()
func (*SetReadOnlyRequest) Reset ¶
func (m *SetReadOnlyRequest) Reset()
func (*SetReadOnlyRequest) String ¶
func (m *SetReadOnlyRequest) String() string
type SetReadOnlyResponse ¶
type SetReadOnlyResponse struct { }
func (*SetReadOnlyResponse) Descriptor ¶
func (*SetReadOnlyResponse) Descriptor() ([]byte, []int)
func (*SetReadOnlyResponse) ProtoMessage ¶
func (*SetReadOnlyResponse) ProtoMessage()
func (*SetReadOnlyResponse) Reset ¶
func (m *SetReadOnlyResponse) Reset()
func (*SetReadOnlyResponse) String ¶
func (m *SetReadOnlyResponse) String() string
type SetReadWriteRequest ¶
type SetReadWriteRequest struct { }
func (*SetReadWriteRequest) Descriptor ¶
func (*SetReadWriteRequest) Descriptor() ([]byte, []int)
func (*SetReadWriteRequest) ProtoMessage ¶
func (*SetReadWriteRequest) ProtoMessage()
func (*SetReadWriteRequest) Reset ¶
func (m *SetReadWriteRequest) Reset()
func (*SetReadWriteRequest) String ¶
func (m *SetReadWriteRequest) String() string
type SetReadWriteResponse ¶
type SetReadWriteResponse struct { }
func (*SetReadWriteResponse) Descriptor ¶
func (*SetReadWriteResponse) Descriptor() ([]byte, []int)
func (*SetReadWriteResponse) ProtoMessage ¶
func (*SetReadWriteResponse) ProtoMessage()
func (*SetReadWriteResponse) Reset ¶
func (m *SetReadWriteResponse) Reset()
func (*SetReadWriteResponse) String ¶
func (m *SetReadWriteResponse) String() string
type SlaveStatusRequest ¶
type SlaveStatusRequest struct { }
func (*SlaveStatusRequest) Descriptor ¶
func (*SlaveStatusRequest) Descriptor() ([]byte, []int)
func (*SlaveStatusRequest) ProtoMessage ¶
func (*SlaveStatusRequest) ProtoMessage()
func (*SlaveStatusRequest) Reset ¶
func (m *SlaveStatusRequest) Reset()
func (*SlaveStatusRequest) String ¶
func (m *SlaveStatusRequest) String() string
type SlaveStatusResponse ¶
type SlaveStatusResponse struct {
Status *replicationdata.Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}
func (*SlaveStatusResponse) Descriptor ¶
func (*SlaveStatusResponse) Descriptor() ([]byte, []int)
func (*SlaveStatusResponse) GetStatus ¶
func (m *SlaveStatusResponse) GetStatus() *replicationdata.Status
func (*SlaveStatusResponse) ProtoMessage ¶
func (*SlaveStatusResponse) ProtoMessage()
func (*SlaveStatusResponse) Reset ¶
func (m *SlaveStatusResponse) Reset()
func (*SlaveStatusResponse) String ¶
func (m *SlaveStatusResponse) String() string
type SlaveWasPromotedRequest ¶
type SlaveWasPromotedRequest struct { }
func (*SlaveWasPromotedRequest) Descriptor ¶
func (*SlaveWasPromotedRequest) Descriptor() ([]byte, []int)
func (*SlaveWasPromotedRequest) ProtoMessage ¶
func (*SlaveWasPromotedRequest) ProtoMessage()
func (*SlaveWasPromotedRequest) Reset ¶
func (m *SlaveWasPromotedRequest) Reset()
func (*SlaveWasPromotedRequest) String ¶
func (m *SlaveWasPromotedRequest) String() string
type SlaveWasPromotedResponse ¶
type SlaveWasPromotedResponse struct { }
func (*SlaveWasPromotedResponse) Descriptor ¶
func (*SlaveWasPromotedResponse) Descriptor() ([]byte, []int)
func (*SlaveWasPromotedResponse) ProtoMessage ¶
func (*SlaveWasPromotedResponse) ProtoMessage()
func (*SlaveWasPromotedResponse) Reset ¶
func (m *SlaveWasPromotedResponse) Reset()
func (*SlaveWasPromotedResponse) String ¶
func (m *SlaveWasPromotedResponse) String() string
type SlaveWasRestartedRequest ¶
type SlaveWasRestartedRequest struct { // the parent alias the tablet should have Parent *topodata.TabletAlias `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` }
func (*SlaveWasRestartedRequest) Descriptor ¶
func (*SlaveWasRestartedRequest) Descriptor() ([]byte, []int)
func (*SlaveWasRestartedRequest) GetParent ¶
func (m *SlaveWasRestartedRequest) GetParent() *topodata.TabletAlias
func (*SlaveWasRestartedRequest) ProtoMessage ¶
func (*SlaveWasRestartedRequest) ProtoMessage()
func (*SlaveWasRestartedRequest) Reset ¶
func (m *SlaveWasRestartedRequest) Reset()
func (*SlaveWasRestartedRequest) String ¶
func (m *SlaveWasRestartedRequest) String() string
type SlaveWasRestartedResponse ¶
type SlaveWasRestartedResponse struct { }
func (*SlaveWasRestartedResponse) Descriptor ¶
func (*SlaveWasRestartedResponse) Descriptor() ([]byte, []int)
func (*SlaveWasRestartedResponse) ProtoMessage ¶
func (*SlaveWasRestartedResponse) ProtoMessage()
func (*SlaveWasRestartedResponse) Reset ¶
func (m *SlaveWasRestartedResponse) Reset()
func (*SlaveWasRestartedResponse) String ¶
func (m *SlaveWasRestartedResponse) String() string
type SleepRequest ¶
type SleepRequest struct { // duration is in nanoseconds Duration int64 `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"` }
func (*SleepRequest) Descriptor ¶
func (*SleepRequest) Descriptor() ([]byte, []int)
func (*SleepRequest) ProtoMessage ¶
func (*SleepRequest) ProtoMessage()
func (*SleepRequest) Reset ¶
func (m *SleepRequest) Reset()
func (*SleepRequest) String ¶
func (m *SleepRequest) String() string
type SleepResponse ¶
type SleepResponse struct { }
func (*SleepResponse) Descriptor ¶
func (*SleepResponse) Descriptor() ([]byte, []int)
func (*SleepResponse) ProtoMessage ¶
func (*SleepResponse) ProtoMessage()
func (*SleepResponse) Reset ¶
func (m *SleepResponse) Reset()
func (*SleepResponse) String ¶
func (m *SleepResponse) String() string
type StartBlpRequest ¶
type StartBlpRequest struct { }
func (*StartBlpRequest) Descriptor ¶
func (*StartBlpRequest) Descriptor() ([]byte, []int)
func (*StartBlpRequest) ProtoMessage ¶
func (*StartBlpRequest) ProtoMessage()
func (*StartBlpRequest) Reset ¶
func (m *StartBlpRequest) Reset()
func (*StartBlpRequest) String ¶
func (m *StartBlpRequest) String() string
type StartBlpResponse ¶
type StartBlpResponse struct { }
func (*StartBlpResponse) Descriptor ¶
func (*StartBlpResponse) Descriptor() ([]byte, []int)
func (*StartBlpResponse) ProtoMessage ¶
func (*StartBlpResponse) ProtoMessage()
func (*StartBlpResponse) Reset ¶
func (m *StartBlpResponse) Reset()
func (*StartBlpResponse) String ¶
func (m *StartBlpResponse) String() string
type StartSlaveRequest ¶
type StartSlaveRequest struct { }
func (*StartSlaveRequest) Descriptor ¶
func (*StartSlaveRequest) Descriptor() ([]byte, []int)
func (*StartSlaveRequest) ProtoMessage ¶
func (*StartSlaveRequest) ProtoMessage()
func (*StartSlaveRequest) Reset ¶
func (m *StartSlaveRequest) Reset()
func (*StartSlaveRequest) String ¶
func (m *StartSlaveRequest) String() string
type StartSlaveResponse ¶
type StartSlaveResponse struct { }
func (*StartSlaveResponse) Descriptor ¶
func (*StartSlaveResponse) Descriptor() ([]byte, []int)
func (*StartSlaveResponse) ProtoMessage ¶
func (*StartSlaveResponse) ProtoMessage()
func (*StartSlaveResponse) Reset ¶
func (m *StartSlaveResponse) Reset()
func (*StartSlaveResponse) String ¶
func (m *StartSlaveResponse) String() string
type StopBlpRequest ¶
type StopBlpRequest struct { }
func (*StopBlpRequest) Descriptor ¶
func (*StopBlpRequest) Descriptor() ([]byte, []int)
func (*StopBlpRequest) ProtoMessage ¶
func (*StopBlpRequest) ProtoMessage()
func (*StopBlpRequest) Reset ¶
func (m *StopBlpRequest) Reset()
func (*StopBlpRequest) String ¶
func (m *StopBlpRequest) String() string
type StopBlpResponse ¶
type StopBlpResponse struct {
BlpPositions []*BlpPosition `protobuf:"bytes,1,rep,name=blp_positions,json=blpPositions" json:"blp_positions,omitempty"`
}
func (*StopBlpResponse) Descriptor ¶
func (*StopBlpResponse) Descriptor() ([]byte, []int)
func (*StopBlpResponse) GetBlpPositions ¶
func (m *StopBlpResponse) GetBlpPositions() []*BlpPosition
func (*StopBlpResponse) ProtoMessage ¶
func (*StopBlpResponse) ProtoMessage()
func (*StopBlpResponse) Reset ¶
func (m *StopBlpResponse) Reset()
func (*StopBlpResponse) String ¶
func (m *StopBlpResponse) String() string
type StopReplicationAndGetStatusRequest ¶
type StopReplicationAndGetStatusRequest struct { }
func (*StopReplicationAndGetStatusRequest) Descriptor ¶
func (*StopReplicationAndGetStatusRequest) Descriptor() ([]byte, []int)
func (*StopReplicationAndGetStatusRequest) ProtoMessage ¶
func (*StopReplicationAndGetStatusRequest) ProtoMessage()
func (*StopReplicationAndGetStatusRequest) Reset ¶
func (m *StopReplicationAndGetStatusRequest) Reset()
func (*StopReplicationAndGetStatusRequest) String ¶
func (m *StopReplicationAndGetStatusRequest) String() string
type StopReplicationAndGetStatusResponse ¶
type StopReplicationAndGetStatusResponse struct {
Status *replicationdata.Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}
func (*StopReplicationAndGetStatusResponse) Descriptor ¶
func (*StopReplicationAndGetStatusResponse) Descriptor() ([]byte, []int)
func (*StopReplicationAndGetStatusResponse) GetStatus ¶
func (m *StopReplicationAndGetStatusResponse) GetStatus() *replicationdata.Status
func (*StopReplicationAndGetStatusResponse) ProtoMessage ¶
func (*StopReplicationAndGetStatusResponse) ProtoMessage()
func (*StopReplicationAndGetStatusResponse) Reset ¶
func (m *StopReplicationAndGetStatusResponse) Reset()
func (*StopReplicationAndGetStatusResponse) String ¶
func (m *StopReplicationAndGetStatusResponse) String() string
type StopSlaveMinimumRequest ¶
type StopSlaveMinimumRequest struct { Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"` WaitTimeout int64 `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout" json:"wait_timeout,omitempty"` }
func (*StopSlaveMinimumRequest) Descriptor ¶
func (*StopSlaveMinimumRequest) Descriptor() ([]byte, []int)
func (*StopSlaveMinimumRequest) ProtoMessage ¶
func (*StopSlaveMinimumRequest) ProtoMessage()
func (*StopSlaveMinimumRequest) Reset ¶
func (m *StopSlaveMinimumRequest) Reset()
func (*StopSlaveMinimumRequest) String ¶
func (m *StopSlaveMinimumRequest) String() string
type StopSlaveMinimumResponse ¶
type StopSlaveMinimumResponse struct {
Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}
func (*StopSlaveMinimumResponse) Descriptor ¶
func (*StopSlaveMinimumResponse) Descriptor() ([]byte, []int)
func (*StopSlaveMinimumResponse) ProtoMessage ¶
func (*StopSlaveMinimumResponse) ProtoMessage()
func (*StopSlaveMinimumResponse) Reset ¶
func (m *StopSlaveMinimumResponse) Reset()
func (*StopSlaveMinimumResponse) String ¶
func (m *StopSlaveMinimumResponse) String() string
type StopSlaveRequest ¶
type StopSlaveRequest struct { }
func (*StopSlaveRequest) Descriptor ¶
func (*StopSlaveRequest) Descriptor() ([]byte, []int)
func (*StopSlaveRequest) ProtoMessage ¶
func (*StopSlaveRequest) ProtoMessage()
func (*StopSlaveRequest) Reset ¶
func (m *StopSlaveRequest) Reset()
func (*StopSlaveRequest) String ¶
func (m *StopSlaveRequest) String() string
type StopSlaveResponse ¶
type StopSlaveResponse struct { }
func (*StopSlaveResponse) Descriptor ¶
func (*StopSlaveResponse) Descriptor() ([]byte, []int)
func (*StopSlaveResponse) ProtoMessage ¶
func (*StopSlaveResponse) ProtoMessage()
func (*StopSlaveResponse) Reset ¶
func (m *StopSlaveResponse) Reset()
func (*StopSlaveResponse) String ¶
func (m *StopSlaveResponse) String() string
type TableDefinition ¶
type TableDefinition struct { // the table name Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // the SQL to run to create the table Schema string `protobuf:"bytes,2,opt,name=schema" json:"schema,omitempty"` // the columns in the order that will be used to dump and load the data Columns []string `protobuf:"bytes,3,rep,name=columns" json:"columns,omitempty"` // the primary key columns in the primary key order PrimaryKeyColumns []string `protobuf:"bytes,4,rep,name=primary_key_columns,json=primaryKeyColumns" json:"primary_key_columns,omitempty"` // type is either mysqlctl.TableBaseTable or mysqlctl.TableView Type string `protobuf:"bytes,5,opt,name=type" json:"type,omitempty"` // how much space the data file takes. DataLength uint64 `protobuf:"varint,6,opt,name=data_length,json=dataLength" json:"data_length,omitempty"` // approximate number of rows RowCount uint64 `protobuf:"varint,7,opt,name=row_count,json=rowCount" json:"row_count,omitempty"` }
func (*TableDefinition) Descriptor ¶
func (*TableDefinition) Descriptor() ([]byte, []int)
func (*TableDefinition) ProtoMessage ¶
func (*TableDefinition) ProtoMessage()
func (*TableDefinition) Reset ¶
func (m *TableDefinition) Reset()
func (*TableDefinition) String ¶
func (m *TableDefinition) String() string
type TabletExternallyElectedRequest ¶
type TabletExternallyElectedRequest struct { }
func (*TabletExternallyElectedRequest) Descriptor ¶
func (*TabletExternallyElectedRequest) Descriptor() ([]byte, []int)
func (*TabletExternallyElectedRequest) ProtoMessage ¶
func (*TabletExternallyElectedRequest) ProtoMessage()
func (*TabletExternallyElectedRequest) Reset ¶
func (m *TabletExternallyElectedRequest) Reset()
func (*TabletExternallyElectedRequest) String ¶
func (m *TabletExternallyElectedRequest) String() string
type TabletExternallyElectedResponse ¶
type TabletExternallyElectedResponse struct { }
func (*TabletExternallyElectedResponse) Descriptor ¶
func (*TabletExternallyElectedResponse) Descriptor() ([]byte, []int)
func (*TabletExternallyElectedResponse) ProtoMessage ¶
func (*TabletExternallyElectedResponse) ProtoMessage()
func (*TabletExternallyElectedResponse) Reset ¶
func (m *TabletExternallyElectedResponse) Reset()
func (*TabletExternallyElectedResponse) String ¶
func (m *TabletExternallyElectedResponse) String() string
type TabletExternallyReparentedRequest ¶
type TabletExternallyReparentedRequest struct { // external_id is an string value that may be provided by an external // agent for tracking purposes. The tablet will emit this string in // events triggered by TabletExternallyReparented, such as VitessReparent. ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId" json:"external_id,omitempty"` }
func (*TabletExternallyReparentedRequest) Descriptor ¶
func (*TabletExternallyReparentedRequest) Descriptor() ([]byte, []int)
func (*TabletExternallyReparentedRequest) ProtoMessage ¶
func (*TabletExternallyReparentedRequest) ProtoMessage()
func (*TabletExternallyReparentedRequest) Reset ¶
func (m *TabletExternallyReparentedRequest) Reset()
func (*TabletExternallyReparentedRequest) String ¶
func (m *TabletExternallyReparentedRequest) String() string
type TabletExternallyReparentedResponse ¶
type TabletExternallyReparentedResponse struct { }
func (*TabletExternallyReparentedResponse) Descriptor ¶
func (*TabletExternallyReparentedResponse) Descriptor() ([]byte, []int)
func (*TabletExternallyReparentedResponse) ProtoMessage ¶
func (*TabletExternallyReparentedResponse) ProtoMessage()
func (*TabletExternallyReparentedResponse) Reset ¶
func (m *TabletExternallyReparentedResponse) Reset()
func (*TabletExternallyReparentedResponse) String ¶
func (m *TabletExternallyReparentedResponse) String() string
type UserPermission ¶
type UserPermission struct { Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` User string `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"` PasswordChecksum uint64 `protobuf:"varint,3,opt,name=password_checksum,json=passwordChecksum" json:"password_checksum,omitempty"` Privileges map[string]string `` /* 140-byte string literal not displayed */ }
UserPermission describes a single row in the mysql.user table Primary key is Host+User PasswordChecksum is the crc64 of the password, for security reasons
func (*UserPermission) Descriptor ¶
func (*UserPermission) Descriptor() ([]byte, []int)
func (*UserPermission) GetPrivileges ¶
func (m *UserPermission) GetPrivileges() map[string]string
func (*UserPermission) ProtoMessage ¶
func (*UserPermission) ProtoMessage()
func (*UserPermission) Reset ¶
func (m *UserPermission) Reset()
func (*UserPermission) String ¶
func (m *UserPermission) String() string
type WaitBlpPositionRequest ¶
type WaitBlpPositionRequest struct { BlpPosition *BlpPosition `protobuf:"bytes,1,opt,name=blp_position,json=blpPosition" json:"blp_position,omitempty"` WaitTimeout int64 `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout" json:"wait_timeout,omitempty"` }
func (*WaitBlpPositionRequest) Descriptor ¶
func (*WaitBlpPositionRequest) Descriptor() ([]byte, []int)
func (*WaitBlpPositionRequest) GetBlpPosition ¶
func (m *WaitBlpPositionRequest) GetBlpPosition() *BlpPosition
func (*WaitBlpPositionRequest) ProtoMessage ¶
func (*WaitBlpPositionRequest) ProtoMessage()
func (*WaitBlpPositionRequest) Reset ¶
func (m *WaitBlpPositionRequest) Reset()
func (*WaitBlpPositionRequest) String ¶
func (m *WaitBlpPositionRequest) String() string
type WaitBlpPositionResponse ¶
type WaitBlpPositionResponse struct { }
func (*WaitBlpPositionResponse) Descriptor ¶
func (*WaitBlpPositionResponse) Descriptor() ([]byte, []int)
func (*WaitBlpPositionResponse) ProtoMessage ¶
func (*WaitBlpPositionResponse) ProtoMessage()
func (*WaitBlpPositionResponse) Reset ¶
func (m *WaitBlpPositionResponse) Reset()
func (*WaitBlpPositionResponse) String ¶
func (m *WaitBlpPositionResponse) String() string
Click to show internal directories.
Click to hide internal directories.