Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterTabletManagerServer(s grpc.ServiceRegistrar, srv TabletManagerServer)
- type TabletManagerClient
- type TabletManagerServer
- type TabletManager_BackupClient
- type TabletManager_BackupServer
- type TabletManager_RestoreFromBackupClient
- type TabletManager_RestoreFromBackupServer
- type UnimplementedTabletManagerServer
- func (UnimplementedTabletManagerServer) ApplySchema(context.Context, *v19.ApplySchemaRequest) (*v19.ApplySchemaResponse, error)
- func (UnimplementedTabletManagerServer) Backup(*v19.BackupRequest, grpc.ServerStreamingServer[v19.BackupResponse]) error
- func (UnimplementedTabletManagerServer) ChangeType(context.Context, *v19.ChangeTypeRequest) (*v19.ChangeTypeResponse, error)
- func (UnimplementedTabletManagerServer) CheckThrottler(context.Context, *v19.CheckThrottlerRequest) (*v19.CheckThrottlerResponse, error)
- func (UnimplementedTabletManagerServer) CreateVReplicationWorkflow(context.Context, *v19.CreateVReplicationWorkflowRequest) (*v19.CreateVReplicationWorkflowResponse, error)
- func (UnimplementedTabletManagerServer) DeleteVReplicationWorkflow(context.Context, *v19.DeleteVReplicationWorkflowRequest) (*v19.DeleteVReplicationWorkflowResponse, error)
- func (UnimplementedTabletManagerServer) DemotePrimary(context.Context, *v19.DemotePrimaryRequest) (*v19.DemotePrimaryResponse, error)
- func (UnimplementedTabletManagerServer) ExecuteFetchAsAllPrivs(context.Context, *v19.ExecuteFetchAsAllPrivsRequest) (*v19.ExecuteFetchAsAllPrivsResponse, error)
- func (UnimplementedTabletManagerServer) ExecuteFetchAsApp(context.Context, *v19.ExecuteFetchAsAppRequest) (*v19.ExecuteFetchAsAppResponse, error)
- func (UnimplementedTabletManagerServer) ExecuteFetchAsDba(context.Context, *v19.ExecuteFetchAsDbaRequest) (*v19.ExecuteFetchAsDbaResponse, error)
- func (UnimplementedTabletManagerServer) ExecuteHook(context.Context, *v19.ExecuteHookRequest) (*v19.ExecuteHookResponse, error)
- func (UnimplementedTabletManagerServer) ExecuteQuery(context.Context, *v19.ExecuteQueryRequest) (*v19.ExecuteQueryResponse, error)
- func (UnimplementedTabletManagerServer) FullStatus(context.Context, *v19.FullStatusRequest) (*v19.FullStatusResponse, error)
- func (UnimplementedTabletManagerServer) GetPermissions(context.Context, *v19.GetPermissionsRequest) (*v19.GetPermissionsResponse, error)
- func (UnimplementedTabletManagerServer) GetReplicas(context.Context, *v19.GetReplicasRequest) (*v19.GetReplicasResponse, error)
- func (UnimplementedTabletManagerServer) GetSchema(context.Context, *v19.GetSchemaRequest) (*v19.GetSchemaResponse, error)
- func (UnimplementedTabletManagerServer) InitPrimary(context.Context, *v19.InitPrimaryRequest) (*v19.InitPrimaryResponse, error)
- func (UnimplementedTabletManagerServer) InitReplica(context.Context, *v19.InitReplicaRequest) (*v19.InitReplicaResponse, error)
- func (UnimplementedTabletManagerServer) LockTables(context.Context, *v19.LockTablesRequest) (*v19.LockTablesResponse, error)
- func (UnimplementedTabletManagerServer) Ping(context.Context, *v19.PingRequest) (*v19.PingResponse, error)
- func (UnimplementedTabletManagerServer) PopulateReparentJournal(context.Context, *v19.PopulateReparentJournalRequest) (*v19.PopulateReparentJournalResponse, error)
- func (UnimplementedTabletManagerServer) PreflightSchema(context.Context, *v19.PreflightSchemaRequest) (*v19.PreflightSchemaResponse, error)
- func (UnimplementedTabletManagerServer) PrimaryPosition(context.Context, *v19.PrimaryPositionRequest) (*v19.PrimaryPositionResponse, error)
- func (UnimplementedTabletManagerServer) PrimaryStatus(context.Context, *v19.PrimaryStatusRequest) (*v19.PrimaryStatusResponse, error)
- func (UnimplementedTabletManagerServer) PromoteReplica(context.Context, *v19.PromoteReplicaRequest) (*v19.PromoteReplicaResponse, error)
- func (UnimplementedTabletManagerServer) ReadVReplicationWorkflow(context.Context, *v19.ReadVReplicationWorkflowRequest) (*v19.ReadVReplicationWorkflowResponse, error)
- func (UnimplementedTabletManagerServer) RefreshState(context.Context, *v19.RefreshStateRequest) (*v19.RefreshStateResponse, error)
- func (UnimplementedTabletManagerServer) ReloadSchema(context.Context, *v19.ReloadSchemaRequest) (*v19.ReloadSchemaResponse, error)
- func (UnimplementedTabletManagerServer) ReplicaWasPromoted(context.Context, *v19.ReplicaWasPromotedRequest) (*v19.ReplicaWasPromotedResponse, error)
- func (UnimplementedTabletManagerServer) ReplicaWasRestarted(context.Context, *v19.ReplicaWasRestartedRequest) (*v19.ReplicaWasRestartedResponse, error)
- func (UnimplementedTabletManagerServer) ReplicationStatus(context.Context, *v19.ReplicationStatusRequest) (*v19.ReplicationStatusResponse, error)
- func (UnimplementedTabletManagerServer) ResetReplication(context.Context, *v19.ResetReplicationRequest) (*v19.ResetReplicationResponse, error)
- func (UnimplementedTabletManagerServer) ResetReplicationParameters(context.Context, *v19.ResetReplicationParametersRequest) (*v19.ResetReplicationParametersResponse, error)
- func (UnimplementedTabletManagerServer) ResetSequences(context.Context, *v19.ResetSequencesRequest) (*v19.ResetSequencesResponse, error)
- func (UnimplementedTabletManagerServer) RestoreFromBackup(*v19.RestoreFromBackupRequest, ...) error
- func (UnimplementedTabletManagerServer) RunHealthCheck(context.Context, *v19.RunHealthCheckRequest) (*v19.RunHealthCheckResponse, error)
- func (UnimplementedTabletManagerServer) SetReadOnly(context.Context, *v19.SetReadOnlyRequest) (*v19.SetReadOnlyResponse, error)
- func (UnimplementedTabletManagerServer) SetReadWrite(context.Context, *v19.SetReadWriteRequest) (*v19.SetReadWriteResponse, error)
- func (UnimplementedTabletManagerServer) SetReplicationSource(context.Context, *v19.SetReplicationSourceRequest) (*v19.SetReplicationSourceResponse, error)
- func (UnimplementedTabletManagerServer) Sleep(context.Context, *v19.SleepRequest) (*v19.SleepResponse, error)
- func (UnimplementedTabletManagerServer) StartReplication(context.Context, *v19.StartReplicationRequest) (*v19.StartReplicationResponse, error)
- func (UnimplementedTabletManagerServer) StartReplicationUntilAfter(context.Context, *v19.StartReplicationUntilAfterRequest) (*v19.StartReplicationUntilAfterResponse, error)
- func (UnimplementedTabletManagerServer) StopReplication(context.Context, *v19.StopReplicationRequest) (*v19.StopReplicationResponse, error)
- func (UnimplementedTabletManagerServer) StopReplicationAndGetStatus(context.Context, *v19.StopReplicationAndGetStatusRequest) (*v19.StopReplicationAndGetStatusResponse, error)
- func (UnimplementedTabletManagerServer) StopReplicationMinimum(context.Context, *v19.StopReplicationMinimumRequest) (*v19.StopReplicationMinimumResponse, error)
- func (UnimplementedTabletManagerServer) UndoDemotePrimary(context.Context, *v19.UndoDemotePrimaryRequest) (*v19.UndoDemotePrimaryResponse, error)
- func (UnimplementedTabletManagerServer) UnlockTables(context.Context, *v19.UnlockTablesRequest) (*v19.UnlockTablesResponse, error)
- func (UnimplementedTabletManagerServer) UpdateVReplicationWorkflow(context.Context, *v19.UpdateVReplicationWorkflowRequest) (*v19.UpdateVReplicationWorkflowResponse, error)
- func (UnimplementedTabletManagerServer) VDiff(context.Context, *v19.VDiffRequest) (*v19.VDiffResponse, error)
- func (UnimplementedTabletManagerServer) VReplicationExec(context.Context, *v19.VReplicationExecRequest) (*v19.VReplicationExecResponse, error)
- func (UnimplementedTabletManagerServer) VReplicationWaitForPos(context.Context, *v19.VReplicationWaitForPosRequest) (*v19.VReplicationWaitForPosResponse, error)
- func (UnimplementedTabletManagerServer) WaitForPosition(context.Context, *v19.WaitForPositionRequest) (*v19.WaitForPositionResponse, error)
- type UnsafeTabletManagerServer
Constants ¶
const ( TabletManager_Ping_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/Ping" TabletManager_Sleep_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/Sleep" TabletManager_ExecuteHook_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ExecuteHook" TabletManager_GetSchema_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/GetSchema" TabletManager_GetPermissions_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/GetPermissions" TabletManager_SetReadOnly_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/SetReadOnly" TabletManager_SetReadWrite_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/SetReadWrite" TabletManager_ChangeType_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ChangeType" TabletManager_RefreshState_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/RefreshState" TabletManager_RunHealthCheck_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/RunHealthCheck" TabletManager_ReloadSchema_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ReloadSchema" TabletManager_PreflightSchema_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/PreflightSchema" TabletManager_ApplySchema_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ApplySchema" TabletManager_ResetSequences_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ResetSequences" TabletManager_LockTables_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/LockTables" TabletManager_UnlockTables_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/UnlockTables" TabletManager_ExecuteQuery_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ExecuteQuery" TabletManager_ExecuteFetchAsDba_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ExecuteFetchAsDba" TabletManager_ExecuteFetchAsAllPrivs_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ExecuteFetchAsAllPrivs" TabletManager_ExecuteFetchAsApp_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ExecuteFetchAsApp" TabletManager_ReplicationStatus_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ReplicationStatus" TabletManager_PrimaryStatus_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/PrimaryStatus" TabletManager_PrimaryPosition_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/PrimaryPosition" TabletManager_WaitForPosition_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/WaitForPosition" TabletManager_StopReplication_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/StopReplication" TabletManager_StopReplicationMinimum_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/StopReplicationMinimum" TabletManager_StartReplication_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/StartReplication" TabletManager_StartReplicationUntilAfter_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/StartReplicationUntilAfter" TabletManager_GetReplicas_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/GetReplicas" TabletManager_CreateVReplicationWorkflow_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/CreateVReplicationWorkflow" TabletManager_DeleteVReplicationWorkflow_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/DeleteVReplicationWorkflow" TabletManager_ReadVReplicationWorkflow_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ReadVReplicationWorkflow" TabletManager_VReplicationExec_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/VReplicationExec" TabletManager_VReplicationWaitForPos_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/VReplicationWaitForPos" TabletManager_UpdateVReplicationWorkflow_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/UpdateVReplicationWorkflow" TabletManager_VDiff_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/VDiff" TabletManager_ResetReplication_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ResetReplication" TabletManager_InitPrimary_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/InitPrimary" TabletManager_PopulateReparentJournal_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/PopulateReparentJournal" TabletManager_InitReplica_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/InitReplica" TabletManager_DemotePrimary_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/DemotePrimary" TabletManager_UndoDemotePrimary_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/UndoDemotePrimary" TabletManager_ReplicaWasPromoted_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ReplicaWasPromoted" TabletManager_ResetReplicationParameters_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ResetReplicationParameters" TabletManager_FullStatus_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/FullStatus" TabletManager_SetReplicationSource_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/SetReplicationSource" TabletManager_ReplicaWasRestarted_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/ReplicaWasRestarted" TabletManager_StopReplicationAndGetStatus_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/StopReplicationAndGetStatus" TabletManager_PromoteReplica_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/PromoteReplica" TabletManager_Backup_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/Backup" TabletManager_RestoreFromBackup_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/RestoreFromBackup" TabletManager_CheckThrottler_FullMethodName = "/vitess.tabletmanagerservice.v19.TabletManager/CheckThrottler" )
Variables ¶
var TabletManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "vitess.tabletmanagerservice.v19.TabletManager", HandlerType: (*TabletManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _TabletManager_Ping_Handler, }, { MethodName: "Sleep", Handler: _TabletManager_Sleep_Handler, }, { MethodName: "ExecuteHook", Handler: _TabletManager_ExecuteHook_Handler, }, { MethodName: "GetSchema", Handler: _TabletManager_GetSchema_Handler, }, { MethodName: "GetPermissions", Handler: _TabletManager_GetPermissions_Handler, }, { MethodName: "SetReadOnly", Handler: _TabletManager_SetReadOnly_Handler, }, { MethodName: "SetReadWrite", Handler: _TabletManager_SetReadWrite_Handler, }, { MethodName: "ChangeType", Handler: _TabletManager_ChangeType_Handler, }, { MethodName: "RefreshState", Handler: _TabletManager_RefreshState_Handler, }, { MethodName: "RunHealthCheck", Handler: _TabletManager_RunHealthCheck_Handler, }, { MethodName: "ReloadSchema", Handler: _TabletManager_ReloadSchema_Handler, }, { MethodName: "PreflightSchema", Handler: _TabletManager_PreflightSchema_Handler, }, { MethodName: "ApplySchema", Handler: _TabletManager_ApplySchema_Handler, }, { MethodName: "ResetSequences", Handler: _TabletManager_ResetSequences_Handler, }, { MethodName: "LockTables", Handler: _TabletManager_LockTables_Handler, }, { MethodName: "UnlockTables", Handler: _TabletManager_UnlockTables_Handler, }, { MethodName: "ExecuteQuery", Handler: _TabletManager_ExecuteQuery_Handler, }, { MethodName: "ExecuteFetchAsDba", Handler: _TabletManager_ExecuteFetchAsDba_Handler, }, { MethodName: "ExecuteFetchAsAllPrivs", Handler: _TabletManager_ExecuteFetchAsAllPrivs_Handler, }, { MethodName: "ExecuteFetchAsApp", Handler: _TabletManager_ExecuteFetchAsApp_Handler, }, { MethodName: "ReplicationStatus", Handler: _TabletManager_ReplicationStatus_Handler, }, { MethodName: "PrimaryStatus", Handler: _TabletManager_PrimaryStatus_Handler, }, { MethodName: "PrimaryPosition", Handler: _TabletManager_PrimaryPosition_Handler, }, { MethodName: "WaitForPosition", Handler: _TabletManager_WaitForPosition_Handler, }, { MethodName: "StopReplication", Handler: _TabletManager_StopReplication_Handler, }, { MethodName: "StopReplicationMinimum", Handler: _TabletManager_StopReplicationMinimum_Handler, }, { MethodName: "StartReplication", Handler: _TabletManager_StartReplication_Handler, }, { MethodName: "StartReplicationUntilAfter", Handler: _TabletManager_StartReplicationUntilAfter_Handler, }, { MethodName: "GetReplicas", Handler: _TabletManager_GetReplicas_Handler, }, { MethodName: "CreateVReplicationWorkflow", Handler: _TabletManager_CreateVReplicationWorkflow_Handler, }, { MethodName: "DeleteVReplicationWorkflow", Handler: _TabletManager_DeleteVReplicationWorkflow_Handler, }, { MethodName: "ReadVReplicationWorkflow", Handler: _TabletManager_ReadVReplicationWorkflow_Handler, }, { MethodName: "VReplicationExec", Handler: _TabletManager_VReplicationExec_Handler, }, { MethodName: "VReplicationWaitForPos", Handler: _TabletManager_VReplicationWaitForPos_Handler, }, { MethodName: "UpdateVReplicationWorkflow", Handler: _TabletManager_UpdateVReplicationWorkflow_Handler, }, { MethodName: "VDiff", Handler: _TabletManager_VDiff_Handler, }, { MethodName: "ResetReplication", Handler: _TabletManager_ResetReplication_Handler, }, { MethodName: "InitPrimary", Handler: _TabletManager_InitPrimary_Handler, }, { MethodName: "PopulateReparentJournal", Handler: _TabletManager_PopulateReparentJournal_Handler, }, { MethodName: "InitReplica", Handler: _TabletManager_InitReplica_Handler, }, { MethodName: "DemotePrimary", Handler: _TabletManager_DemotePrimary_Handler, }, { MethodName: "UndoDemotePrimary", Handler: _TabletManager_UndoDemotePrimary_Handler, }, { MethodName: "ReplicaWasPromoted", Handler: _TabletManager_ReplicaWasPromoted_Handler, }, { MethodName: "ResetReplicationParameters", Handler: _TabletManager_ResetReplicationParameters_Handler, }, { MethodName: "FullStatus", Handler: _TabletManager_FullStatus_Handler, }, { MethodName: "SetReplicationSource", Handler: _TabletManager_SetReplicationSource_Handler, }, { MethodName: "ReplicaWasRestarted", Handler: _TabletManager_ReplicaWasRestarted_Handler, }, { MethodName: "StopReplicationAndGetStatus", Handler: _TabletManager_StopReplicationAndGetStatus_Handler, }, { MethodName: "PromoteReplica", Handler: _TabletManager_PromoteReplica_Handler, }, { MethodName: "CheckThrottler", Handler: _TabletManager_CheckThrottler_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Backup", Handler: _TabletManager_Backup_Handler, ServerStreams: true, }, { StreamName: "RestoreFromBackup", Handler: _TabletManager_RestoreFromBackup_Handler, ServerStreams: true, }, }, Metadata: "vitess/tabletmanagerservice/v19/tabletmanagerservice.proto", }
TabletManager_ServiceDesc is the grpc.ServiceDesc for TabletManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTabletManagerServer ¶
func RegisterTabletManagerServer(s grpc.ServiceRegistrar, srv TabletManagerServer)
Types ¶
type TabletManagerClient ¶
type TabletManagerClient interface {
// Ping returns the input payload
Ping(ctx context.Context, in *v19.PingRequest, opts ...grpc.CallOption) (*v19.PingResponse, error)
// Sleep sleeps for the provided duration
Sleep(ctx context.Context, in *v19.SleepRequest, opts ...grpc.CallOption) (*v19.SleepResponse, error)
// ExecuteHook executes the hook remotely
ExecuteHook(ctx context.Context, in *v19.ExecuteHookRequest, opts ...grpc.CallOption) (*v19.ExecuteHookResponse, error)
// GetSchema asks the tablet for its schema
GetSchema(ctx context.Context, in *v19.GetSchemaRequest, opts ...grpc.CallOption) (*v19.GetSchemaResponse, error)
// GetPermissions asks the tablet for its permissions
GetPermissions(ctx context.Context, in *v19.GetPermissionsRequest, opts ...grpc.CallOption) (*v19.GetPermissionsResponse, error)
SetReadOnly(ctx context.Context, in *v19.SetReadOnlyRequest, opts ...grpc.CallOption) (*v19.SetReadOnlyResponse, error)
SetReadWrite(ctx context.Context, in *v19.SetReadWriteRequest, opts ...grpc.CallOption) (*v19.SetReadWriteResponse, error)
// ChangeType asks the remote tablet to change its type
ChangeType(ctx context.Context, in *v19.ChangeTypeRequest, opts ...grpc.CallOption) (*v19.ChangeTypeResponse, error)
RefreshState(ctx context.Context, in *v19.RefreshStateRequest, opts ...grpc.CallOption) (*v19.RefreshStateResponse, error)
RunHealthCheck(ctx context.Context, in *v19.RunHealthCheckRequest, opts ...grpc.CallOption) (*v19.RunHealthCheckResponse, error)
ReloadSchema(ctx context.Context, in *v19.ReloadSchemaRequest, opts ...grpc.CallOption) (*v19.ReloadSchemaResponse, error)
PreflightSchema(ctx context.Context, in *v19.PreflightSchemaRequest, opts ...grpc.CallOption) (*v19.PreflightSchemaResponse, error)
ApplySchema(ctx context.Context, in *v19.ApplySchemaRequest, opts ...grpc.CallOption) (*v19.ApplySchemaResponse, error)
ResetSequences(ctx context.Context, in *v19.ResetSequencesRequest, opts ...grpc.CallOption) (*v19.ResetSequencesResponse, error)
LockTables(ctx context.Context, in *v19.LockTablesRequest, opts ...grpc.CallOption) (*v19.LockTablesResponse, error)
UnlockTables(ctx context.Context, in *v19.UnlockTablesRequest, opts ...grpc.CallOption) (*v19.UnlockTablesResponse, error)
ExecuteQuery(ctx context.Context, in *v19.ExecuteQueryRequest, opts ...grpc.CallOption) (*v19.ExecuteQueryResponse, error)
ExecuteFetchAsDba(ctx context.Context, in *v19.ExecuteFetchAsDbaRequest, opts ...grpc.CallOption) (*v19.ExecuteFetchAsDbaResponse, error)
ExecuteFetchAsAllPrivs(ctx context.Context, in *v19.ExecuteFetchAsAllPrivsRequest, opts ...grpc.CallOption) (*v19.ExecuteFetchAsAllPrivsResponse, error)
ExecuteFetchAsApp(ctx context.Context, in *v19.ExecuteFetchAsAppRequest, opts ...grpc.CallOption) (*v19.ExecuteFetchAsAppResponse, error)
// ReplicationStatus returns the current replication status.
ReplicationStatus(ctx context.Context, in *v19.ReplicationStatusRequest, opts ...grpc.CallOption) (*v19.ReplicationStatusResponse, error)
// PrimaryStatus returns the current primary status.
PrimaryStatus(ctx context.Context, in *v19.PrimaryStatusRequest, opts ...grpc.CallOption) (*v19.PrimaryStatusResponse, error)
// PrimaryPosition returns the current primary position
PrimaryPosition(ctx context.Context, in *v19.PrimaryPositionRequest, opts ...grpc.CallOption) (*v19.PrimaryPositionResponse, error)
// WaitForPosition waits for the position to be reached
WaitForPosition(ctx context.Context, in *v19.WaitForPositionRequest, opts ...grpc.CallOption) (*v19.WaitForPositionResponse, error)
// StopReplication makes mysql stop its replication
StopReplication(ctx context.Context, in *v19.StopReplicationRequest, opts ...grpc.CallOption) (*v19.StopReplicationResponse, error)
// StopReplicationMinimum stops the mysql replication after it reaches
// the provided minimum point
StopReplicationMinimum(ctx context.Context, in *v19.StopReplicationMinimumRequest, opts ...grpc.CallOption) (*v19.StopReplicationMinimumResponse, error)
// StartReplication starts the mysql replication
StartReplication(ctx context.Context, in *v19.StartReplicationRequest, opts ...grpc.CallOption) (*v19.StartReplicationResponse, error)
// StartReplicationUnitAfter starts the mysql replication until and including
// the provided position
StartReplicationUntilAfter(ctx context.Context, in *v19.StartReplicationUntilAfterRequest, opts ...grpc.CallOption) (*v19.StartReplicationUntilAfterResponse, error)
// GetReplicas asks for the list of mysql replicas
GetReplicas(ctx context.Context, in *v19.GetReplicasRequest, opts ...grpc.CallOption) (*v19.GetReplicasResponse, error)
// VReplication API
CreateVReplicationWorkflow(ctx context.Context, in *v19.CreateVReplicationWorkflowRequest, opts ...grpc.CallOption) (*v19.CreateVReplicationWorkflowResponse, error)
DeleteVReplicationWorkflow(ctx context.Context, in *v19.DeleteVReplicationWorkflowRequest, opts ...grpc.CallOption) (*v19.DeleteVReplicationWorkflowResponse, error)
ReadVReplicationWorkflow(ctx context.Context, in *v19.ReadVReplicationWorkflowRequest, opts ...grpc.CallOption) (*v19.ReadVReplicationWorkflowResponse, error)
VReplicationExec(ctx context.Context, in *v19.VReplicationExecRequest, opts ...grpc.CallOption) (*v19.VReplicationExecResponse, error)
VReplicationWaitForPos(ctx context.Context, in *v19.VReplicationWaitForPosRequest, opts ...grpc.CallOption) (*v19.VReplicationWaitForPosResponse, error)
UpdateVReplicationWorkflow(ctx context.Context, in *v19.UpdateVReplicationWorkflowRequest, opts ...grpc.CallOption) (*v19.UpdateVReplicationWorkflowResponse, error)
// VDiff API
VDiff(ctx context.Context, in *v19.VDiffRequest, opts ...grpc.CallOption) (*v19.VDiffResponse, error)
// ResetReplication makes the target not replicating
ResetReplication(ctx context.Context, in *v19.ResetReplicationRequest, opts ...grpc.CallOption) (*v19.ResetReplicationResponse, error)
// InitPrimary initializes the tablet as a primary
InitPrimary(ctx context.Context, in *v19.InitPrimaryRequest, opts ...grpc.CallOption) (*v19.InitPrimaryResponse, error)
// PopulateReparentJournal tells the tablet to add an entry to its
// reparent journal
PopulateReparentJournal(ctx context.Context, in *v19.PopulateReparentJournalRequest, opts ...grpc.CallOption) (*v19.PopulateReparentJournalResponse, error)
// InitReplica tells the tablet to reparent to the primary unconditionally
InitReplica(ctx context.Context, in *v19.InitReplicaRequest, opts ...grpc.CallOption) (*v19.InitReplicaResponse, error)
// DemotePrimary tells the soon-to-be-former primary it's gonna change
DemotePrimary(ctx context.Context, in *v19.DemotePrimaryRequest, opts ...grpc.CallOption) (*v19.DemotePrimaryResponse, error)
// UndoDemotePrimary reverts all changes made by DemotePrimary
UndoDemotePrimary(ctx context.Context, in *v19.UndoDemotePrimaryRequest, opts ...grpc.CallOption) (*v19.UndoDemotePrimaryResponse, error)
// ReplicaWasPromoted tells the remote tablet it is now the primary
ReplicaWasPromoted(ctx context.Context, in *v19.ReplicaWasPromotedRequest, opts ...grpc.CallOption) (*v19.ReplicaWasPromotedResponse, error)
// ResetReplicationParameters resets the replica replication parameters
ResetReplicationParameters(ctx context.Context, in *v19.ResetReplicationParametersRequest, opts ...grpc.CallOption) (*v19.ResetReplicationParametersResponse, error)
// FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others
FullStatus(ctx context.Context, in *v19.FullStatusRequest, opts ...grpc.CallOption) (*v19.FullStatusResponse, error)
// SetReplicationSource tells the replica to reparent
SetReplicationSource(ctx context.Context, in *v19.SetReplicationSourceRequest, opts ...grpc.CallOption) (*v19.SetReplicationSourceResponse, error)
// ReplicaWasRestarted tells the remote tablet its primary has changed
ReplicaWasRestarted(ctx context.Context, in *v19.ReplicaWasRestartedRequest, opts ...grpc.CallOption) (*v19.ReplicaWasRestartedResponse, error)
// StopReplicationAndGetStatus stops MySQL replication, and returns the
// replication status
StopReplicationAndGetStatus(ctx context.Context, in *v19.StopReplicationAndGetStatusRequest, opts ...grpc.CallOption) (*v19.StopReplicationAndGetStatusResponse, error)
// PromoteReplica makes the replica the new primary
PromoteReplica(ctx context.Context, in *v19.PromoteReplicaRequest, opts ...grpc.CallOption) (*v19.PromoteReplicaResponse, error)
Backup(ctx context.Context, in *v19.BackupRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[v19.BackupResponse], error)
// RestoreFromBackup deletes all local data and restores it from the latest backup.
RestoreFromBackup(ctx context.Context, in *v19.RestoreFromBackupRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[v19.RestoreFromBackupResponse], error)
// CheckThrottler issues a 'check' on a tablet's throttler
CheckThrottler(ctx context.Context, in *v19.CheckThrottlerRequest, opts ...grpc.CallOption) (*v19.CheckThrottlerResponse, error)
}
TabletManagerClient is the client API for TabletManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
TabletManager is a service definition for tabletmanagerdata.TabletManager.
func NewTabletManagerClient ¶
func NewTabletManagerClient(cc grpc.ClientConnInterface) TabletManagerClient
type TabletManagerServer ¶
type TabletManagerServer interface {
// Ping returns the input payload
Ping(context.Context, *v19.PingRequest) (*v19.PingResponse, error)
// Sleep sleeps for the provided duration
Sleep(context.Context, *v19.SleepRequest) (*v19.SleepResponse, error)
// ExecuteHook executes the hook remotely
ExecuteHook(context.Context, *v19.ExecuteHookRequest) (*v19.ExecuteHookResponse, error)
// GetSchema asks the tablet for its schema
GetSchema(context.Context, *v19.GetSchemaRequest) (*v19.GetSchemaResponse, error)
// GetPermissions asks the tablet for its permissions
GetPermissions(context.Context, *v19.GetPermissionsRequest) (*v19.GetPermissionsResponse, error)
SetReadOnly(context.Context, *v19.SetReadOnlyRequest) (*v19.SetReadOnlyResponse, error)
SetReadWrite(context.Context, *v19.SetReadWriteRequest) (*v19.SetReadWriteResponse, error)
// ChangeType asks the remote tablet to change its type
ChangeType(context.Context, *v19.ChangeTypeRequest) (*v19.ChangeTypeResponse, error)
RefreshState(context.Context, *v19.RefreshStateRequest) (*v19.RefreshStateResponse, error)
RunHealthCheck(context.Context, *v19.RunHealthCheckRequest) (*v19.RunHealthCheckResponse, error)
ReloadSchema(context.Context, *v19.ReloadSchemaRequest) (*v19.ReloadSchemaResponse, error)
PreflightSchema(context.Context, *v19.PreflightSchemaRequest) (*v19.PreflightSchemaResponse, error)
ApplySchema(context.Context, *v19.ApplySchemaRequest) (*v19.ApplySchemaResponse, error)
ResetSequences(context.Context, *v19.ResetSequencesRequest) (*v19.ResetSequencesResponse, error)
LockTables(context.Context, *v19.LockTablesRequest) (*v19.LockTablesResponse, error)
UnlockTables(context.Context, *v19.UnlockTablesRequest) (*v19.UnlockTablesResponse, error)
ExecuteQuery(context.Context, *v19.ExecuteQueryRequest) (*v19.ExecuteQueryResponse, error)
ExecuteFetchAsDba(context.Context, *v19.ExecuteFetchAsDbaRequest) (*v19.ExecuteFetchAsDbaResponse, error)
ExecuteFetchAsAllPrivs(context.Context, *v19.ExecuteFetchAsAllPrivsRequest) (*v19.ExecuteFetchAsAllPrivsResponse, error)
ExecuteFetchAsApp(context.Context, *v19.ExecuteFetchAsAppRequest) (*v19.ExecuteFetchAsAppResponse, error)
// ReplicationStatus returns the current replication status.
ReplicationStatus(context.Context, *v19.ReplicationStatusRequest) (*v19.ReplicationStatusResponse, error)
// PrimaryStatus returns the current primary status.
PrimaryStatus(context.Context, *v19.PrimaryStatusRequest) (*v19.PrimaryStatusResponse, error)
// PrimaryPosition returns the current primary position
PrimaryPosition(context.Context, *v19.PrimaryPositionRequest) (*v19.PrimaryPositionResponse, error)
// WaitForPosition waits for the position to be reached
WaitForPosition(context.Context, *v19.WaitForPositionRequest) (*v19.WaitForPositionResponse, error)
// StopReplication makes mysql stop its replication
StopReplication(context.Context, *v19.StopReplicationRequest) (*v19.StopReplicationResponse, error)
// StopReplicationMinimum stops the mysql replication after it reaches
// the provided minimum point
StopReplicationMinimum(context.Context, *v19.StopReplicationMinimumRequest) (*v19.StopReplicationMinimumResponse, error)
// StartReplication starts the mysql replication
StartReplication(context.Context, *v19.StartReplicationRequest) (*v19.StartReplicationResponse, error)
// StartReplicationUnitAfter starts the mysql replication until and including
// the provided position
StartReplicationUntilAfter(context.Context, *v19.StartReplicationUntilAfterRequest) (*v19.StartReplicationUntilAfterResponse, error)
// GetReplicas asks for the list of mysql replicas
GetReplicas(context.Context, *v19.GetReplicasRequest) (*v19.GetReplicasResponse, error)
// VReplication API
CreateVReplicationWorkflow(context.Context, *v19.CreateVReplicationWorkflowRequest) (*v19.CreateVReplicationWorkflowResponse, error)
DeleteVReplicationWorkflow(context.Context, *v19.DeleteVReplicationWorkflowRequest) (*v19.DeleteVReplicationWorkflowResponse, error)
ReadVReplicationWorkflow(context.Context, *v19.ReadVReplicationWorkflowRequest) (*v19.ReadVReplicationWorkflowResponse, error)
VReplicationExec(context.Context, *v19.VReplicationExecRequest) (*v19.VReplicationExecResponse, error)
VReplicationWaitForPos(context.Context, *v19.VReplicationWaitForPosRequest) (*v19.VReplicationWaitForPosResponse, error)
UpdateVReplicationWorkflow(context.Context, *v19.UpdateVReplicationWorkflowRequest) (*v19.UpdateVReplicationWorkflowResponse, error)
// VDiff API
VDiff(context.Context, *v19.VDiffRequest) (*v19.VDiffResponse, error)
// ResetReplication makes the target not replicating
ResetReplication(context.Context, *v19.ResetReplicationRequest) (*v19.ResetReplicationResponse, error)
// InitPrimary initializes the tablet as a primary
InitPrimary(context.Context, *v19.InitPrimaryRequest) (*v19.InitPrimaryResponse, error)
// PopulateReparentJournal tells the tablet to add an entry to its
// reparent journal
PopulateReparentJournal(context.Context, *v19.PopulateReparentJournalRequest) (*v19.PopulateReparentJournalResponse, error)
// InitReplica tells the tablet to reparent to the primary unconditionally
InitReplica(context.Context, *v19.InitReplicaRequest) (*v19.InitReplicaResponse, error)
// DemotePrimary tells the soon-to-be-former primary it's gonna change
DemotePrimary(context.Context, *v19.DemotePrimaryRequest) (*v19.DemotePrimaryResponse, error)
// UndoDemotePrimary reverts all changes made by DemotePrimary
UndoDemotePrimary(context.Context, *v19.UndoDemotePrimaryRequest) (*v19.UndoDemotePrimaryResponse, error)
// ReplicaWasPromoted tells the remote tablet it is now the primary
ReplicaWasPromoted(context.Context, *v19.ReplicaWasPromotedRequest) (*v19.ReplicaWasPromotedResponse, error)
// ResetReplicationParameters resets the replica replication parameters
ResetReplicationParameters(context.Context, *v19.ResetReplicationParametersRequest) (*v19.ResetReplicationParametersResponse, error)
// FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others
FullStatus(context.Context, *v19.FullStatusRequest) (*v19.FullStatusResponse, error)
// SetReplicationSource tells the replica to reparent
SetReplicationSource(context.Context, *v19.SetReplicationSourceRequest) (*v19.SetReplicationSourceResponse, error)
// ReplicaWasRestarted tells the remote tablet its primary has changed
ReplicaWasRestarted(context.Context, *v19.ReplicaWasRestartedRequest) (*v19.ReplicaWasRestartedResponse, error)
// StopReplicationAndGetStatus stops MySQL replication, and returns the
// replication status
StopReplicationAndGetStatus(context.Context, *v19.StopReplicationAndGetStatusRequest) (*v19.StopReplicationAndGetStatusResponse, error)
// PromoteReplica makes the replica the new primary
PromoteReplica(context.Context, *v19.PromoteReplicaRequest) (*v19.PromoteReplicaResponse, error)
Backup(*v19.BackupRequest, grpc.ServerStreamingServer[v19.BackupResponse]) error
// RestoreFromBackup deletes all local data and restores it from the latest backup.
RestoreFromBackup(*v19.RestoreFromBackupRequest, grpc.ServerStreamingServer[v19.RestoreFromBackupResponse]) error
// CheckThrottler issues a 'check' on a tablet's throttler
CheckThrottler(context.Context, *v19.CheckThrottlerRequest) (*v19.CheckThrottlerResponse, error)
}
TabletManagerServer is the server API for TabletManager service. All implementations should embed UnimplementedTabletManagerServer for forward compatibility.
TabletManager is a service definition for tabletmanagerdata.TabletManager.
type TabletManager_BackupClient ¶
type TabletManager_BackupClient = grpc.ServerStreamingClient[v19.BackupResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TabletManager_BackupServer ¶
type TabletManager_BackupServer = grpc.ServerStreamingServer[v19.BackupResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TabletManager_RestoreFromBackupClient ¶
type TabletManager_RestoreFromBackupClient = grpc.ServerStreamingClient[v19.RestoreFromBackupResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TabletManager_RestoreFromBackupServer ¶
type TabletManager_RestoreFromBackupServer = grpc.ServerStreamingServer[v19.RestoreFromBackupResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type UnimplementedTabletManagerServer ¶
type UnimplementedTabletManagerServer struct{}
UnimplementedTabletManagerServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTabletManagerServer) ApplySchema ¶
func (UnimplementedTabletManagerServer) ApplySchema(context.Context, *v19.ApplySchemaRequest) (*v19.ApplySchemaResponse, error)
func (UnimplementedTabletManagerServer) Backup ¶
func (UnimplementedTabletManagerServer) Backup(*v19.BackupRequest, grpc.ServerStreamingServer[v19.BackupResponse]) error
func (UnimplementedTabletManagerServer) ChangeType ¶
func (UnimplementedTabletManagerServer) ChangeType(context.Context, *v19.ChangeTypeRequest) (*v19.ChangeTypeResponse, error)
func (UnimplementedTabletManagerServer) CheckThrottler ¶
func (UnimplementedTabletManagerServer) CheckThrottler(context.Context, *v19.CheckThrottlerRequest) (*v19.CheckThrottlerResponse, error)
func (UnimplementedTabletManagerServer) CreateVReplicationWorkflow ¶
func (UnimplementedTabletManagerServer) CreateVReplicationWorkflow(context.Context, *v19.CreateVReplicationWorkflowRequest) (*v19.CreateVReplicationWorkflowResponse, error)
func (UnimplementedTabletManagerServer) DeleteVReplicationWorkflow ¶
func (UnimplementedTabletManagerServer) DeleteVReplicationWorkflow(context.Context, *v19.DeleteVReplicationWorkflowRequest) (*v19.DeleteVReplicationWorkflowResponse, error)
func (UnimplementedTabletManagerServer) DemotePrimary ¶
func (UnimplementedTabletManagerServer) DemotePrimary(context.Context, *v19.DemotePrimaryRequest) (*v19.DemotePrimaryResponse, error)
func (UnimplementedTabletManagerServer) ExecuteFetchAsAllPrivs ¶
func (UnimplementedTabletManagerServer) ExecuteFetchAsAllPrivs(context.Context, *v19.ExecuteFetchAsAllPrivsRequest) (*v19.ExecuteFetchAsAllPrivsResponse, error)
func (UnimplementedTabletManagerServer) ExecuteFetchAsApp ¶
func (UnimplementedTabletManagerServer) ExecuteFetchAsApp(context.Context, *v19.ExecuteFetchAsAppRequest) (*v19.ExecuteFetchAsAppResponse, error)
func (UnimplementedTabletManagerServer) ExecuteFetchAsDba ¶
func (UnimplementedTabletManagerServer) ExecuteFetchAsDba(context.Context, *v19.ExecuteFetchAsDbaRequest) (*v19.ExecuteFetchAsDbaResponse, error)
func (UnimplementedTabletManagerServer) ExecuteHook ¶
func (UnimplementedTabletManagerServer) ExecuteHook(context.Context, *v19.ExecuteHookRequest) (*v19.ExecuteHookResponse, error)
func (UnimplementedTabletManagerServer) ExecuteQuery ¶
func (UnimplementedTabletManagerServer) ExecuteQuery(context.Context, *v19.ExecuteQueryRequest) (*v19.ExecuteQueryResponse, error)
func (UnimplementedTabletManagerServer) FullStatus ¶
func (UnimplementedTabletManagerServer) FullStatus(context.Context, *v19.FullStatusRequest) (*v19.FullStatusResponse, error)
func (UnimplementedTabletManagerServer) GetPermissions ¶
func (UnimplementedTabletManagerServer) GetPermissions(context.Context, *v19.GetPermissionsRequest) (*v19.GetPermissionsResponse, error)
func (UnimplementedTabletManagerServer) GetReplicas ¶
func (UnimplementedTabletManagerServer) GetReplicas(context.Context, *v19.GetReplicasRequest) (*v19.GetReplicasResponse, error)
func (UnimplementedTabletManagerServer) GetSchema ¶
func (UnimplementedTabletManagerServer) GetSchema(context.Context, *v19.GetSchemaRequest) (*v19.GetSchemaResponse, error)
func (UnimplementedTabletManagerServer) InitPrimary ¶
func (UnimplementedTabletManagerServer) InitPrimary(context.Context, *v19.InitPrimaryRequest) (*v19.InitPrimaryResponse, error)
func (UnimplementedTabletManagerServer) InitReplica ¶
func (UnimplementedTabletManagerServer) InitReplica(context.Context, *v19.InitReplicaRequest) (*v19.InitReplicaResponse, error)
func (UnimplementedTabletManagerServer) LockTables ¶
func (UnimplementedTabletManagerServer) LockTables(context.Context, *v19.LockTablesRequest) (*v19.LockTablesResponse, error)
func (UnimplementedTabletManagerServer) Ping ¶
func (UnimplementedTabletManagerServer) Ping(context.Context, *v19.PingRequest) (*v19.PingResponse, error)
func (UnimplementedTabletManagerServer) PopulateReparentJournal ¶
func (UnimplementedTabletManagerServer) PopulateReparentJournal(context.Context, *v19.PopulateReparentJournalRequest) (*v19.PopulateReparentJournalResponse, error)
func (UnimplementedTabletManagerServer) PreflightSchema ¶
func (UnimplementedTabletManagerServer) PreflightSchema(context.Context, *v19.PreflightSchemaRequest) (*v19.PreflightSchemaResponse, error)
func (UnimplementedTabletManagerServer) PrimaryPosition ¶
func (UnimplementedTabletManagerServer) PrimaryPosition(context.Context, *v19.PrimaryPositionRequest) (*v19.PrimaryPositionResponse, error)
func (UnimplementedTabletManagerServer) PrimaryStatus ¶
func (UnimplementedTabletManagerServer) PrimaryStatus(context.Context, *v19.PrimaryStatusRequest) (*v19.PrimaryStatusResponse, error)
func (UnimplementedTabletManagerServer) PromoteReplica ¶
func (UnimplementedTabletManagerServer) PromoteReplica(context.Context, *v19.PromoteReplicaRequest) (*v19.PromoteReplicaResponse, error)
func (UnimplementedTabletManagerServer) ReadVReplicationWorkflow ¶
func (UnimplementedTabletManagerServer) ReadVReplicationWorkflow(context.Context, *v19.ReadVReplicationWorkflowRequest) (*v19.ReadVReplicationWorkflowResponse, error)
func (UnimplementedTabletManagerServer) RefreshState ¶
func (UnimplementedTabletManagerServer) RefreshState(context.Context, *v19.RefreshStateRequest) (*v19.RefreshStateResponse, error)
func (UnimplementedTabletManagerServer) ReloadSchema ¶
func (UnimplementedTabletManagerServer) ReloadSchema(context.Context, *v19.ReloadSchemaRequest) (*v19.ReloadSchemaResponse, error)
func (UnimplementedTabletManagerServer) ReplicaWasPromoted ¶
func (UnimplementedTabletManagerServer) ReplicaWasPromoted(context.Context, *v19.ReplicaWasPromotedRequest) (*v19.ReplicaWasPromotedResponse, error)
func (UnimplementedTabletManagerServer) ReplicaWasRestarted ¶
func (UnimplementedTabletManagerServer) ReplicaWasRestarted(context.Context, *v19.ReplicaWasRestartedRequest) (*v19.ReplicaWasRestartedResponse, error)
func (UnimplementedTabletManagerServer) ReplicationStatus ¶
func (UnimplementedTabletManagerServer) ReplicationStatus(context.Context, *v19.ReplicationStatusRequest) (*v19.ReplicationStatusResponse, error)
func (UnimplementedTabletManagerServer) ResetReplication ¶
func (UnimplementedTabletManagerServer) ResetReplication(context.Context, *v19.ResetReplicationRequest) (*v19.ResetReplicationResponse, error)
func (UnimplementedTabletManagerServer) ResetReplicationParameters ¶
func (UnimplementedTabletManagerServer) ResetReplicationParameters(context.Context, *v19.ResetReplicationParametersRequest) (*v19.ResetReplicationParametersResponse, error)
func (UnimplementedTabletManagerServer) ResetSequences ¶
func (UnimplementedTabletManagerServer) ResetSequences(context.Context, *v19.ResetSequencesRequest) (*v19.ResetSequencesResponse, error)
func (UnimplementedTabletManagerServer) RestoreFromBackup ¶
func (UnimplementedTabletManagerServer) RestoreFromBackup(*v19.RestoreFromBackupRequest, grpc.ServerStreamingServer[v19.RestoreFromBackupResponse]) error
func (UnimplementedTabletManagerServer) RunHealthCheck ¶
func (UnimplementedTabletManagerServer) RunHealthCheck(context.Context, *v19.RunHealthCheckRequest) (*v19.RunHealthCheckResponse, error)
func (UnimplementedTabletManagerServer) SetReadOnly ¶
func (UnimplementedTabletManagerServer) SetReadOnly(context.Context, *v19.SetReadOnlyRequest) (*v19.SetReadOnlyResponse, error)
func (UnimplementedTabletManagerServer) SetReadWrite ¶
func (UnimplementedTabletManagerServer) SetReadWrite(context.Context, *v19.SetReadWriteRequest) (*v19.SetReadWriteResponse, error)
func (UnimplementedTabletManagerServer) SetReplicationSource ¶
func (UnimplementedTabletManagerServer) SetReplicationSource(context.Context, *v19.SetReplicationSourceRequest) (*v19.SetReplicationSourceResponse, error)
func (UnimplementedTabletManagerServer) Sleep ¶
func (UnimplementedTabletManagerServer) Sleep(context.Context, *v19.SleepRequest) (*v19.SleepResponse, error)
func (UnimplementedTabletManagerServer) StartReplication ¶
func (UnimplementedTabletManagerServer) StartReplication(context.Context, *v19.StartReplicationRequest) (*v19.StartReplicationResponse, error)
func (UnimplementedTabletManagerServer) StartReplicationUntilAfter ¶
func (UnimplementedTabletManagerServer) StartReplicationUntilAfter(context.Context, *v19.StartReplicationUntilAfterRequest) (*v19.StartReplicationUntilAfterResponse, error)
func (UnimplementedTabletManagerServer) StopReplication ¶
func (UnimplementedTabletManagerServer) StopReplication(context.Context, *v19.StopReplicationRequest) (*v19.StopReplicationResponse, error)
func (UnimplementedTabletManagerServer) StopReplicationAndGetStatus ¶
func (UnimplementedTabletManagerServer) StopReplicationAndGetStatus(context.Context, *v19.StopReplicationAndGetStatusRequest) (*v19.StopReplicationAndGetStatusResponse, error)
func (UnimplementedTabletManagerServer) StopReplicationMinimum ¶
func (UnimplementedTabletManagerServer) StopReplicationMinimum(context.Context, *v19.StopReplicationMinimumRequest) (*v19.StopReplicationMinimumResponse, error)
func (UnimplementedTabletManagerServer) UndoDemotePrimary ¶
func (UnimplementedTabletManagerServer) UndoDemotePrimary(context.Context, *v19.UndoDemotePrimaryRequest) (*v19.UndoDemotePrimaryResponse, error)
func (UnimplementedTabletManagerServer) UnlockTables ¶
func (UnimplementedTabletManagerServer) UnlockTables(context.Context, *v19.UnlockTablesRequest) (*v19.UnlockTablesResponse, error)
func (UnimplementedTabletManagerServer) UpdateVReplicationWorkflow ¶
func (UnimplementedTabletManagerServer) UpdateVReplicationWorkflow(context.Context, *v19.UpdateVReplicationWorkflowRequest) (*v19.UpdateVReplicationWorkflowResponse, error)
func (UnimplementedTabletManagerServer) VDiff ¶
func (UnimplementedTabletManagerServer) VDiff(context.Context, *v19.VDiffRequest) (*v19.VDiffResponse, error)
func (UnimplementedTabletManagerServer) VReplicationExec ¶
func (UnimplementedTabletManagerServer) VReplicationExec(context.Context, *v19.VReplicationExecRequest) (*v19.VReplicationExecResponse, error)
func (UnimplementedTabletManagerServer) VReplicationWaitForPos ¶
func (UnimplementedTabletManagerServer) VReplicationWaitForPos(context.Context, *v19.VReplicationWaitForPosRequest) (*v19.VReplicationWaitForPosResponse, error)
func (UnimplementedTabletManagerServer) WaitForPosition ¶
func (UnimplementedTabletManagerServer) WaitForPosition(context.Context, *v19.WaitForPositionRequest) (*v19.WaitForPositionResponse, error)
type UnsafeTabletManagerServer ¶
type UnsafeTabletManagerServer interface {
// contains filtered or unexported methods
}
UnsafeTabletManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TabletManagerServer will result in compilation errors.
Source Files
¶
- tabletmanagerservice_grpc.pb.go