Documentation ¶
Index ¶
- Variables
- func RegisterVtctlServer(s grpc.ServiceRegistrar, srv VtctlServer)
- func RegisterVtctldServer(s grpc.ServiceRegistrar, srv VtctldServer)
- type UnimplementedVtctlServer
- type UnimplementedVtctldServer
- func (UnimplementedVtctldServer) AddCellInfo(context.Context, *vtctldata.AddCellInfoRequest) (*vtctldata.AddCellInfoResponse, error)
- func (UnimplementedVtctldServer) AddCellsAlias(context.Context, *vtctldata.AddCellsAliasRequest) (*vtctldata.AddCellsAliasResponse, error)
- func (UnimplementedVtctldServer) ApplyKeyspaceRoutingRules(context.Context, *vtctldata.ApplyKeyspaceRoutingRulesRequest) (*vtctldata.ApplyKeyspaceRoutingRulesResponse, error)
- func (UnimplementedVtctldServer) ApplyRoutingRules(context.Context, *vtctldata.ApplyRoutingRulesRequest) (*vtctldata.ApplyRoutingRulesResponse, error)
- func (UnimplementedVtctldServer) ApplySchema(context.Context, *vtctldata.ApplySchemaRequest) (*vtctldata.ApplySchemaResponse, error)
- func (UnimplementedVtctldServer) ApplyShardRoutingRules(context.Context, *vtctldata.ApplyShardRoutingRulesRequest) (*vtctldata.ApplyShardRoutingRulesResponse, error)
- func (UnimplementedVtctldServer) ApplyVSchema(context.Context, *vtctldata.ApplyVSchemaRequest) (*vtctldata.ApplyVSchemaResponse, error)
- func (UnimplementedVtctldServer) Backup(*vtctldata.BackupRequest, Vtctld_BackupServer) error
- func (UnimplementedVtctldServer) BackupShard(*vtctldata.BackupShardRequest, Vtctld_BackupShardServer) error
- func (UnimplementedVtctldServer) CancelSchemaMigration(context.Context, *vtctldata.CancelSchemaMigrationRequest) (*vtctldata.CancelSchemaMigrationResponse, error)
- func (UnimplementedVtctldServer) ChangeTabletTags(context.Context, *vtctldata.ChangeTabletTagsRequest) (*vtctldata.ChangeTabletTagsResponse, error)
- func (UnimplementedVtctldServer) ChangeTabletType(context.Context, *vtctldata.ChangeTabletTypeRequest) (*vtctldata.ChangeTabletTypeResponse, error)
- func (UnimplementedVtctldServer) CheckThrottler(context.Context, *vtctldata.CheckThrottlerRequest) (*vtctldata.CheckThrottlerResponse, error)
- func (UnimplementedVtctldServer) CleanupSchemaMigration(context.Context, *vtctldata.CleanupSchemaMigrationRequest) (*vtctldata.CleanupSchemaMigrationResponse, error)
- func (UnimplementedVtctldServer) CompleteSchemaMigration(context.Context, *vtctldata.CompleteSchemaMigrationRequest) (*vtctldata.CompleteSchemaMigrationResponse, error)
- func (UnimplementedVtctldServer) ConcludeTransaction(context.Context, *vtctldata.ConcludeTransactionRequest) (*vtctldata.ConcludeTransactionResponse, error)
- func (UnimplementedVtctldServer) CreateKeyspace(context.Context, *vtctldata.CreateKeyspaceRequest) (*vtctldata.CreateKeyspaceResponse, error)
- func (UnimplementedVtctldServer) CreateShard(context.Context, *vtctldata.CreateShardRequest) (*vtctldata.CreateShardResponse, error)
- func (UnimplementedVtctldServer) DeleteCellInfo(context.Context, *vtctldata.DeleteCellInfoRequest) (*vtctldata.DeleteCellInfoResponse, error)
- func (UnimplementedVtctldServer) DeleteCellsAlias(context.Context, *vtctldata.DeleteCellsAliasRequest) (*vtctldata.DeleteCellsAliasResponse, error)
- func (UnimplementedVtctldServer) DeleteKeyspace(context.Context, *vtctldata.DeleteKeyspaceRequest) (*vtctldata.DeleteKeyspaceResponse, error)
- func (UnimplementedVtctldServer) DeleteShards(context.Context, *vtctldata.DeleteShardsRequest) (*vtctldata.DeleteShardsResponse, error)
- func (UnimplementedVtctldServer) DeleteSrvVSchema(context.Context, *vtctldata.DeleteSrvVSchemaRequest) (*vtctldata.DeleteSrvVSchemaResponse, error)
- func (UnimplementedVtctldServer) DeleteTablets(context.Context, *vtctldata.DeleteTabletsRequest) (*vtctldata.DeleteTabletsResponse, error)
- func (UnimplementedVtctldServer) EmergencyReparentShard(context.Context, *vtctldata.EmergencyReparentShardRequest) (*vtctldata.EmergencyReparentShardResponse, error)
- func (UnimplementedVtctldServer) ExecuteFetchAsApp(context.Context, *vtctldata.ExecuteFetchAsAppRequest) (*vtctldata.ExecuteFetchAsAppResponse, error)
- func (UnimplementedVtctldServer) ExecuteFetchAsDBA(context.Context, *vtctldata.ExecuteFetchAsDBARequest) (*vtctldata.ExecuteFetchAsDBAResponse, error)
- func (UnimplementedVtctldServer) ExecuteHook(context.Context, *vtctldata.ExecuteHookRequest) (*vtctldata.ExecuteHookResponse, error)
- func (UnimplementedVtctldServer) ExecuteMultiFetchAsDBA(context.Context, *vtctldata.ExecuteMultiFetchAsDBARequest) (*vtctldata.ExecuteMultiFetchAsDBAResponse, error)
- func (UnimplementedVtctldServer) FindAllShardsInKeyspace(context.Context, *vtctldata.FindAllShardsInKeyspaceRequest) (*vtctldata.FindAllShardsInKeyspaceResponse, error)
- func (UnimplementedVtctldServer) ForceCutOverSchemaMigration(context.Context, *vtctldata.ForceCutOverSchemaMigrationRequest) (*vtctldata.ForceCutOverSchemaMigrationResponse, error)
- func (UnimplementedVtctldServer) GetBackups(context.Context, *vtctldata.GetBackupsRequest) (*vtctldata.GetBackupsResponse, error)
- func (UnimplementedVtctldServer) GetCellInfo(context.Context, *vtctldata.GetCellInfoRequest) (*vtctldata.GetCellInfoResponse, error)
- func (UnimplementedVtctldServer) GetCellInfoNames(context.Context, *vtctldata.GetCellInfoNamesRequest) (*vtctldata.GetCellInfoNamesResponse, error)
- func (UnimplementedVtctldServer) GetCellsAliases(context.Context, *vtctldata.GetCellsAliasesRequest) (*vtctldata.GetCellsAliasesResponse, error)
- func (UnimplementedVtctldServer) GetFullStatus(context.Context, *vtctldata.GetFullStatusRequest) (*vtctldata.GetFullStatusResponse, error)
- func (UnimplementedVtctldServer) GetKeyspace(context.Context, *vtctldata.GetKeyspaceRequest) (*vtctldata.GetKeyspaceResponse, error)
- func (UnimplementedVtctldServer) GetKeyspaceRoutingRules(context.Context, *vtctldata.GetKeyspaceRoutingRulesRequest) (*vtctldata.GetKeyspaceRoutingRulesResponse, error)
- func (UnimplementedVtctldServer) GetKeyspaces(context.Context, *vtctldata.GetKeyspacesRequest) (*vtctldata.GetKeyspacesResponse, error)
- func (UnimplementedVtctldServer) GetMirrorRules(context.Context, *vtctldata.GetMirrorRulesRequest) (*vtctldata.GetMirrorRulesResponse, error)
- func (UnimplementedVtctldServer) GetPermissions(context.Context, *vtctldata.GetPermissionsRequest) (*vtctldata.GetPermissionsResponse, error)
- func (UnimplementedVtctldServer) GetRoutingRules(context.Context, *vtctldata.GetRoutingRulesRequest) (*vtctldata.GetRoutingRulesResponse, error)
- func (UnimplementedVtctldServer) GetSchema(context.Context, *vtctldata.GetSchemaRequest) (*vtctldata.GetSchemaResponse, error)
- func (UnimplementedVtctldServer) GetSchemaMigrations(context.Context, *vtctldata.GetSchemaMigrationsRequest) (*vtctldata.GetSchemaMigrationsResponse, error)
- func (UnimplementedVtctldServer) GetShard(context.Context, *vtctldata.GetShardRequest) (*vtctldata.GetShardResponse, error)
- func (UnimplementedVtctldServer) GetShardReplication(context.Context, *vtctldata.GetShardReplicationRequest) (*vtctldata.GetShardReplicationResponse, error)
- func (UnimplementedVtctldServer) GetShardRoutingRules(context.Context, *vtctldata.GetShardRoutingRulesRequest) (*vtctldata.GetShardRoutingRulesResponse, error)
- func (UnimplementedVtctldServer) GetSrvKeyspaceNames(context.Context, *vtctldata.GetSrvKeyspaceNamesRequest) (*vtctldata.GetSrvKeyspaceNamesResponse, error)
- func (UnimplementedVtctldServer) GetSrvKeyspaces(context.Context, *vtctldata.GetSrvKeyspacesRequest) (*vtctldata.GetSrvKeyspacesResponse, error)
- func (UnimplementedVtctldServer) GetSrvVSchema(context.Context, *vtctldata.GetSrvVSchemaRequest) (*vtctldata.GetSrvVSchemaResponse, error)
- func (UnimplementedVtctldServer) GetSrvVSchemas(context.Context, *vtctldata.GetSrvVSchemasRequest) (*vtctldata.GetSrvVSchemasResponse, error)
- func (UnimplementedVtctldServer) GetTablet(context.Context, *vtctldata.GetTabletRequest) (*vtctldata.GetTabletResponse, error)
- func (UnimplementedVtctldServer) GetTablets(context.Context, *vtctldata.GetTabletsRequest) (*vtctldata.GetTabletsResponse, error)
- func (UnimplementedVtctldServer) GetThrottlerStatus(context.Context, *vtctldata.GetThrottlerStatusRequest) (*vtctldata.GetThrottlerStatusResponse, error)
- func (UnimplementedVtctldServer) GetTopologyPath(context.Context, *vtctldata.GetTopologyPathRequest) (*vtctldata.GetTopologyPathResponse, error)
- func (UnimplementedVtctldServer) GetUnresolvedTransactions(context.Context, *vtctldata.GetUnresolvedTransactionsRequest) (*vtctldata.GetUnresolvedTransactionsResponse, error)
- func (UnimplementedVtctldServer) GetVSchema(context.Context, *vtctldata.GetVSchemaRequest) (*vtctldata.GetVSchemaResponse, error)
- func (UnimplementedVtctldServer) GetVersion(context.Context, *vtctldata.GetVersionRequest) (*vtctldata.GetVersionResponse, error)
- func (UnimplementedVtctldServer) GetWorkflows(context.Context, *vtctldata.GetWorkflowsRequest) (*vtctldata.GetWorkflowsResponse, error)
- func (UnimplementedVtctldServer) InitShardPrimary(context.Context, *vtctldata.InitShardPrimaryRequest) (*vtctldata.InitShardPrimaryResponse, error)
- func (UnimplementedVtctldServer) LaunchSchemaMigration(context.Context, *vtctldata.LaunchSchemaMigrationRequest) (*vtctldata.LaunchSchemaMigrationResponse, error)
- func (UnimplementedVtctldServer) LookupVindexCreate(context.Context, *vtctldata.LookupVindexCreateRequest) (*vtctldata.LookupVindexCreateResponse, error)
- func (UnimplementedVtctldServer) LookupVindexExternalize(context.Context, *vtctldata.LookupVindexExternalizeRequest) (*vtctldata.LookupVindexExternalizeResponse, error)
- func (UnimplementedVtctldServer) MaterializeCreate(context.Context, *vtctldata.MaterializeCreateRequest) (*vtctldata.MaterializeCreateResponse, error)
- func (UnimplementedVtctldServer) MigrateCreate(context.Context, *vtctldata.MigrateCreateRequest) (*vtctldata.WorkflowStatusResponse, error)
- func (UnimplementedVtctldServer) MountList(context.Context, *vtctldata.MountListRequest) (*vtctldata.MountListResponse, error)
- func (UnimplementedVtctldServer) MountRegister(context.Context, *vtctldata.MountRegisterRequest) (*vtctldata.MountRegisterResponse, error)
- func (UnimplementedVtctldServer) MountShow(context.Context, *vtctldata.MountShowRequest) (*vtctldata.MountShowResponse, error)
- func (UnimplementedVtctldServer) MountUnregister(context.Context, *vtctldata.MountUnregisterRequest) (*vtctldata.MountUnregisterResponse, error)
- func (UnimplementedVtctldServer) MoveTablesComplete(context.Context, *vtctldata.MoveTablesCompleteRequest) (*vtctldata.MoveTablesCompleteResponse, error)
- func (UnimplementedVtctldServer) MoveTablesCreate(context.Context, *vtctldata.MoveTablesCreateRequest) (*vtctldata.WorkflowStatusResponse, error)
- func (UnimplementedVtctldServer) PingTablet(context.Context, *vtctldata.PingTabletRequest) (*vtctldata.PingTabletResponse, error)
- func (UnimplementedVtctldServer) PlannedReparentShard(context.Context, *vtctldata.PlannedReparentShardRequest) (*vtctldata.PlannedReparentShardResponse, error)
- func (UnimplementedVtctldServer) RebuildKeyspaceGraph(context.Context, *vtctldata.RebuildKeyspaceGraphRequest) (*vtctldata.RebuildKeyspaceGraphResponse, error)
- func (UnimplementedVtctldServer) RebuildVSchemaGraph(context.Context, *vtctldata.RebuildVSchemaGraphRequest) (*vtctldata.RebuildVSchemaGraphResponse, error)
- func (UnimplementedVtctldServer) RefreshState(context.Context, *vtctldata.RefreshStateRequest) (*vtctldata.RefreshStateResponse, error)
- func (UnimplementedVtctldServer) RefreshStateByShard(context.Context, *vtctldata.RefreshStateByShardRequest) (*vtctldata.RefreshStateByShardResponse, error)
- func (UnimplementedVtctldServer) ReloadSchema(context.Context, *vtctldata.ReloadSchemaRequest) (*vtctldata.ReloadSchemaResponse, error)
- func (UnimplementedVtctldServer) ReloadSchemaKeyspace(context.Context, *vtctldata.ReloadSchemaKeyspaceRequest) (*vtctldata.ReloadSchemaKeyspaceResponse, error)
- func (UnimplementedVtctldServer) ReloadSchemaShard(context.Context, *vtctldata.ReloadSchemaShardRequest) (*vtctldata.ReloadSchemaShardResponse, error)
- func (UnimplementedVtctldServer) RemoveBackup(context.Context, *vtctldata.RemoveBackupRequest) (*vtctldata.RemoveBackupResponse, error)
- func (UnimplementedVtctldServer) RemoveKeyspaceCell(context.Context, *vtctldata.RemoveKeyspaceCellRequest) (*vtctldata.RemoveKeyspaceCellResponse, error)
- func (UnimplementedVtctldServer) RemoveShardCell(context.Context, *vtctldata.RemoveShardCellRequest) (*vtctldata.RemoveShardCellResponse, error)
- func (UnimplementedVtctldServer) ReparentTablet(context.Context, *vtctldata.ReparentTabletRequest) (*vtctldata.ReparentTabletResponse, error)
- func (UnimplementedVtctldServer) ReshardCreate(context.Context, *vtctldata.ReshardCreateRequest) (*vtctldata.WorkflowStatusResponse, error)
- func (UnimplementedVtctldServer) RestoreFromBackup(*vtctldata.RestoreFromBackupRequest, Vtctld_RestoreFromBackupServer) error
- func (UnimplementedVtctldServer) RetrySchemaMigration(context.Context, *vtctldata.RetrySchemaMigrationRequest) (*vtctldata.RetrySchemaMigrationResponse, error)
- func (UnimplementedVtctldServer) RunHealthCheck(context.Context, *vtctldata.RunHealthCheckRequest) (*vtctldata.RunHealthCheckResponse, error)
- func (UnimplementedVtctldServer) SetKeyspaceDurabilityPolicy(context.Context, *vtctldata.SetKeyspaceDurabilityPolicyRequest) (*vtctldata.SetKeyspaceDurabilityPolicyResponse, error)
- func (UnimplementedVtctldServer) SetShardIsPrimaryServing(context.Context, *vtctldata.SetShardIsPrimaryServingRequest) (*vtctldata.SetShardIsPrimaryServingResponse, error)
- func (UnimplementedVtctldServer) SetShardTabletControl(context.Context, *vtctldata.SetShardTabletControlRequest) (*vtctldata.SetShardTabletControlResponse, error)
- func (UnimplementedVtctldServer) SetWritable(context.Context, *vtctldata.SetWritableRequest) (*vtctldata.SetWritableResponse, error)
- func (UnimplementedVtctldServer) ShardReplicationAdd(context.Context, *vtctldata.ShardReplicationAddRequest) (*vtctldata.ShardReplicationAddResponse, error)
- func (UnimplementedVtctldServer) ShardReplicationFix(context.Context, *vtctldata.ShardReplicationFixRequest) (*vtctldata.ShardReplicationFixResponse, error)
- func (UnimplementedVtctldServer) ShardReplicationPositions(context.Context, *vtctldata.ShardReplicationPositionsRequest) (*vtctldata.ShardReplicationPositionsResponse, error)
- func (UnimplementedVtctldServer) ShardReplicationRemove(context.Context, *vtctldata.ShardReplicationRemoveRequest) (*vtctldata.ShardReplicationRemoveResponse, error)
- func (UnimplementedVtctldServer) SleepTablet(context.Context, *vtctldata.SleepTabletRequest) (*vtctldata.SleepTabletResponse, error)
- func (UnimplementedVtctldServer) SourceShardAdd(context.Context, *vtctldata.SourceShardAddRequest) (*vtctldata.SourceShardAddResponse, error)
- func (UnimplementedVtctldServer) SourceShardDelete(context.Context, *vtctldata.SourceShardDeleteRequest) (*vtctldata.SourceShardDeleteResponse, error)
- func (UnimplementedVtctldServer) StartReplication(context.Context, *vtctldata.StartReplicationRequest) (*vtctldata.StartReplicationResponse, error)
- func (UnimplementedVtctldServer) StopReplication(context.Context, *vtctldata.StopReplicationRequest) (*vtctldata.StopReplicationResponse, error)
- func (UnimplementedVtctldServer) TabletExternallyReparented(context.Context, *vtctldata.TabletExternallyReparentedRequest) (*vtctldata.TabletExternallyReparentedResponse, error)
- func (UnimplementedVtctldServer) UpdateCellInfo(context.Context, *vtctldata.UpdateCellInfoRequest) (*vtctldata.UpdateCellInfoResponse, error)
- func (UnimplementedVtctldServer) UpdateCellsAlias(context.Context, *vtctldata.UpdateCellsAliasRequest) (*vtctldata.UpdateCellsAliasResponse, error)
- func (UnimplementedVtctldServer) UpdateThrottlerConfig(context.Context, *vtctldata.UpdateThrottlerConfigRequest) (*vtctldata.UpdateThrottlerConfigResponse, error)
- func (UnimplementedVtctldServer) VDiffCreate(context.Context, *vtctldata.VDiffCreateRequest) (*vtctldata.VDiffCreateResponse, error)
- func (UnimplementedVtctldServer) VDiffDelete(context.Context, *vtctldata.VDiffDeleteRequest) (*vtctldata.VDiffDeleteResponse, error)
- func (UnimplementedVtctldServer) VDiffResume(context.Context, *vtctldata.VDiffResumeRequest) (*vtctldata.VDiffResumeResponse, error)
- func (UnimplementedVtctldServer) VDiffShow(context.Context, *vtctldata.VDiffShowRequest) (*vtctldata.VDiffShowResponse, error)
- func (UnimplementedVtctldServer) VDiffStop(context.Context, *vtctldata.VDiffStopRequest) (*vtctldata.VDiffStopResponse, error)
- func (UnimplementedVtctldServer) Validate(context.Context, *vtctldata.ValidateRequest) (*vtctldata.ValidateResponse, error)
- func (UnimplementedVtctldServer) ValidateKeyspace(context.Context, *vtctldata.ValidateKeyspaceRequest) (*vtctldata.ValidateKeyspaceResponse, error)
- func (UnimplementedVtctldServer) ValidateSchemaKeyspace(context.Context, *vtctldata.ValidateSchemaKeyspaceRequest) (*vtctldata.ValidateSchemaKeyspaceResponse, error)
- func (UnimplementedVtctldServer) ValidateShard(context.Context, *vtctldata.ValidateShardRequest) (*vtctldata.ValidateShardResponse, error)
- func (UnimplementedVtctldServer) ValidateVSchema(context.Context, *vtctldata.ValidateVSchemaRequest) (*vtctldata.ValidateVSchemaResponse, error)
- func (UnimplementedVtctldServer) ValidateVersionKeyspace(context.Context, *vtctldata.ValidateVersionKeyspaceRequest) (*vtctldata.ValidateVersionKeyspaceResponse, error)
- func (UnimplementedVtctldServer) ValidateVersionShard(context.Context, *vtctldata.ValidateVersionShardRequest) (*vtctldata.ValidateVersionShardResponse, error)
- func (UnimplementedVtctldServer) WorkflowDelete(context.Context, *vtctldata.WorkflowDeleteRequest) (*vtctldata.WorkflowDeleteResponse, error)
- func (UnimplementedVtctldServer) WorkflowMirrorTraffic(context.Context, *vtctldata.WorkflowMirrorTrafficRequest) (*vtctldata.WorkflowMirrorTrafficResponse, error)
- func (UnimplementedVtctldServer) WorkflowStatus(context.Context, *vtctldata.WorkflowStatusRequest) (*vtctldata.WorkflowStatusResponse, error)
- func (UnimplementedVtctldServer) WorkflowSwitchTraffic(context.Context, *vtctldata.WorkflowSwitchTrafficRequest) (*vtctldata.WorkflowSwitchTrafficResponse, error)
- func (UnimplementedVtctldServer) WorkflowUpdate(context.Context, *vtctldata.WorkflowUpdateRequest) (*vtctldata.WorkflowUpdateResponse, error)
- type UnsafeVtctlServer
- type UnsafeVtctldServer
- type VtctlClient
- type VtctlServer
- type Vtctl_ExecuteVtctlCommandClient
- type Vtctl_ExecuteVtctlCommandServer
- type VtctldClient
- type VtctldServer
- type Vtctld_BackupClient
- type Vtctld_BackupServer
- type Vtctld_BackupShardClient
- type Vtctld_BackupShardServer
- type Vtctld_RestoreFromBackupClient
- type Vtctld_RestoreFromBackupServer
Constants ¶
This section is empty.
Variables ¶
var File_vtctlservice_proto protoreflect.FileDescriptor
var Vtctl_ServiceDesc = grpc.ServiceDesc{ ServiceName: "vtctlservice.Vtctl", HandlerType: (*VtctlServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "ExecuteVtctlCommand", Handler: _Vtctl_ExecuteVtctlCommand_Handler, ServerStreams: true, }, }, Metadata: "vtctlservice.proto", }
Vtctl_ServiceDesc is the grpc.ServiceDesc for Vtctl service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Vtctld_ServiceDesc = grpc.ServiceDesc{ ServiceName: "vtctlservice.Vtctld", HandlerType: (*VtctldServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddCellInfo", Handler: _Vtctld_AddCellInfo_Handler, }, { MethodName: "AddCellsAlias", Handler: _Vtctld_AddCellsAlias_Handler, }, { MethodName: "ApplyRoutingRules", Handler: _Vtctld_ApplyRoutingRules_Handler, }, { MethodName: "ApplySchema", Handler: _Vtctld_ApplySchema_Handler, }, { MethodName: "ApplyKeyspaceRoutingRules", Handler: _Vtctld_ApplyKeyspaceRoutingRules_Handler, }, { MethodName: "ApplyShardRoutingRules", Handler: _Vtctld_ApplyShardRoutingRules_Handler, }, { MethodName: "ApplyVSchema", Handler: _Vtctld_ApplyVSchema_Handler, }, { MethodName: "CancelSchemaMigration", Handler: _Vtctld_CancelSchemaMigration_Handler, }, { MethodName: "ChangeTabletTags", Handler: _Vtctld_ChangeTabletTags_Handler, }, { MethodName: "ChangeTabletType", Handler: _Vtctld_ChangeTabletType_Handler, }, { MethodName: "CheckThrottler", Handler: _Vtctld_CheckThrottler_Handler, }, { MethodName: "CleanupSchemaMigration", Handler: _Vtctld_CleanupSchemaMigration_Handler, }, { MethodName: "CompleteSchemaMigration", Handler: _Vtctld_CompleteSchemaMigration_Handler, }, { MethodName: "ConcludeTransaction", Handler: _Vtctld_ConcludeTransaction_Handler, }, { MethodName: "CreateKeyspace", Handler: _Vtctld_CreateKeyspace_Handler, }, { MethodName: "CreateShard", Handler: _Vtctld_CreateShard_Handler, }, { MethodName: "DeleteCellInfo", Handler: _Vtctld_DeleteCellInfo_Handler, }, { MethodName: "DeleteCellsAlias", Handler: _Vtctld_DeleteCellsAlias_Handler, }, { MethodName: "DeleteKeyspace", Handler: _Vtctld_DeleteKeyspace_Handler, }, { MethodName: "DeleteShards", Handler: _Vtctld_DeleteShards_Handler, }, { MethodName: "DeleteSrvVSchema", Handler: _Vtctld_DeleteSrvVSchema_Handler, }, { MethodName: "DeleteTablets", Handler: _Vtctld_DeleteTablets_Handler, }, { MethodName: "EmergencyReparentShard", Handler: _Vtctld_EmergencyReparentShard_Handler, }, { MethodName: "ExecuteFetchAsApp", Handler: _Vtctld_ExecuteFetchAsApp_Handler, }, { MethodName: "ExecuteFetchAsDBA", Handler: _Vtctld_ExecuteFetchAsDBA_Handler, }, { MethodName: "ExecuteHook", Handler: _Vtctld_ExecuteHook_Handler, }, { MethodName: "ExecuteMultiFetchAsDBA", Handler: _Vtctld_ExecuteMultiFetchAsDBA_Handler, }, { MethodName: "FindAllShardsInKeyspace", Handler: _Vtctld_FindAllShardsInKeyspace_Handler, }, { MethodName: "ForceCutOverSchemaMigration", Handler: _Vtctld_ForceCutOverSchemaMigration_Handler, }, { MethodName: "GetBackups", Handler: _Vtctld_GetBackups_Handler, }, { MethodName: "GetCellInfo", Handler: _Vtctld_GetCellInfo_Handler, }, { MethodName: "GetCellInfoNames", Handler: _Vtctld_GetCellInfoNames_Handler, }, { MethodName: "GetCellsAliases", Handler: _Vtctld_GetCellsAliases_Handler, }, { MethodName: "GetFullStatus", Handler: _Vtctld_GetFullStatus_Handler, }, { MethodName: "GetKeyspace", Handler: _Vtctld_GetKeyspace_Handler, }, { MethodName: "GetKeyspaces", Handler: _Vtctld_GetKeyspaces_Handler, }, { MethodName: "GetKeyspaceRoutingRules", Handler: _Vtctld_GetKeyspaceRoutingRules_Handler, }, { MethodName: "GetPermissions", Handler: _Vtctld_GetPermissions_Handler, }, { MethodName: "GetRoutingRules", Handler: _Vtctld_GetRoutingRules_Handler, }, { MethodName: "GetSchema", Handler: _Vtctld_GetSchema_Handler, }, { MethodName: "GetSchemaMigrations", Handler: _Vtctld_GetSchemaMigrations_Handler, }, { MethodName: "GetShardReplication", Handler: _Vtctld_GetShardReplication_Handler, }, { MethodName: "GetShard", Handler: _Vtctld_GetShard_Handler, }, { MethodName: "GetShardRoutingRules", Handler: _Vtctld_GetShardRoutingRules_Handler, }, { MethodName: "GetSrvKeyspaceNames", Handler: _Vtctld_GetSrvKeyspaceNames_Handler, }, { MethodName: "GetSrvKeyspaces", Handler: _Vtctld_GetSrvKeyspaces_Handler, }, { MethodName: "UpdateThrottlerConfig", Handler: _Vtctld_UpdateThrottlerConfig_Handler, }, { MethodName: "GetSrvVSchema", Handler: _Vtctld_GetSrvVSchema_Handler, }, { MethodName: "GetSrvVSchemas", Handler: _Vtctld_GetSrvVSchemas_Handler, }, { MethodName: "GetTablet", Handler: _Vtctld_GetTablet_Handler, }, { MethodName: "GetTablets", Handler: _Vtctld_GetTablets_Handler, }, { MethodName: "GetThrottlerStatus", Handler: _Vtctld_GetThrottlerStatus_Handler, }, { MethodName: "GetTopologyPath", Handler: _Vtctld_GetTopologyPath_Handler, }, { MethodName: "GetUnresolvedTransactions", Handler: _Vtctld_GetUnresolvedTransactions_Handler, }, { MethodName: "GetVersion", Handler: _Vtctld_GetVersion_Handler, }, { MethodName: "GetVSchema", Handler: _Vtctld_GetVSchema_Handler, }, { MethodName: "GetWorkflows", Handler: _Vtctld_GetWorkflows_Handler, }, { MethodName: "InitShardPrimary", Handler: _Vtctld_InitShardPrimary_Handler, }, { MethodName: "LaunchSchemaMigration", Handler: _Vtctld_LaunchSchemaMigration_Handler, }, { MethodName: "LookupVindexCreate", Handler: _Vtctld_LookupVindexCreate_Handler, }, { MethodName: "LookupVindexExternalize", Handler: _Vtctld_LookupVindexExternalize_Handler, }, { MethodName: "MaterializeCreate", Handler: _Vtctld_MaterializeCreate_Handler, }, { MethodName: "MigrateCreate", Handler: _Vtctld_MigrateCreate_Handler, }, { MethodName: "MountRegister", Handler: _Vtctld_MountRegister_Handler, }, { MethodName: "MountUnregister", Handler: _Vtctld_MountUnregister_Handler, }, { MethodName: "MountShow", Handler: _Vtctld_MountShow_Handler, }, { MethodName: "MountList", Handler: _Vtctld_MountList_Handler, }, { MethodName: "MoveTablesCreate", Handler: _Vtctld_MoveTablesCreate_Handler, }, { MethodName: "MoveTablesComplete", Handler: _Vtctld_MoveTablesComplete_Handler, }, { MethodName: "PingTablet", Handler: _Vtctld_PingTablet_Handler, }, { MethodName: "PlannedReparentShard", Handler: _Vtctld_PlannedReparentShard_Handler, }, { MethodName: "RebuildKeyspaceGraph", Handler: _Vtctld_RebuildKeyspaceGraph_Handler, }, { MethodName: "RebuildVSchemaGraph", Handler: _Vtctld_RebuildVSchemaGraph_Handler, }, { MethodName: "RefreshState", Handler: _Vtctld_RefreshState_Handler, }, { MethodName: "RefreshStateByShard", Handler: _Vtctld_RefreshStateByShard_Handler, }, { MethodName: "ReloadSchema", Handler: _Vtctld_ReloadSchema_Handler, }, { MethodName: "ReloadSchemaKeyspace", Handler: _Vtctld_ReloadSchemaKeyspace_Handler, }, { MethodName: "ReloadSchemaShard", Handler: _Vtctld_ReloadSchemaShard_Handler, }, { MethodName: "RemoveBackup", Handler: _Vtctld_RemoveBackup_Handler, }, { MethodName: "RemoveKeyspaceCell", Handler: _Vtctld_RemoveKeyspaceCell_Handler, }, { MethodName: "RemoveShardCell", Handler: _Vtctld_RemoveShardCell_Handler, }, { MethodName: "ReparentTablet", Handler: _Vtctld_ReparentTablet_Handler, }, { MethodName: "ReshardCreate", Handler: _Vtctld_ReshardCreate_Handler, }, { MethodName: "RetrySchemaMigration", Handler: _Vtctld_RetrySchemaMigration_Handler, }, { MethodName: "RunHealthCheck", Handler: _Vtctld_RunHealthCheck_Handler, }, { MethodName: "SetKeyspaceDurabilityPolicy", Handler: _Vtctld_SetKeyspaceDurabilityPolicy_Handler, }, { MethodName: "SetShardIsPrimaryServing", Handler: _Vtctld_SetShardIsPrimaryServing_Handler, }, { MethodName: "SetShardTabletControl", Handler: _Vtctld_SetShardTabletControl_Handler, }, { MethodName: "SetWritable", Handler: _Vtctld_SetWritable_Handler, }, { MethodName: "ShardReplicationAdd", Handler: _Vtctld_ShardReplicationAdd_Handler, }, { MethodName: "ShardReplicationFix", Handler: _Vtctld_ShardReplicationFix_Handler, }, { MethodName: "ShardReplicationPositions", Handler: _Vtctld_ShardReplicationPositions_Handler, }, { MethodName: "ShardReplicationRemove", Handler: _Vtctld_ShardReplicationRemove_Handler, }, { MethodName: "SleepTablet", Handler: _Vtctld_SleepTablet_Handler, }, { MethodName: "SourceShardAdd", Handler: _Vtctld_SourceShardAdd_Handler, }, { MethodName: "SourceShardDelete", Handler: _Vtctld_SourceShardDelete_Handler, }, { MethodName: "StartReplication", Handler: _Vtctld_StartReplication_Handler, }, { MethodName: "StopReplication", Handler: _Vtctld_StopReplication_Handler, }, { MethodName: "TabletExternallyReparented", Handler: _Vtctld_TabletExternallyReparented_Handler, }, { MethodName: "UpdateCellInfo", Handler: _Vtctld_UpdateCellInfo_Handler, }, { MethodName: "UpdateCellsAlias", Handler: _Vtctld_UpdateCellsAlias_Handler, }, { MethodName: "Validate", Handler: _Vtctld_Validate_Handler, }, { MethodName: "ValidateKeyspace", Handler: _Vtctld_ValidateKeyspace_Handler, }, { MethodName: "ValidateSchemaKeyspace", Handler: _Vtctld_ValidateSchemaKeyspace_Handler, }, { MethodName: "ValidateShard", Handler: _Vtctld_ValidateShard_Handler, }, { MethodName: "ValidateVersionKeyspace", Handler: _Vtctld_ValidateVersionKeyspace_Handler, }, { MethodName: "ValidateVersionShard", Handler: _Vtctld_ValidateVersionShard_Handler, }, { MethodName: "ValidateVSchema", Handler: _Vtctld_ValidateVSchema_Handler, }, { MethodName: "VDiffCreate", Handler: _Vtctld_VDiffCreate_Handler, }, { MethodName: "VDiffDelete", Handler: _Vtctld_VDiffDelete_Handler, }, { MethodName: "VDiffResume", Handler: _Vtctld_VDiffResume_Handler, }, { MethodName: "VDiffShow", Handler: _Vtctld_VDiffShow_Handler, }, { MethodName: "VDiffStop", Handler: _Vtctld_VDiffStop_Handler, }, { MethodName: "WorkflowDelete", Handler: _Vtctld_WorkflowDelete_Handler, }, { MethodName: "WorkflowStatus", Handler: _Vtctld_WorkflowStatus_Handler, }, { MethodName: "WorkflowSwitchTraffic", Handler: _Vtctld_WorkflowSwitchTraffic_Handler, }, { MethodName: "WorkflowUpdate", Handler: _Vtctld_WorkflowUpdate_Handler, }, { MethodName: "GetMirrorRules", Handler: _Vtctld_GetMirrorRules_Handler, }, { MethodName: "WorkflowMirrorTraffic", Handler: _Vtctld_WorkflowMirrorTraffic_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Backup", Handler: _Vtctld_Backup_Handler, ServerStreams: true, }, { StreamName: "BackupShard", Handler: _Vtctld_BackupShard_Handler, ServerStreams: true, }, { StreamName: "RestoreFromBackup", Handler: _Vtctld_RestoreFromBackup_Handler, ServerStreams: true, }, }, Metadata: "vtctlservice.proto", }
Vtctld_ServiceDesc is the grpc.ServiceDesc for Vtctld service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterVtctlServer ¶
func RegisterVtctlServer(s grpc.ServiceRegistrar, srv VtctlServer)
func RegisterVtctldServer ¶ added in v0.9.0
func RegisterVtctldServer(s grpc.ServiceRegistrar, srv VtctldServer)
Types ¶
type UnimplementedVtctlServer ¶
type UnimplementedVtctlServer struct { }
UnimplementedVtctlServer must be embedded to have forward compatible implementations.
func (UnimplementedVtctlServer) ExecuteVtctlCommand ¶
func (UnimplementedVtctlServer) ExecuteVtctlCommand(*vtctldata.ExecuteVtctlCommandRequest, Vtctl_ExecuteVtctlCommandServer) error
type UnimplementedVtctldServer ¶ added in v0.9.0
type UnimplementedVtctldServer struct { }
UnimplementedVtctldServer must be embedded to have forward compatible implementations.
func (UnimplementedVtctldServer) AddCellInfo ¶ added in v0.11.0
func (UnimplementedVtctldServer) AddCellInfo(context.Context, *vtctldata.AddCellInfoRequest) (*vtctldata.AddCellInfoResponse, error)
func (UnimplementedVtctldServer) AddCellsAlias ¶ added in v0.11.0
func (UnimplementedVtctldServer) AddCellsAlias(context.Context, *vtctldata.AddCellsAliasRequest) (*vtctldata.AddCellsAliasResponse, error)
func (UnimplementedVtctldServer) ApplyKeyspaceRoutingRules ¶ added in v0.20.0
func (UnimplementedVtctldServer) ApplyKeyspaceRoutingRules(context.Context, *vtctldata.ApplyKeyspaceRoutingRulesRequest) (*vtctldata.ApplyKeyspaceRoutingRulesResponse, error)
func (UnimplementedVtctldServer) ApplyRoutingRules ¶ added in v0.11.0
func (UnimplementedVtctldServer) ApplyRoutingRules(context.Context, *vtctldata.ApplyRoutingRulesRequest) (*vtctldata.ApplyRoutingRulesResponse, error)
func (UnimplementedVtctldServer) ApplySchema ¶ added in v0.13.0
func (UnimplementedVtctldServer) ApplySchema(context.Context, *vtctldata.ApplySchemaRequest) (*vtctldata.ApplySchemaResponse, error)
func (UnimplementedVtctldServer) ApplyShardRoutingRules ¶ added in v0.15.0
func (UnimplementedVtctldServer) ApplyShardRoutingRules(context.Context, *vtctldata.ApplyShardRoutingRulesRequest) (*vtctldata.ApplyShardRoutingRulesResponse, error)
func (UnimplementedVtctldServer) ApplyVSchema ¶ added in v0.11.0
func (UnimplementedVtctldServer) ApplyVSchema(context.Context, *vtctldata.ApplyVSchemaRequest) (*vtctldata.ApplyVSchemaResponse, error)
func (UnimplementedVtctldServer) Backup ¶ added in v0.14.0
func (UnimplementedVtctldServer) Backup(*vtctldata.BackupRequest, Vtctld_BackupServer) error
func (UnimplementedVtctldServer) BackupShard ¶ added in v0.14.0
func (UnimplementedVtctldServer) BackupShard(*vtctldata.BackupShardRequest, Vtctld_BackupShardServer) error
func (UnimplementedVtctldServer) CancelSchemaMigration ¶ added in v0.18.0
func (UnimplementedVtctldServer) CancelSchemaMigration(context.Context, *vtctldata.CancelSchemaMigrationRequest) (*vtctldata.CancelSchemaMigrationResponse, error)
func (UnimplementedVtctldServer) ChangeTabletTags ¶ added in v0.21.0
func (UnimplementedVtctldServer) ChangeTabletTags(context.Context, *vtctldata.ChangeTabletTagsRequest) (*vtctldata.ChangeTabletTagsResponse, error)
func (UnimplementedVtctldServer) ChangeTabletType ¶ added in v0.10.0
func (UnimplementedVtctldServer) ChangeTabletType(context.Context, *vtctldata.ChangeTabletTypeRequest) (*vtctldata.ChangeTabletTypeResponse, error)
func (UnimplementedVtctldServer) CheckThrottler ¶ added in v0.21.0
func (UnimplementedVtctldServer) CheckThrottler(context.Context, *vtctldata.CheckThrottlerRequest) (*vtctldata.CheckThrottlerResponse, error)
func (UnimplementedVtctldServer) CleanupSchemaMigration ¶ added in v0.18.0
func (UnimplementedVtctldServer) CleanupSchemaMigration(context.Context, *vtctldata.CleanupSchemaMigrationRequest) (*vtctldata.CleanupSchemaMigrationResponse, error)
func (UnimplementedVtctldServer) CompleteSchemaMigration ¶ added in v0.18.0
func (UnimplementedVtctldServer) CompleteSchemaMigration(context.Context, *vtctldata.CompleteSchemaMigrationRequest) (*vtctldata.CompleteSchemaMigrationResponse, error)
func (UnimplementedVtctldServer) ConcludeTransaction ¶ added in v0.21.0
func (UnimplementedVtctldServer) ConcludeTransaction(context.Context, *vtctldata.ConcludeTransactionRequest) (*vtctldata.ConcludeTransactionResponse, error)
func (UnimplementedVtctldServer) CreateKeyspace ¶ added in v0.10.0
func (UnimplementedVtctldServer) CreateKeyspace(context.Context, *vtctldata.CreateKeyspaceRequest) (*vtctldata.CreateKeyspaceResponse, error)
func (UnimplementedVtctldServer) CreateShard ¶ added in v0.10.0
func (UnimplementedVtctldServer) CreateShard(context.Context, *vtctldata.CreateShardRequest) (*vtctldata.CreateShardResponse, error)
func (UnimplementedVtctldServer) DeleteCellInfo ¶ added in v0.11.0
func (UnimplementedVtctldServer) DeleteCellInfo(context.Context, *vtctldata.DeleteCellInfoRequest) (*vtctldata.DeleteCellInfoResponse, error)
func (UnimplementedVtctldServer) DeleteCellsAlias ¶ added in v0.11.0
func (UnimplementedVtctldServer) DeleteCellsAlias(context.Context, *vtctldata.DeleteCellsAliasRequest) (*vtctldata.DeleteCellsAliasResponse, error)
func (UnimplementedVtctldServer) DeleteKeyspace ¶ added in v0.10.0
func (UnimplementedVtctldServer) DeleteKeyspace(context.Context, *vtctldata.DeleteKeyspaceRequest) (*vtctldata.DeleteKeyspaceResponse, error)
func (UnimplementedVtctldServer) DeleteShards ¶ added in v0.10.0
func (UnimplementedVtctldServer) DeleteShards(context.Context, *vtctldata.DeleteShardsRequest) (*vtctldata.DeleteShardsResponse, error)
func (UnimplementedVtctldServer) DeleteSrvVSchema ¶ added in v0.12.0
func (UnimplementedVtctldServer) DeleteSrvVSchema(context.Context, *vtctldata.DeleteSrvVSchemaRequest) (*vtctldata.DeleteSrvVSchemaResponse, error)
func (UnimplementedVtctldServer) DeleteTablets ¶ added in v0.10.0
func (UnimplementedVtctldServer) DeleteTablets(context.Context, *vtctldata.DeleteTabletsRequest) (*vtctldata.DeleteTabletsResponse, error)
func (UnimplementedVtctldServer) EmergencyReparentShard ¶ added in v0.10.0
func (UnimplementedVtctldServer) EmergencyReparentShard(context.Context, *vtctldata.EmergencyReparentShardRequest) (*vtctldata.EmergencyReparentShardResponse, error)
func (UnimplementedVtctldServer) ExecuteFetchAsApp ¶ added in v0.14.0
func (UnimplementedVtctldServer) ExecuteFetchAsApp(context.Context, *vtctldata.ExecuteFetchAsAppRequest) (*vtctldata.ExecuteFetchAsAppResponse, error)
func (UnimplementedVtctldServer) ExecuteFetchAsDBA ¶ added in v0.14.0
func (UnimplementedVtctldServer) ExecuteFetchAsDBA(context.Context, *vtctldata.ExecuteFetchAsDBARequest) (*vtctldata.ExecuteFetchAsDBAResponse, error)
func (UnimplementedVtctldServer) ExecuteHook ¶ added in v0.13.0
func (UnimplementedVtctldServer) ExecuteHook(context.Context, *vtctldata.ExecuteHookRequest) (*vtctldata.ExecuteHookResponse, error)
func (UnimplementedVtctldServer) ExecuteMultiFetchAsDBA ¶ added in v0.20.0
func (UnimplementedVtctldServer) ExecuteMultiFetchAsDBA(context.Context, *vtctldata.ExecuteMultiFetchAsDBARequest) (*vtctldata.ExecuteMultiFetchAsDBAResponse, error)
func (UnimplementedVtctldServer) FindAllShardsInKeyspace ¶ added in v0.9.0
func (UnimplementedVtctldServer) FindAllShardsInKeyspace(context.Context, *vtctldata.FindAllShardsInKeyspaceRequest) (*vtctldata.FindAllShardsInKeyspaceResponse, error)
func (UnimplementedVtctldServer) ForceCutOverSchemaMigration ¶ added in v0.19.0
func (UnimplementedVtctldServer) ForceCutOverSchemaMigration(context.Context, *vtctldata.ForceCutOverSchemaMigrationRequest) (*vtctldata.ForceCutOverSchemaMigrationResponse, error)
func (UnimplementedVtctldServer) GetBackups ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetBackups(context.Context, *vtctldata.GetBackupsRequest) (*vtctldata.GetBackupsResponse, error)
func (UnimplementedVtctldServer) GetCellInfo ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetCellInfo(context.Context, *vtctldata.GetCellInfoRequest) (*vtctldata.GetCellInfoResponse, error)
func (UnimplementedVtctldServer) GetCellInfoNames ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetCellInfoNames(context.Context, *vtctldata.GetCellInfoNamesRequest) (*vtctldata.GetCellInfoNamesResponse, error)
func (UnimplementedVtctldServer) GetCellsAliases ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetCellsAliases(context.Context, *vtctldata.GetCellsAliasesRequest) (*vtctldata.GetCellsAliasesResponse, error)
func (UnimplementedVtctldServer) GetFullStatus ¶ added in v0.15.0
func (UnimplementedVtctldServer) GetFullStatus(context.Context, *vtctldata.GetFullStatusRequest) (*vtctldata.GetFullStatusResponse, error)
func (UnimplementedVtctldServer) GetKeyspace ¶ added in v0.9.0
func (UnimplementedVtctldServer) GetKeyspace(context.Context, *vtctldata.GetKeyspaceRequest) (*vtctldata.GetKeyspaceResponse, error)
func (UnimplementedVtctldServer) GetKeyspaceRoutingRules ¶ added in v0.20.0
func (UnimplementedVtctldServer) GetKeyspaceRoutingRules(context.Context, *vtctldata.GetKeyspaceRoutingRulesRequest) (*vtctldata.GetKeyspaceRoutingRulesResponse, error)
func (UnimplementedVtctldServer) GetKeyspaces ¶ added in v0.9.0
func (UnimplementedVtctldServer) GetKeyspaces(context.Context, *vtctldata.GetKeyspacesRequest) (*vtctldata.GetKeyspacesResponse, error)
func (UnimplementedVtctldServer) GetMirrorRules ¶ added in v0.21.0
func (UnimplementedVtctldServer) GetMirrorRules(context.Context, *vtctldata.GetMirrorRulesRequest) (*vtctldata.GetMirrorRulesResponse, error)
func (UnimplementedVtctldServer) GetPermissions ¶ added in v0.14.0
func (UnimplementedVtctldServer) GetPermissions(context.Context, *vtctldata.GetPermissionsRequest) (*vtctldata.GetPermissionsResponse, error)
func (UnimplementedVtctldServer) GetRoutingRules ¶ added in v0.11.0
func (UnimplementedVtctldServer) GetRoutingRules(context.Context, *vtctldata.GetRoutingRulesRequest) (*vtctldata.GetRoutingRulesResponse, error)
func (UnimplementedVtctldServer) GetSchema ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetSchema(context.Context, *vtctldata.GetSchemaRequest) (*vtctldata.GetSchemaResponse, error)
func (UnimplementedVtctldServer) GetSchemaMigrations ¶ added in v0.18.0
func (UnimplementedVtctldServer) GetSchemaMigrations(context.Context, *vtctldata.GetSchemaMigrationsRequest) (*vtctldata.GetSchemaMigrationsResponse, error)
func (UnimplementedVtctldServer) GetShard ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetShard(context.Context, *vtctldata.GetShardRequest) (*vtctldata.GetShardResponse, error)
func (UnimplementedVtctldServer) GetShardReplication ¶ added in v0.19.0
func (UnimplementedVtctldServer) GetShardReplication(context.Context, *vtctldata.GetShardReplicationRequest) (*vtctldata.GetShardReplicationResponse, error)
func (UnimplementedVtctldServer) GetShardRoutingRules ¶ added in v0.15.0
func (UnimplementedVtctldServer) GetShardRoutingRules(context.Context, *vtctldata.GetShardRoutingRulesRequest) (*vtctldata.GetShardRoutingRulesResponse, error)
func (UnimplementedVtctldServer) GetSrvKeyspaceNames ¶ added in v0.12.0
func (UnimplementedVtctldServer) GetSrvKeyspaceNames(context.Context, *vtctldata.GetSrvKeyspaceNamesRequest) (*vtctldata.GetSrvKeyspaceNamesResponse, error)
func (UnimplementedVtctldServer) GetSrvKeyspaces ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetSrvKeyspaces(context.Context, *vtctldata.GetSrvKeyspacesRequest) (*vtctldata.GetSrvKeyspacesResponse, error)
func (UnimplementedVtctldServer) GetSrvVSchema ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetSrvVSchema(context.Context, *vtctldata.GetSrvVSchemaRequest) (*vtctldata.GetSrvVSchemaResponse, error)
func (UnimplementedVtctldServer) GetSrvVSchemas ¶ added in v0.11.0
func (UnimplementedVtctldServer) GetSrvVSchemas(context.Context, *vtctldata.GetSrvVSchemasRequest) (*vtctldata.GetSrvVSchemasResponse, error)
func (UnimplementedVtctldServer) GetTablet ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetTablet(context.Context, *vtctldata.GetTabletRequest) (*vtctldata.GetTabletResponse, error)
func (UnimplementedVtctldServer) GetTablets ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetTablets(context.Context, *vtctldata.GetTabletsRequest) (*vtctldata.GetTabletsResponse, error)
func (UnimplementedVtctldServer) GetThrottlerStatus ¶ added in v0.21.0
func (UnimplementedVtctldServer) GetThrottlerStatus(context.Context, *vtctldata.GetThrottlerStatusRequest) (*vtctldata.GetThrottlerStatusResponse, error)
func (UnimplementedVtctldServer) GetTopologyPath ¶ added in v0.15.0
func (UnimplementedVtctldServer) GetTopologyPath(context.Context, *vtctldata.GetTopologyPathRequest) (*vtctldata.GetTopologyPathResponse, error)
func (UnimplementedVtctldServer) GetUnresolvedTransactions ¶ added in v0.21.0
func (UnimplementedVtctldServer) GetUnresolvedTransactions(context.Context, *vtctldata.GetUnresolvedTransactionsRequest) (*vtctldata.GetUnresolvedTransactionsResponse, error)
func (UnimplementedVtctldServer) GetVSchema ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetVSchema(context.Context, *vtctldata.GetVSchemaRequest) (*vtctldata.GetVSchemaResponse, error)
func (UnimplementedVtctldServer) GetVersion ¶ added in v0.14.0
func (UnimplementedVtctldServer) GetVersion(context.Context, *vtctldata.GetVersionRequest) (*vtctldata.GetVersionResponse, error)
func (UnimplementedVtctldServer) GetWorkflows ¶ added in v0.10.0
func (UnimplementedVtctldServer) GetWorkflows(context.Context, *vtctldata.GetWorkflowsRequest) (*vtctldata.GetWorkflowsResponse, error)
func (UnimplementedVtctldServer) InitShardPrimary ¶ added in v0.10.0
func (UnimplementedVtctldServer) InitShardPrimary(context.Context, *vtctldata.InitShardPrimaryRequest) (*vtctldata.InitShardPrimaryResponse, error)
func (UnimplementedVtctldServer) LaunchSchemaMigration ¶ added in v0.18.0
func (UnimplementedVtctldServer) LaunchSchemaMigration(context.Context, *vtctldata.LaunchSchemaMigrationRequest) (*vtctldata.LaunchSchemaMigrationResponse, error)
func (UnimplementedVtctldServer) LookupVindexCreate ¶ added in v0.18.0
func (UnimplementedVtctldServer) LookupVindexCreate(context.Context, *vtctldata.LookupVindexCreateRequest) (*vtctldata.LookupVindexCreateResponse, error)
func (UnimplementedVtctldServer) LookupVindexExternalize ¶ added in v0.18.0
func (UnimplementedVtctldServer) LookupVindexExternalize(context.Context, *vtctldata.LookupVindexExternalizeRequest) (*vtctldata.LookupVindexExternalizeResponse, error)
func (UnimplementedVtctldServer) MaterializeCreate ¶ added in v0.18.0
func (UnimplementedVtctldServer) MaterializeCreate(context.Context, *vtctldata.MaterializeCreateRequest) (*vtctldata.MaterializeCreateResponse, error)
func (UnimplementedVtctldServer) MigrateCreate ¶ added in v0.18.0
func (UnimplementedVtctldServer) MigrateCreate(context.Context, *vtctldata.MigrateCreateRequest) (*vtctldata.WorkflowStatusResponse, error)
func (UnimplementedVtctldServer) MountList ¶ added in v0.18.0
func (UnimplementedVtctldServer) MountList(context.Context, *vtctldata.MountListRequest) (*vtctldata.MountListResponse, error)
func (UnimplementedVtctldServer) MountRegister ¶ added in v0.18.0
func (UnimplementedVtctldServer) MountRegister(context.Context, *vtctldata.MountRegisterRequest) (*vtctldata.MountRegisterResponse, error)
func (UnimplementedVtctldServer) MountShow ¶ added in v0.18.0
func (UnimplementedVtctldServer) MountShow(context.Context, *vtctldata.MountShowRequest) (*vtctldata.MountShowResponse, error)
func (UnimplementedVtctldServer) MountUnregister ¶ added in v0.18.0
func (UnimplementedVtctldServer) MountUnregister(context.Context, *vtctldata.MountUnregisterRequest) (*vtctldata.MountUnregisterResponse, error)
func (UnimplementedVtctldServer) MoveTablesComplete ¶ added in v0.18.0
func (UnimplementedVtctldServer) MoveTablesComplete(context.Context, *vtctldata.MoveTablesCompleteRequest) (*vtctldata.MoveTablesCompleteResponse, error)
func (UnimplementedVtctldServer) MoveTablesCreate ¶ added in v0.18.0
func (UnimplementedVtctldServer) MoveTablesCreate(context.Context, *vtctldata.MoveTablesCreateRequest) (*vtctldata.WorkflowStatusResponse, error)
func (UnimplementedVtctldServer) PingTablet ¶ added in v0.12.0
func (UnimplementedVtctldServer) PingTablet(context.Context, *vtctldata.PingTabletRequest) (*vtctldata.PingTabletResponse, error)
func (UnimplementedVtctldServer) PlannedReparentShard ¶ added in v0.10.0
func (UnimplementedVtctldServer) PlannedReparentShard(context.Context, *vtctldata.PlannedReparentShardRequest) (*vtctldata.PlannedReparentShardResponse, error)
func (UnimplementedVtctldServer) RebuildKeyspaceGraph ¶ added in v0.12.0
func (UnimplementedVtctldServer) RebuildKeyspaceGraph(context.Context, *vtctldata.RebuildKeyspaceGraphRequest) (*vtctldata.RebuildKeyspaceGraphResponse, error)
func (UnimplementedVtctldServer) RebuildVSchemaGraph ¶ added in v0.11.0
func (UnimplementedVtctldServer) RebuildVSchemaGraph(context.Context, *vtctldata.RebuildVSchemaGraphRequest) (*vtctldata.RebuildVSchemaGraphResponse, error)
func (UnimplementedVtctldServer) RefreshState ¶ added in v0.11.0
func (UnimplementedVtctldServer) RefreshState(context.Context, *vtctldata.RefreshStateRequest) (*vtctldata.RefreshStateResponse, error)
func (UnimplementedVtctldServer) RefreshStateByShard ¶ added in v0.11.0
func (UnimplementedVtctldServer) RefreshStateByShard(context.Context, *vtctldata.RefreshStateByShardRequest) (*vtctldata.RefreshStateByShardResponse, error)
func (UnimplementedVtctldServer) ReloadSchema ¶ added in v0.13.0
func (UnimplementedVtctldServer) ReloadSchema(context.Context, *vtctldata.ReloadSchemaRequest) (*vtctldata.ReloadSchemaResponse, error)
func (UnimplementedVtctldServer) ReloadSchemaKeyspace ¶ added in v0.13.0
func (UnimplementedVtctldServer) ReloadSchemaKeyspace(context.Context, *vtctldata.ReloadSchemaKeyspaceRequest) (*vtctldata.ReloadSchemaKeyspaceResponse, error)
func (UnimplementedVtctldServer) ReloadSchemaShard ¶ added in v0.13.0
func (UnimplementedVtctldServer) ReloadSchemaShard(context.Context, *vtctldata.ReloadSchemaShardRequest) (*vtctldata.ReloadSchemaShardResponse, error)
func (UnimplementedVtctldServer) RemoveBackup ¶ added in v0.14.0
func (UnimplementedVtctldServer) RemoveBackup(context.Context, *vtctldata.RemoveBackupRequest) (*vtctldata.RemoveBackupResponse, error)
func (UnimplementedVtctldServer) RemoveKeyspaceCell ¶ added in v0.10.0
func (UnimplementedVtctldServer) RemoveKeyspaceCell(context.Context, *vtctldata.RemoveKeyspaceCellRequest) (*vtctldata.RemoveKeyspaceCellResponse, error)
func (UnimplementedVtctldServer) RemoveShardCell ¶ added in v0.10.0
func (UnimplementedVtctldServer) RemoveShardCell(context.Context, *vtctldata.RemoveShardCellRequest) (*vtctldata.RemoveShardCellResponse, error)
func (UnimplementedVtctldServer) ReparentTablet ¶ added in v0.10.0
func (UnimplementedVtctldServer) ReparentTablet(context.Context, *vtctldata.ReparentTabletRequest) (*vtctldata.ReparentTabletResponse, error)
func (UnimplementedVtctldServer) ReshardCreate ¶ added in v0.18.0
func (UnimplementedVtctldServer) ReshardCreate(context.Context, *vtctldata.ReshardCreateRequest) (*vtctldata.WorkflowStatusResponse, error)
func (UnimplementedVtctldServer) RestoreFromBackup ¶ added in v0.14.0
func (UnimplementedVtctldServer) RestoreFromBackup(*vtctldata.RestoreFromBackupRequest, Vtctld_RestoreFromBackupServer) error
func (UnimplementedVtctldServer) RetrySchemaMigration ¶ added in v0.18.0
func (UnimplementedVtctldServer) RetrySchemaMigration(context.Context, *vtctldata.RetrySchemaMigrationRequest) (*vtctldata.RetrySchemaMigrationResponse, error)
func (UnimplementedVtctldServer) RunHealthCheck ¶ added in v0.12.0
func (UnimplementedVtctldServer) RunHealthCheck(context.Context, *vtctldata.RunHealthCheckRequest) (*vtctldata.RunHealthCheckResponse, error)
func (UnimplementedVtctldServer) SetKeyspaceDurabilityPolicy ¶ added in v0.14.0
func (UnimplementedVtctldServer) SetKeyspaceDurabilityPolicy(context.Context, *vtctldata.SetKeyspaceDurabilityPolicyRequest) (*vtctldata.SetKeyspaceDurabilityPolicyResponse, error)
func (UnimplementedVtctldServer) SetShardIsPrimaryServing ¶ added in v0.12.0
func (UnimplementedVtctldServer) SetShardIsPrimaryServing(context.Context, *vtctldata.SetShardIsPrimaryServingRequest) (*vtctldata.SetShardIsPrimaryServingResponse, error)
func (UnimplementedVtctldServer) SetShardTabletControl ¶ added in v0.12.0
func (UnimplementedVtctldServer) SetShardTabletControl(context.Context, *vtctldata.SetShardTabletControlRequest) (*vtctldata.SetShardTabletControlResponse, error)
func (UnimplementedVtctldServer) SetWritable ¶ added in v0.12.0
func (UnimplementedVtctldServer) SetWritable(context.Context, *vtctldata.SetWritableRequest) (*vtctldata.SetWritableResponse, error)
func (UnimplementedVtctldServer) ShardReplicationAdd ¶ added in v0.14.0
func (UnimplementedVtctldServer) ShardReplicationAdd(context.Context, *vtctldata.ShardReplicationAddRequest) (*vtctldata.ShardReplicationAddResponse, error)
func (UnimplementedVtctldServer) ShardReplicationFix ¶ added in v0.14.0
func (UnimplementedVtctldServer) ShardReplicationFix(context.Context, *vtctldata.ShardReplicationFixRequest) (*vtctldata.ShardReplicationFixResponse, error)
func (UnimplementedVtctldServer) ShardReplicationPositions ¶ added in v0.10.0
func (UnimplementedVtctldServer) ShardReplicationPositions(context.Context, *vtctldata.ShardReplicationPositionsRequest) (*vtctldata.ShardReplicationPositionsResponse, error)
func (UnimplementedVtctldServer) ShardReplicationRemove ¶ added in v0.14.0
func (UnimplementedVtctldServer) ShardReplicationRemove(context.Context, *vtctldata.ShardReplicationRemoveRequest) (*vtctldata.ShardReplicationRemoveResponse, error)
func (UnimplementedVtctldServer) SleepTablet ¶ added in v0.12.0
func (UnimplementedVtctldServer) SleepTablet(context.Context, *vtctldata.SleepTabletRequest) (*vtctldata.SleepTabletResponse, error)
func (UnimplementedVtctldServer) SourceShardAdd ¶ added in v0.14.0
func (UnimplementedVtctldServer) SourceShardAdd(context.Context, *vtctldata.SourceShardAddRequest) (*vtctldata.SourceShardAddResponse, error)
func (UnimplementedVtctldServer) SourceShardDelete ¶ added in v0.14.0
func (UnimplementedVtctldServer) SourceShardDelete(context.Context, *vtctldata.SourceShardDeleteRequest) (*vtctldata.SourceShardDeleteResponse, error)
func (UnimplementedVtctldServer) StartReplication ¶ added in v0.12.0
func (UnimplementedVtctldServer) StartReplication(context.Context, *vtctldata.StartReplicationRequest) (*vtctldata.StartReplicationResponse, error)
func (UnimplementedVtctldServer) StopReplication ¶ added in v0.12.0
func (UnimplementedVtctldServer) StopReplication(context.Context, *vtctldata.StopReplicationRequest) (*vtctldata.StopReplicationResponse, error)
func (UnimplementedVtctldServer) TabletExternallyReparented ¶ added in v0.10.0
func (UnimplementedVtctldServer) TabletExternallyReparented(context.Context, *vtctldata.TabletExternallyReparentedRequest) (*vtctldata.TabletExternallyReparentedResponse, error)
func (UnimplementedVtctldServer) UpdateCellInfo ¶ added in v0.11.0
func (UnimplementedVtctldServer) UpdateCellInfo(context.Context, *vtctldata.UpdateCellInfoRequest) (*vtctldata.UpdateCellInfoResponse, error)
func (UnimplementedVtctldServer) UpdateCellsAlias ¶ added in v0.11.0
func (UnimplementedVtctldServer) UpdateCellsAlias(context.Context, *vtctldata.UpdateCellsAliasRequest) (*vtctldata.UpdateCellsAliasResponse, error)
func (UnimplementedVtctldServer) UpdateThrottlerConfig ¶ added in v0.16.0
func (UnimplementedVtctldServer) UpdateThrottlerConfig(context.Context, *vtctldata.UpdateThrottlerConfigRequest) (*vtctldata.UpdateThrottlerConfigResponse, error)
func (UnimplementedVtctldServer) VDiffCreate ¶ added in v0.18.0
func (UnimplementedVtctldServer) VDiffCreate(context.Context, *vtctldata.VDiffCreateRequest) (*vtctldata.VDiffCreateResponse, error)
func (UnimplementedVtctldServer) VDiffDelete ¶ added in v0.18.0
func (UnimplementedVtctldServer) VDiffDelete(context.Context, *vtctldata.VDiffDeleteRequest) (*vtctldata.VDiffDeleteResponse, error)
func (UnimplementedVtctldServer) VDiffResume ¶ added in v0.18.0
func (UnimplementedVtctldServer) VDiffResume(context.Context, *vtctldata.VDiffResumeRequest) (*vtctldata.VDiffResumeResponse, error)
func (UnimplementedVtctldServer) VDiffShow ¶ added in v0.18.0
func (UnimplementedVtctldServer) VDiffShow(context.Context, *vtctldata.VDiffShowRequest) (*vtctldata.VDiffShowResponse, error)
func (UnimplementedVtctldServer) VDiffStop ¶ added in v0.18.0
func (UnimplementedVtctldServer) VDiffStop(context.Context, *vtctldata.VDiffStopRequest) (*vtctldata.VDiffStopResponse, error)
func (UnimplementedVtctldServer) Validate ¶ added in v0.12.0
func (UnimplementedVtctldServer) Validate(context.Context, *vtctldata.ValidateRequest) (*vtctldata.ValidateResponse, error)
func (UnimplementedVtctldServer) ValidateKeyspace ¶ added in v0.12.0
func (UnimplementedVtctldServer) ValidateKeyspace(context.Context, *vtctldata.ValidateKeyspaceRequest) (*vtctldata.ValidateKeyspaceResponse, error)
func (UnimplementedVtctldServer) ValidateSchemaKeyspace ¶ added in v0.14.0
func (UnimplementedVtctldServer) ValidateSchemaKeyspace(context.Context, *vtctldata.ValidateSchemaKeyspaceRequest) (*vtctldata.ValidateSchemaKeyspaceResponse, error)
func (UnimplementedVtctldServer) ValidateShard ¶ added in v0.12.0
func (UnimplementedVtctldServer) ValidateShard(context.Context, *vtctldata.ValidateShardRequest) (*vtctldata.ValidateShardResponse, error)
func (UnimplementedVtctldServer) ValidateVSchema ¶ added in v0.14.0
func (UnimplementedVtctldServer) ValidateVSchema(context.Context, *vtctldata.ValidateVSchemaRequest) (*vtctldata.ValidateVSchemaResponse, error)
func (UnimplementedVtctldServer) ValidateVersionKeyspace ¶ added in v0.14.0
func (UnimplementedVtctldServer) ValidateVersionKeyspace(context.Context, *vtctldata.ValidateVersionKeyspaceRequest) (*vtctldata.ValidateVersionKeyspaceResponse, error)
func (UnimplementedVtctldServer) ValidateVersionShard ¶ added in v0.15.0
func (UnimplementedVtctldServer) ValidateVersionShard(context.Context, *vtctldata.ValidateVersionShardRequest) (*vtctldata.ValidateVersionShardResponse, error)
func (UnimplementedVtctldServer) WorkflowDelete ¶ added in v0.18.0
func (UnimplementedVtctldServer) WorkflowDelete(context.Context, *vtctldata.WorkflowDeleteRequest) (*vtctldata.WorkflowDeleteResponse, error)
func (UnimplementedVtctldServer) WorkflowMirrorTraffic ¶ added in v0.21.0
func (UnimplementedVtctldServer) WorkflowMirrorTraffic(context.Context, *vtctldata.WorkflowMirrorTrafficRequest) (*vtctldata.WorkflowMirrorTrafficResponse, error)
func (UnimplementedVtctldServer) WorkflowStatus ¶ added in v0.18.0
func (UnimplementedVtctldServer) WorkflowStatus(context.Context, *vtctldata.WorkflowStatusRequest) (*vtctldata.WorkflowStatusResponse, error)
func (UnimplementedVtctldServer) WorkflowSwitchTraffic ¶ added in v0.18.0
func (UnimplementedVtctldServer) WorkflowSwitchTraffic(context.Context, *vtctldata.WorkflowSwitchTrafficRequest) (*vtctldata.WorkflowSwitchTrafficResponse, error)
func (UnimplementedVtctldServer) WorkflowUpdate ¶ added in v0.17.0
func (UnimplementedVtctldServer) WorkflowUpdate(context.Context, *vtctldata.WorkflowUpdateRequest) (*vtctldata.WorkflowUpdateResponse, error)
type UnsafeVtctlServer ¶ added in v0.11.0
type UnsafeVtctlServer interface {
// contains filtered or unexported methods
}
UnsafeVtctlServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VtctlServer will result in compilation errors.
type UnsafeVtctldServer ¶ added in v0.11.0
type UnsafeVtctldServer interface {
// contains filtered or unexported methods
}
UnsafeVtctldServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VtctldServer will result in compilation errors.
type VtctlClient ¶
type VtctlClient interface {
ExecuteVtctlCommand(ctx context.Context, in *vtctldata.ExecuteVtctlCommandRequest, opts ...grpc.CallOption) (Vtctl_ExecuteVtctlCommandClient, error)
}
VtctlClient is the client API for Vtctl 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.
func NewVtctlClient ¶
func NewVtctlClient(cc grpc.ClientConnInterface) VtctlClient
type VtctlServer ¶
type VtctlServer interface { ExecuteVtctlCommand(*vtctldata.ExecuteVtctlCommandRequest, Vtctl_ExecuteVtctlCommandServer) error // contains filtered or unexported methods }
VtctlServer is the server API for Vtctl service. All implementations must embed UnimplementedVtctlServer for forward compatibility
type Vtctl_ExecuteVtctlCommandClient ¶
type Vtctl_ExecuteVtctlCommandClient interface { Recv() (*vtctldata.ExecuteVtctlCommandResponse, error) grpc.ClientStream }
type Vtctl_ExecuteVtctlCommandServer ¶
type Vtctl_ExecuteVtctlCommandServer interface { Send(*vtctldata.ExecuteVtctlCommandResponse) error grpc.ServerStream }
type VtctldClient ¶ added in v0.9.0
type VtctldClient interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. AddCellInfo(ctx context.Context, in *vtctldata.AddCellInfoRequest, opts ...grpc.CallOption) (*vtctldata.AddCellInfoResponse, error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). AddCellsAlias(ctx context.Context, in *vtctldata.AddCellsAliasRequest, opts ...grpc.CallOption) (*vtctldata.AddCellsAliasResponse, error) // ApplyRoutingRules applies the VSchema routing rules. ApplyRoutingRules(ctx context.Context, in *vtctldata.ApplyRoutingRulesRequest, opts ...grpc.CallOption) (*vtctldata.ApplyRoutingRulesResponse, error) // ApplySchema applies a schema to a keyspace. ApplySchema(ctx context.Context, in *vtctldata.ApplySchemaRequest, opts ...grpc.CallOption) (*vtctldata.ApplySchemaResponse, error) // ApplyKeyspaceRoutingRules applies the VSchema keyspace routing rules. ApplyKeyspaceRoutingRules(ctx context.Context, in *vtctldata.ApplyKeyspaceRoutingRulesRequest, opts ...grpc.CallOption) (*vtctldata.ApplyKeyspaceRoutingRulesResponse, error) // ApplyShardRoutingRules applies the VSchema shard routing rules. ApplyShardRoutingRules(ctx context.Context, in *vtctldata.ApplyShardRoutingRulesRequest, opts ...grpc.CallOption) (*vtctldata.ApplyShardRoutingRulesResponse, error) // ApplyVSchema applies a vschema to a keyspace. ApplyVSchema(ctx context.Context, in *vtctldata.ApplyVSchemaRequest, opts ...grpc.CallOption) (*vtctldata.ApplyVSchemaResponse, error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. Backup(ctx context.Context, in *vtctldata.BackupRequest, opts ...grpc.CallOption) (Vtctld_BackupClient, error) // BackupShard chooses a tablet in the shard and uses it to create a backup. BackupShard(ctx context.Context, in *vtctldata.BackupShardRequest, opts ...grpc.CallOption) (Vtctld_BackupShardClient, error) // CancelSchemaMigration cancels one or all migrations, terminating any running ones as needed. CancelSchemaMigration(ctx context.Context, in *vtctldata.CancelSchemaMigrationRequest, opts ...grpc.CallOption) (*vtctldata.CancelSchemaMigrationResponse, error) // ChangeTabletTags changes the tags of the specified tablet, if possible. ChangeTabletTags(ctx context.Context, in *vtctldata.ChangeTabletTagsRequest, opts ...grpc.CallOption) (*vtctldata.ChangeTabletTagsResponse, error) // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. ChangeTabletType(ctx context.Context, in *vtctldata.ChangeTabletTypeRequest, opts ...grpc.CallOption) (*vtctldata.ChangeTabletTypeResponse, error) // CheckThrottler issues a 'check' on a tablet's throttler CheckThrottler(ctx context.Context, in *vtctldata.CheckThrottlerRequest, opts ...grpc.CallOption) (*vtctldata.CheckThrottlerResponse, error) // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. CleanupSchemaMigration(ctx context.Context, in *vtctldata.CleanupSchemaMigrationRequest, opts ...grpc.CallOption) (*vtctldata.CleanupSchemaMigrationResponse, error) // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. CompleteSchemaMigration(ctx context.Context, in *vtctldata.CompleteSchemaMigrationRequest, opts ...grpc.CallOption) (*vtctldata.CompleteSchemaMigrationResponse, error) // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. ConcludeTransaction(ctx context.Context, in *vtctldata.ConcludeTransactionRequest, opts ...grpc.CallOption) (*vtctldata.ConcludeTransactionResponse, error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. CreateKeyspace(ctx context.Context, in *vtctldata.CreateKeyspaceRequest, opts ...grpc.CallOption) (*vtctldata.CreateKeyspaceResponse, error) // CreateShard creates the specified shard in the topology. CreateShard(ctx context.Context, in *vtctldata.CreateShardRequest, opts ...grpc.CallOption) (*vtctldata.CreateShardResponse, error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. DeleteCellInfo(ctx context.Context, in *vtctldata.DeleteCellInfoRequest, opts ...grpc.CallOption) (*vtctldata.DeleteCellInfoResponse, error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. DeleteCellsAlias(ctx context.Context, in *vtctldata.DeleteCellsAliasRequest, opts ...grpc.CallOption) (*vtctldata.DeleteCellsAliasResponse, error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. DeleteKeyspace(ctx context.Context, in *vtctldata.DeleteKeyspaceRequest, opts ...grpc.CallOption) (*vtctldata.DeleteKeyspaceResponse, error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. DeleteShards(ctx context.Context, in *vtctldata.DeleteShardsRequest, opts ...grpc.CallOption) (*vtctldata.DeleteShardsResponse, error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. DeleteSrvVSchema(ctx context.Context, in *vtctldata.DeleteSrvVSchemaRequest, opts ...grpc.CallOption) (*vtctldata.DeleteSrvVSchemaResponse, error) // DeleteTablets deletes one or more tablets from the topology. DeleteTablets(ctx context.Context, in *vtctldata.DeleteTabletsRequest, opts ...grpc.CallOption) (*vtctldata.DeleteTabletsResponse, error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. EmergencyReparentShard(ctx context.Context, in *vtctldata.EmergencyReparentShardRequest, opts ...grpc.CallOption) (*vtctldata.EmergencyReparentShardResponse, error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. ExecuteFetchAsApp(ctx context.Context, in *vtctldata.ExecuteFetchAsAppRequest, opts ...grpc.CallOption) (*vtctldata.ExecuteFetchAsAppResponse, error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. ExecuteFetchAsDBA(ctx context.Context, in *vtctldata.ExecuteFetchAsDBARequest, opts ...grpc.CallOption) (*vtctldata.ExecuteFetchAsDBAResponse, error) // ExecuteHook runs the hook on the tablet. ExecuteHook(ctx context.Context, in *vtctldata.ExecuteHookRequest, opts ...grpc.CallOption) (*vtctldata.ExecuteHookResponse, error) // ExecuteMultiFetchAsDBA executes one or more SQL queries on the remote tablet as the DBA user. ExecuteMultiFetchAsDBA(ctx context.Context, in *vtctldata.ExecuteMultiFetchAsDBARequest, opts ...grpc.CallOption) (*vtctldata.ExecuteMultiFetchAsDBAResponse, error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. FindAllShardsInKeyspace(ctx context.Context, in *vtctldata.FindAllShardsInKeyspaceRequest, opts ...grpc.CallOption) (*vtctldata.FindAllShardsInKeyspaceResponse, error) // ForceCutOverSchemaMigration marks a schema migration for forced cut-over. ForceCutOverSchemaMigration(ctx context.Context, in *vtctldata.ForceCutOverSchemaMigrationRequest, opts ...grpc.CallOption) (*vtctldata.ForceCutOverSchemaMigrationResponse, error) // GetBackups returns all the backups for a shard. GetBackups(ctx context.Context, in *vtctldata.GetBackupsRequest, opts ...grpc.CallOption) (*vtctldata.GetBackupsResponse, error) // GetCellInfo returns the information for a cell. GetCellInfo(ctx context.Context, in *vtctldata.GetCellInfoRequest, opts ...grpc.CallOption) (*vtctldata.GetCellInfoResponse, error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. GetCellInfoNames(ctx context.Context, in *vtctldata.GetCellInfoNamesRequest, opts ...grpc.CallOption) (*vtctldata.GetCellInfoNamesResponse, error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. GetCellsAliases(ctx context.Context, in *vtctldata.GetCellsAliasesRequest, opts ...grpc.CallOption) (*vtctldata.GetCellsAliasesResponse, error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others GetFullStatus(ctx context.Context, in *vtctldata.GetFullStatusRequest, opts ...grpc.CallOption) (*vtctldata.GetFullStatusResponse, error) // GetKeyspace reads the given keyspace from the topo and returns it. GetKeyspace(ctx context.Context, in *vtctldata.GetKeyspaceRequest, opts ...grpc.CallOption) (*vtctldata.GetKeyspaceResponse, error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. GetKeyspaces(ctx context.Context, in *vtctldata.GetKeyspacesRequest, opts ...grpc.CallOption) (*vtctldata.GetKeyspacesResponse, error) // GetKeyspaceRoutingRules returns the VSchema keyspace routing rules. GetKeyspaceRoutingRules(ctx context.Context, in *vtctldata.GetKeyspaceRoutingRulesRequest, opts ...grpc.CallOption) (*vtctldata.GetKeyspaceRoutingRulesResponse, error) // GetPermissions returns the permissions set on the remote tablet. GetPermissions(ctx context.Context, in *vtctldata.GetPermissionsRequest, opts ...grpc.CallOption) (*vtctldata.GetPermissionsResponse, error) // GetRoutingRules returns the VSchema routing rules. GetRoutingRules(ctx context.Context, in *vtctldata.GetRoutingRulesRequest, opts ...grpc.CallOption) (*vtctldata.GetRoutingRulesResponse, error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. GetSchema(ctx context.Context, in *vtctldata.GetSchemaRequest, opts ...grpc.CallOption) (*vtctldata.GetSchemaResponse, error) // GetSchemaMigrations returns one or more online schema migrations for the // specified keyspace, analagous to `SHOW VITESS_MIGRATIONS`. // // Different fields in the request message result in different filtering // behaviors. See the documentation on GetSchemaMigrationsRequest for details. GetSchemaMigrations(ctx context.Context, in *vtctldata.GetSchemaMigrationsRequest, opts ...grpc.CallOption) (*vtctldata.GetSchemaMigrationsResponse, error) // GetShardReplication returns the replication graph for a shard in a cell. GetShardReplication(ctx context.Context, in *vtctldata.GetShardReplicationRequest, opts ...grpc.CallOption) (*vtctldata.GetShardReplicationResponse, error) // GetShard returns information about a shard in the topology. GetShard(ctx context.Context, in *vtctldata.GetShardRequest, opts ...grpc.CallOption) (*vtctldata.GetShardResponse, error) // GetShardRoutingRules returns the VSchema shard routing rules. GetShardRoutingRules(ctx context.Context, in *vtctldata.GetShardRoutingRulesRequest, opts ...grpc.CallOption) (*vtctldata.GetShardRoutingRulesResponse, error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. GetSrvKeyspaceNames(ctx context.Context, in *vtctldata.GetSrvKeyspaceNamesRequest, opts ...grpc.CallOption) (*vtctldata.GetSrvKeyspaceNamesResponse, error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. GetSrvKeyspaces(ctx context.Context, in *vtctldata.GetSrvKeyspacesRequest, opts ...grpc.CallOption) (*vtctldata.GetSrvKeyspacesResponse, error) // UpdateThrottlerConfig updates the tablet throttler configuration UpdateThrottlerConfig(ctx context.Context, in *vtctldata.UpdateThrottlerConfigRequest, opts ...grpc.CallOption) (*vtctldata.UpdateThrottlerConfigResponse, error) // GetSrvVSchema returns the SrvVSchema for a cell. GetSrvVSchema(ctx context.Context, in *vtctldata.GetSrvVSchemaRequest, opts ...grpc.CallOption) (*vtctldata.GetSrvVSchemaResponse, error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. GetSrvVSchemas(ctx context.Context, in *vtctldata.GetSrvVSchemasRequest, opts ...grpc.CallOption) (*vtctldata.GetSrvVSchemasResponse, error) // GetTablet returns information about a tablet. GetTablet(ctx context.Context, in *vtctldata.GetTabletRequest, opts ...grpc.CallOption) (*vtctldata.GetTabletResponse, error) // GetTablets returns tablets, optionally filtered by keyspace and shard. GetTablets(ctx context.Context, in *vtctldata.GetTabletsRequest, opts ...grpc.CallOption) (*vtctldata.GetTabletsResponse, error) // GetThrottlerStatus gets the status of a tablet throttler GetThrottlerStatus(ctx context.Context, in *vtctldata.GetThrottlerStatusRequest, opts ...grpc.CallOption) (*vtctldata.GetThrottlerStatusResponse, error) // GetTopologyPath returns the topology cell at a given path. GetTopologyPath(ctx context.Context, in *vtctldata.GetTopologyPathRequest, opts ...grpc.CallOption) (*vtctldata.GetTopologyPathResponse, error) // GetTransactions returns the unresolved transactions for the request. GetUnresolvedTransactions(ctx context.Context, in *vtctldata.GetUnresolvedTransactionsRequest, opts ...grpc.CallOption) (*vtctldata.GetUnresolvedTransactionsResponse, error) // GetVersion returns the version of a tablet from its debug vars. GetVersion(ctx context.Context, in *vtctldata.GetVersionRequest, opts ...grpc.CallOption) (*vtctldata.GetVersionResponse, error) // GetVSchema returns the vschema for a keyspace. GetVSchema(ctx context.Context, in *vtctldata.GetVSchemaRequest, opts ...grpc.CallOption) (*vtctldata.GetVSchemaResponse, error) // GetWorkflows returns a list of workflows for the given keyspace. GetWorkflows(ctx context.Context, in *vtctldata.GetWorkflowsRequest, opts ...grpc.CallOption) (*vtctldata.GetWorkflowsResponse, error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. InitShardPrimary(ctx context.Context, in *vtctldata.InitShardPrimaryRequest, opts ...grpc.CallOption) (*vtctldata.InitShardPrimaryResponse, error) // LaunchSchemaMigration launches one or all migrations executed with --postpone-launch. LaunchSchemaMigration(ctx context.Context, in *vtctldata.LaunchSchemaMigrationRequest, opts ...grpc.CallOption) (*vtctldata.LaunchSchemaMigrationResponse, error) LookupVindexCreate(ctx context.Context, in *vtctldata.LookupVindexCreateRequest, opts ...grpc.CallOption) (*vtctldata.LookupVindexCreateResponse, error) LookupVindexExternalize(ctx context.Context, in *vtctldata.LookupVindexExternalizeRequest, opts ...grpc.CallOption) (*vtctldata.LookupVindexExternalizeResponse, error) // MaterializeCreate creates a workflow to materialize one or more tables // from a source keyspace to a target keyspace using a provided expressions. MaterializeCreate(ctx context.Context, in *vtctldata.MaterializeCreateRequest, opts ...grpc.CallOption) (*vtctldata.MaterializeCreateResponse, error) // MigrateCreate creates a workflow which migrates one or more tables from an // external cluster into Vitess. MigrateCreate(ctx context.Context, in *vtctldata.MigrateCreateRequest, opts ...grpc.CallOption) (*vtctldata.WorkflowStatusResponse, error) // MountRegister registers a new external Vitess cluster. MountRegister(ctx context.Context, in *vtctldata.MountRegisterRequest, opts ...grpc.CallOption) (*vtctldata.MountRegisterResponse, error) // MountUnregister unregisters an external Vitess cluster. MountUnregister(ctx context.Context, in *vtctldata.MountUnregisterRequest, opts ...grpc.CallOption) (*vtctldata.MountUnregisterResponse, error) // MountShow returns information about an external Vitess cluster. MountShow(ctx context.Context, in *vtctldata.MountShowRequest, opts ...grpc.CallOption) (*vtctldata.MountShowResponse, error) // MountList lists all registered external Vitess clusters. MountList(ctx context.Context, in *vtctldata.MountListRequest, opts ...grpc.CallOption) (*vtctldata.MountListResponse, error) // MoveTablesCreate creates a workflow which moves one or more tables from a // source keyspace to a target keyspace. MoveTablesCreate(ctx context.Context, in *vtctldata.MoveTablesCreateRequest, opts ...grpc.CallOption) (*vtctldata.WorkflowStatusResponse, error) // MoveTablesComplete completes the move and cleans up the workflow and // its related artifacts. MoveTablesComplete(ctx context.Context, in *vtctldata.MoveTablesCompleteRequest, opts ...grpc.CallOption) (*vtctldata.MoveTablesCompleteResponse, error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. PingTablet(ctx context.Context, in *vtctldata.PingTabletRequest, opts ...grpc.CallOption) (*vtctldata.PingTabletResponse, error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. // // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. PlannedReparentShard(ctx context.Context, in *vtctldata.PlannedReparentShardRequest, opts ...grpc.CallOption) (*vtctldata.PlannedReparentShardResponse, error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. RebuildKeyspaceGraph(ctx context.Context, in *vtctldata.RebuildKeyspaceGraphRequest, opts ...grpc.CallOption) (*vtctldata.RebuildKeyspaceGraphResponse, error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). RebuildVSchemaGraph(ctx context.Context, in *vtctldata.RebuildVSchemaGraphRequest, opts ...grpc.CallOption) (*vtctldata.RebuildVSchemaGraphResponse, error) // RefreshState reloads the tablet record on the specified tablet. RefreshState(ctx context.Context, in *vtctldata.RefreshStateRequest, opts ...grpc.CallOption) (*vtctldata.RefreshStateResponse, error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. RefreshStateByShard(ctx context.Context, in *vtctldata.RefreshStateByShardRequest, opts ...grpc.CallOption) (*vtctldata.RefreshStateByShardResponse, error) // ReloadSchema instructs the remote tablet to reload its schema. ReloadSchema(ctx context.Context, in *vtctldata.ReloadSchemaRequest, opts ...grpc.CallOption) (*vtctldata.ReloadSchemaResponse, error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. ReloadSchemaKeyspace(ctx context.Context, in *vtctldata.ReloadSchemaKeyspaceRequest, opts ...grpc.CallOption) (*vtctldata.ReloadSchemaKeyspaceResponse, error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. ReloadSchemaShard(ctx context.Context, in *vtctldata.ReloadSchemaShardRequest, opts ...grpc.CallOption) (*vtctldata.ReloadSchemaShardResponse, error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. RemoveBackup(ctx context.Context, in *vtctldata.RemoveBackupRequest, opts ...grpc.CallOption) (*vtctldata.RemoveBackupResponse, error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. RemoveKeyspaceCell(ctx context.Context, in *vtctldata.RemoveKeyspaceCellRequest, opts ...grpc.CallOption) (*vtctldata.RemoveKeyspaceCellResponse, error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. RemoveShardCell(ctx context.Context, in *vtctldata.RemoveShardCellRequest, opts ...grpc.CallOption) (*vtctldata.RemoveShardCellResponse, error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. ReparentTablet(ctx context.Context, in *vtctldata.ReparentTabletRequest, opts ...grpc.CallOption) (*vtctldata.ReparentTabletResponse, error) // ReshardCreate creates a workflow to reshard a keyspace. ReshardCreate(ctx context.Context, in *vtctldata.ReshardCreateRequest, opts ...grpc.CallOption) (*vtctldata.WorkflowStatusResponse, error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. RestoreFromBackup(ctx context.Context, in *vtctldata.RestoreFromBackupRequest, opts ...grpc.CallOption) (Vtctld_RestoreFromBackupClient, error) // RetrySchemaMigration marks a given schema migration for retry. RetrySchemaMigration(ctx context.Context, in *vtctldata.RetrySchemaMigrationRequest, opts ...grpc.CallOption) (*vtctldata.RetrySchemaMigrationResponse, error) // RunHealthCheck runs a healthcheck on the remote tablet. RunHealthCheck(ctx context.Context, in *vtctldata.RunHealthCheckRequest, opts ...grpc.CallOption) (*vtctldata.RunHealthCheckResponse, error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. SetKeyspaceDurabilityPolicy(ctx context.Context, in *vtctldata.SetKeyspaceDurabilityPolicyRequest, opts ...grpc.CallOption) (*vtctldata.SetKeyspaceDurabilityPolicyResponse, error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). SetShardIsPrimaryServing(ctx context.Context, in *vtctldata.SetShardIsPrimaryServingRequest, opts ...grpc.CallOption) (*vtctldata.SetShardIsPrimaryServingResponse, error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. SetShardTabletControl(ctx context.Context, in *vtctldata.SetShardTabletControlRequest, opts ...grpc.CallOption) (*vtctldata.SetShardTabletControlResponse, error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). SetWritable(ctx context.Context, in *vtctldata.SetWritableRequest, opts ...grpc.CallOption) (*vtctldata.SetWritableResponse, error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. ShardReplicationAdd(ctx context.Context, in *vtctldata.ShardReplicationAddRequest, opts ...grpc.CallOption) (*vtctldata.ShardReplicationAddResponse, error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. ShardReplicationFix(ctx context.Context, in *vtctldata.ShardReplicationFixRequest, opts ...grpc.CallOption) (*vtctldata.ShardReplicationFixResponse, error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. ShardReplicationPositions(ctx context.Context, in *vtctldata.ShardReplicationPositionsRequest, opts ...grpc.CallOption) (*vtctldata.ShardReplicationPositionsResponse, error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. ShardReplicationRemove(ctx context.Context, in *vtctldata.ShardReplicationRemoveRequest, opts ...grpc.CallOption) (*vtctldata.ShardReplicationRemoveResponse, error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. SleepTablet(ctx context.Context, in *vtctldata.SleepTabletRequest, opts ...grpc.CallOption) (*vtctldata.SleepTabletResponse, error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. SourceShardAdd(ctx context.Context, in *vtctldata.SourceShardAddRequest, opts ...grpc.CallOption) (*vtctldata.SourceShardAddResponse, error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. SourceShardDelete(ctx context.Context, in *vtctldata.SourceShardDeleteRequest, opts ...grpc.CallOption) (*vtctldata.SourceShardDeleteResponse, error) // StartReplication starts replication on the specified tablet. StartReplication(ctx context.Context, in *vtctldata.StartReplicationRequest, opts ...grpc.CallOption) (*vtctldata.StartReplicationResponse, error) // StopReplication stops replication on the specified tablet. StopReplication(ctx context.Context, in *vtctldata.StopReplicationRequest, opts ...grpc.CallOption) (*vtctldata.StopReplicationResponse, error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: // https://vitess.io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting. TabletExternallyReparented(ctx context.Context, in *vtctldata.TabletExternallyReparentedRequest, opts ...grpc.CallOption) (*vtctldata.TabletExternallyReparentedResponse, error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. UpdateCellInfo(ctx context.Context, in *vtctldata.UpdateCellInfoRequest, opts ...grpc.CallOption) (*vtctldata.UpdateCellInfoResponse, error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. UpdateCellsAlias(ctx context.Context, in *vtctldata.UpdateCellsAliasRequest, opts ...grpc.CallOption) (*vtctldata.UpdateCellsAliasResponse, error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. Validate(ctx context.Context, in *vtctldata.ValidateRequest, opts ...grpc.CallOption) (*vtctldata.ValidateResponse, error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. ValidateKeyspace(ctx context.Context, in *vtctldata.ValidateKeyspaceRequest, opts ...grpc.CallOption) (*vtctldata.ValidateKeyspaceResponse, error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. ValidateSchemaKeyspace(ctx context.Context, in *vtctldata.ValidateSchemaKeyspaceRequest, opts ...grpc.CallOption) (*vtctldata.ValidateSchemaKeyspaceResponse, error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. ValidateShard(ctx context.Context, in *vtctldata.ValidateShardRequest, opts ...grpc.CallOption) (*vtctldata.ValidateShardResponse, error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. ValidateVersionKeyspace(ctx context.Context, in *vtctldata.ValidateVersionKeyspaceRequest, opts ...grpc.CallOption) (*vtctldata.ValidateVersionKeyspaceResponse, error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. ValidateVersionShard(ctx context.Context, in *vtctldata.ValidateVersionShardRequest, opts ...grpc.CallOption) (*vtctldata.ValidateVersionShardResponse, error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. ValidateVSchema(ctx context.Context, in *vtctldata.ValidateVSchemaRequest, opts ...grpc.CallOption) (*vtctldata.ValidateVSchemaResponse, error) VDiffCreate(ctx context.Context, in *vtctldata.VDiffCreateRequest, opts ...grpc.CallOption) (*vtctldata.VDiffCreateResponse, error) VDiffDelete(ctx context.Context, in *vtctldata.VDiffDeleteRequest, opts ...grpc.CallOption) (*vtctldata.VDiffDeleteResponse, error) VDiffResume(ctx context.Context, in *vtctldata.VDiffResumeRequest, opts ...grpc.CallOption) (*vtctldata.VDiffResumeResponse, error) VDiffShow(ctx context.Context, in *vtctldata.VDiffShowRequest, opts ...grpc.CallOption) (*vtctldata.VDiffShowResponse, error) VDiffStop(ctx context.Context, in *vtctldata.VDiffStopRequest, opts ...grpc.CallOption) (*vtctldata.VDiffStopResponse, error) // WorkflowDelete deletes a vreplication workflow. WorkflowDelete(ctx context.Context, in *vtctldata.WorkflowDeleteRequest, opts ...grpc.CallOption) (*vtctldata.WorkflowDeleteResponse, error) WorkflowStatus(ctx context.Context, in *vtctldata.WorkflowStatusRequest, opts ...grpc.CallOption) (*vtctldata.WorkflowStatusResponse, error) WorkflowSwitchTraffic(ctx context.Context, in *vtctldata.WorkflowSwitchTrafficRequest, opts ...grpc.CallOption) (*vtctldata.WorkflowSwitchTrafficResponse, error) // WorkflowUpdate updates the configuration of a vreplication workflow // using the provided updated parameters. WorkflowUpdate(ctx context.Context, in *vtctldata.WorkflowUpdateRequest, opts ...grpc.CallOption) (*vtctldata.WorkflowUpdateResponse, error) // GetMirrorRules returns the VSchema routing rules. GetMirrorRules(ctx context.Context, in *vtctldata.GetMirrorRulesRequest, opts ...grpc.CallOption) (*vtctldata.GetMirrorRulesResponse, error) WorkflowMirrorTraffic(ctx context.Context, in *vtctldata.WorkflowMirrorTrafficRequest, opts ...grpc.CallOption) (*vtctldata.WorkflowMirrorTrafficResponse, error) }
VtctldClient is the client API for Vtctld 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.
func NewVtctldClient ¶ added in v0.9.0
func NewVtctldClient(cc grpc.ClientConnInterface) VtctldClient
type VtctldServer ¶ added in v0.9.0
type VtctldServer interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. AddCellInfo(context.Context, *vtctldata.AddCellInfoRequest) (*vtctldata.AddCellInfoResponse, error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). AddCellsAlias(context.Context, *vtctldata.AddCellsAliasRequest) (*vtctldata.AddCellsAliasResponse, error) // ApplyRoutingRules applies the VSchema routing rules. ApplyRoutingRules(context.Context, *vtctldata.ApplyRoutingRulesRequest) (*vtctldata.ApplyRoutingRulesResponse, error) // ApplySchema applies a schema to a keyspace. ApplySchema(context.Context, *vtctldata.ApplySchemaRequest) (*vtctldata.ApplySchemaResponse, error) // ApplyKeyspaceRoutingRules applies the VSchema keyspace routing rules. ApplyKeyspaceRoutingRules(context.Context, *vtctldata.ApplyKeyspaceRoutingRulesRequest) (*vtctldata.ApplyKeyspaceRoutingRulesResponse, error) // ApplyShardRoutingRules applies the VSchema shard routing rules. ApplyShardRoutingRules(context.Context, *vtctldata.ApplyShardRoutingRulesRequest) (*vtctldata.ApplyShardRoutingRulesResponse, error) // ApplyVSchema applies a vschema to a keyspace. ApplyVSchema(context.Context, *vtctldata.ApplyVSchemaRequest) (*vtctldata.ApplyVSchemaResponse, error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. Backup(*vtctldata.BackupRequest, Vtctld_BackupServer) error // BackupShard chooses a tablet in the shard and uses it to create a backup. BackupShard(*vtctldata.BackupShardRequest, Vtctld_BackupShardServer) error // CancelSchemaMigration cancels one or all migrations, terminating any running ones as needed. CancelSchemaMigration(context.Context, *vtctldata.CancelSchemaMigrationRequest) (*vtctldata.CancelSchemaMigrationResponse, error) // ChangeTabletTags changes the tags of the specified tablet, if possible. ChangeTabletTags(context.Context, *vtctldata.ChangeTabletTagsRequest) (*vtctldata.ChangeTabletTagsResponse, error) // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. ChangeTabletType(context.Context, *vtctldata.ChangeTabletTypeRequest) (*vtctldata.ChangeTabletTypeResponse, error) // CheckThrottler issues a 'check' on a tablet's throttler CheckThrottler(context.Context, *vtctldata.CheckThrottlerRequest) (*vtctldata.CheckThrottlerResponse, error) // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. CleanupSchemaMigration(context.Context, *vtctldata.CleanupSchemaMigrationRequest) (*vtctldata.CleanupSchemaMigrationResponse, error) // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. CompleteSchemaMigration(context.Context, *vtctldata.CompleteSchemaMigrationRequest) (*vtctldata.CompleteSchemaMigrationResponse, error) // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. ConcludeTransaction(context.Context, *vtctldata.ConcludeTransactionRequest) (*vtctldata.ConcludeTransactionResponse, error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. CreateKeyspace(context.Context, *vtctldata.CreateKeyspaceRequest) (*vtctldata.CreateKeyspaceResponse, error) // CreateShard creates the specified shard in the topology. CreateShard(context.Context, *vtctldata.CreateShardRequest) (*vtctldata.CreateShardResponse, error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. DeleteCellInfo(context.Context, *vtctldata.DeleteCellInfoRequest) (*vtctldata.DeleteCellInfoResponse, error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. DeleteCellsAlias(context.Context, *vtctldata.DeleteCellsAliasRequest) (*vtctldata.DeleteCellsAliasResponse, error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. DeleteKeyspace(context.Context, *vtctldata.DeleteKeyspaceRequest) (*vtctldata.DeleteKeyspaceResponse, error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. DeleteShards(context.Context, *vtctldata.DeleteShardsRequest) (*vtctldata.DeleteShardsResponse, error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. DeleteSrvVSchema(context.Context, *vtctldata.DeleteSrvVSchemaRequest) (*vtctldata.DeleteSrvVSchemaResponse, error) // DeleteTablets deletes one or more tablets from the topology. DeleteTablets(context.Context, *vtctldata.DeleteTabletsRequest) (*vtctldata.DeleteTabletsResponse, error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. EmergencyReparentShard(context.Context, *vtctldata.EmergencyReparentShardRequest) (*vtctldata.EmergencyReparentShardResponse, error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. ExecuteFetchAsApp(context.Context, *vtctldata.ExecuteFetchAsAppRequest) (*vtctldata.ExecuteFetchAsAppResponse, error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. ExecuteFetchAsDBA(context.Context, *vtctldata.ExecuteFetchAsDBARequest) (*vtctldata.ExecuteFetchAsDBAResponse, error) // ExecuteHook runs the hook on the tablet. ExecuteHook(context.Context, *vtctldata.ExecuteHookRequest) (*vtctldata.ExecuteHookResponse, error) // ExecuteMultiFetchAsDBA executes one or more SQL queries on the remote tablet as the DBA user. ExecuteMultiFetchAsDBA(context.Context, *vtctldata.ExecuteMultiFetchAsDBARequest) (*vtctldata.ExecuteMultiFetchAsDBAResponse, error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. FindAllShardsInKeyspace(context.Context, *vtctldata.FindAllShardsInKeyspaceRequest) (*vtctldata.FindAllShardsInKeyspaceResponse, error) // ForceCutOverSchemaMigration marks a schema migration for forced cut-over. ForceCutOverSchemaMigration(context.Context, *vtctldata.ForceCutOverSchemaMigrationRequest) (*vtctldata.ForceCutOverSchemaMigrationResponse, error) // GetBackups returns all the backups for a shard. GetBackups(context.Context, *vtctldata.GetBackupsRequest) (*vtctldata.GetBackupsResponse, error) // GetCellInfo returns the information for a cell. GetCellInfo(context.Context, *vtctldata.GetCellInfoRequest) (*vtctldata.GetCellInfoResponse, error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. GetCellInfoNames(context.Context, *vtctldata.GetCellInfoNamesRequest) (*vtctldata.GetCellInfoNamesResponse, error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. GetCellsAliases(context.Context, *vtctldata.GetCellsAliasesRequest) (*vtctldata.GetCellsAliasesResponse, error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others GetFullStatus(context.Context, *vtctldata.GetFullStatusRequest) (*vtctldata.GetFullStatusResponse, error) // GetKeyspace reads the given keyspace from the topo and returns it. GetKeyspace(context.Context, *vtctldata.GetKeyspaceRequest) (*vtctldata.GetKeyspaceResponse, error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. GetKeyspaces(context.Context, *vtctldata.GetKeyspacesRequest) (*vtctldata.GetKeyspacesResponse, error) // GetKeyspaceRoutingRules returns the VSchema keyspace routing rules. GetKeyspaceRoutingRules(context.Context, *vtctldata.GetKeyspaceRoutingRulesRequest) (*vtctldata.GetKeyspaceRoutingRulesResponse, error) // GetPermissions returns the permissions set on the remote tablet. GetPermissions(context.Context, *vtctldata.GetPermissionsRequest) (*vtctldata.GetPermissionsResponse, error) // GetRoutingRules returns the VSchema routing rules. GetRoutingRules(context.Context, *vtctldata.GetRoutingRulesRequest) (*vtctldata.GetRoutingRulesResponse, error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. GetSchema(context.Context, *vtctldata.GetSchemaRequest) (*vtctldata.GetSchemaResponse, error) // GetSchemaMigrations returns one or more online schema migrations for the // specified keyspace, analagous to `SHOW VITESS_MIGRATIONS`. // // Different fields in the request message result in different filtering // behaviors. See the documentation on GetSchemaMigrationsRequest for details. GetSchemaMigrations(context.Context, *vtctldata.GetSchemaMigrationsRequest) (*vtctldata.GetSchemaMigrationsResponse, error) // GetShardReplication returns the replication graph for a shard in a cell. GetShardReplication(context.Context, *vtctldata.GetShardReplicationRequest) (*vtctldata.GetShardReplicationResponse, error) // GetShard returns information about a shard in the topology. GetShard(context.Context, *vtctldata.GetShardRequest) (*vtctldata.GetShardResponse, error) // GetShardRoutingRules returns the VSchema shard routing rules. GetShardRoutingRules(context.Context, *vtctldata.GetShardRoutingRulesRequest) (*vtctldata.GetShardRoutingRulesResponse, error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. GetSrvKeyspaceNames(context.Context, *vtctldata.GetSrvKeyspaceNamesRequest) (*vtctldata.GetSrvKeyspaceNamesResponse, error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. GetSrvKeyspaces(context.Context, *vtctldata.GetSrvKeyspacesRequest) (*vtctldata.GetSrvKeyspacesResponse, error) // UpdateThrottlerConfig updates the tablet throttler configuration UpdateThrottlerConfig(context.Context, *vtctldata.UpdateThrottlerConfigRequest) (*vtctldata.UpdateThrottlerConfigResponse, error) // GetSrvVSchema returns the SrvVSchema for a cell. GetSrvVSchema(context.Context, *vtctldata.GetSrvVSchemaRequest) (*vtctldata.GetSrvVSchemaResponse, error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. GetSrvVSchemas(context.Context, *vtctldata.GetSrvVSchemasRequest) (*vtctldata.GetSrvVSchemasResponse, error) // GetTablet returns information about a tablet. GetTablet(context.Context, *vtctldata.GetTabletRequest) (*vtctldata.GetTabletResponse, error) // GetTablets returns tablets, optionally filtered by keyspace and shard. GetTablets(context.Context, *vtctldata.GetTabletsRequest) (*vtctldata.GetTabletsResponse, error) // GetThrottlerStatus gets the status of a tablet throttler GetThrottlerStatus(context.Context, *vtctldata.GetThrottlerStatusRequest) (*vtctldata.GetThrottlerStatusResponse, error) // GetTopologyPath returns the topology cell at a given path. GetTopologyPath(context.Context, *vtctldata.GetTopologyPathRequest) (*vtctldata.GetTopologyPathResponse, error) // GetTransactions returns the unresolved transactions for the request. GetUnresolvedTransactions(context.Context, *vtctldata.GetUnresolvedTransactionsRequest) (*vtctldata.GetUnresolvedTransactionsResponse, error) // GetVersion returns the version of a tablet from its debug vars. GetVersion(context.Context, *vtctldata.GetVersionRequest) (*vtctldata.GetVersionResponse, error) // GetVSchema returns the vschema for a keyspace. GetVSchema(context.Context, *vtctldata.GetVSchemaRequest) (*vtctldata.GetVSchemaResponse, error) // GetWorkflows returns a list of workflows for the given keyspace. GetWorkflows(context.Context, *vtctldata.GetWorkflowsRequest) (*vtctldata.GetWorkflowsResponse, error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. InitShardPrimary(context.Context, *vtctldata.InitShardPrimaryRequest) (*vtctldata.InitShardPrimaryResponse, error) // LaunchSchemaMigration launches one or all migrations executed with --postpone-launch. LaunchSchemaMigration(context.Context, *vtctldata.LaunchSchemaMigrationRequest) (*vtctldata.LaunchSchemaMigrationResponse, error) LookupVindexCreate(context.Context, *vtctldata.LookupVindexCreateRequest) (*vtctldata.LookupVindexCreateResponse, error) LookupVindexExternalize(context.Context, *vtctldata.LookupVindexExternalizeRequest) (*vtctldata.LookupVindexExternalizeResponse, error) // MaterializeCreate creates a workflow to materialize one or more tables // from a source keyspace to a target keyspace using a provided expressions. MaterializeCreate(context.Context, *vtctldata.MaterializeCreateRequest) (*vtctldata.MaterializeCreateResponse, error) // MigrateCreate creates a workflow which migrates one or more tables from an // external cluster into Vitess. MigrateCreate(context.Context, *vtctldata.MigrateCreateRequest) (*vtctldata.WorkflowStatusResponse, error) // MountRegister registers a new external Vitess cluster. MountRegister(context.Context, *vtctldata.MountRegisterRequest) (*vtctldata.MountRegisterResponse, error) // MountUnregister unregisters an external Vitess cluster. MountUnregister(context.Context, *vtctldata.MountUnregisterRequest) (*vtctldata.MountUnregisterResponse, error) // MountShow returns information about an external Vitess cluster. MountShow(context.Context, *vtctldata.MountShowRequest) (*vtctldata.MountShowResponse, error) // MountList lists all registered external Vitess clusters. MountList(context.Context, *vtctldata.MountListRequest) (*vtctldata.MountListResponse, error) // MoveTablesCreate creates a workflow which moves one or more tables from a // source keyspace to a target keyspace. MoveTablesCreate(context.Context, *vtctldata.MoveTablesCreateRequest) (*vtctldata.WorkflowStatusResponse, error) // MoveTablesComplete completes the move and cleans up the workflow and // its related artifacts. MoveTablesComplete(context.Context, *vtctldata.MoveTablesCompleteRequest) (*vtctldata.MoveTablesCompleteResponse, error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. PingTablet(context.Context, *vtctldata.PingTabletRequest) (*vtctldata.PingTabletResponse, error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. // // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. PlannedReparentShard(context.Context, *vtctldata.PlannedReparentShardRequest) (*vtctldata.PlannedReparentShardResponse, error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. RebuildKeyspaceGraph(context.Context, *vtctldata.RebuildKeyspaceGraphRequest) (*vtctldata.RebuildKeyspaceGraphResponse, error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). RebuildVSchemaGraph(context.Context, *vtctldata.RebuildVSchemaGraphRequest) (*vtctldata.RebuildVSchemaGraphResponse, error) // RefreshState reloads the tablet record on the specified tablet. RefreshState(context.Context, *vtctldata.RefreshStateRequest) (*vtctldata.RefreshStateResponse, error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. RefreshStateByShard(context.Context, *vtctldata.RefreshStateByShardRequest) (*vtctldata.RefreshStateByShardResponse, error) // ReloadSchema instructs the remote tablet to reload its schema. ReloadSchema(context.Context, *vtctldata.ReloadSchemaRequest) (*vtctldata.ReloadSchemaResponse, error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. ReloadSchemaKeyspace(context.Context, *vtctldata.ReloadSchemaKeyspaceRequest) (*vtctldata.ReloadSchemaKeyspaceResponse, error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. ReloadSchemaShard(context.Context, *vtctldata.ReloadSchemaShardRequest) (*vtctldata.ReloadSchemaShardResponse, error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. RemoveBackup(context.Context, *vtctldata.RemoveBackupRequest) (*vtctldata.RemoveBackupResponse, error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. RemoveKeyspaceCell(context.Context, *vtctldata.RemoveKeyspaceCellRequest) (*vtctldata.RemoveKeyspaceCellResponse, error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. RemoveShardCell(context.Context, *vtctldata.RemoveShardCellRequest) (*vtctldata.RemoveShardCellResponse, error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. ReparentTablet(context.Context, *vtctldata.ReparentTabletRequest) (*vtctldata.ReparentTabletResponse, error) // ReshardCreate creates a workflow to reshard a keyspace. ReshardCreate(context.Context, *vtctldata.ReshardCreateRequest) (*vtctldata.WorkflowStatusResponse, error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. RestoreFromBackup(*vtctldata.RestoreFromBackupRequest, Vtctld_RestoreFromBackupServer) error // RetrySchemaMigration marks a given schema migration for retry. RetrySchemaMigration(context.Context, *vtctldata.RetrySchemaMigrationRequest) (*vtctldata.RetrySchemaMigrationResponse, error) // RunHealthCheck runs a healthcheck on the remote tablet. RunHealthCheck(context.Context, *vtctldata.RunHealthCheckRequest) (*vtctldata.RunHealthCheckResponse, error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. SetKeyspaceDurabilityPolicy(context.Context, *vtctldata.SetKeyspaceDurabilityPolicyRequest) (*vtctldata.SetKeyspaceDurabilityPolicyResponse, error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). SetShardIsPrimaryServing(context.Context, *vtctldata.SetShardIsPrimaryServingRequest) (*vtctldata.SetShardIsPrimaryServingResponse, error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. SetShardTabletControl(context.Context, *vtctldata.SetShardTabletControlRequest) (*vtctldata.SetShardTabletControlResponse, error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). SetWritable(context.Context, *vtctldata.SetWritableRequest) (*vtctldata.SetWritableResponse, error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. ShardReplicationAdd(context.Context, *vtctldata.ShardReplicationAddRequest) (*vtctldata.ShardReplicationAddResponse, error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. ShardReplicationFix(context.Context, *vtctldata.ShardReplicationFixRequest) (*vtctldata.ShardReplicationFixResponse, error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. ShardReplicationPositions(context.Context, *vtctldata.ShardReplicationPositionsRequest) (*vtctldata.ShardReplicationPositionsResponse, error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. ShardReplicationRemove(context.Context, *vtctldata.ShardReplicationRemoveRequest) (*vtctldata.ShardReplicationRemoveResponse, error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. SleepTablet(context.Context, *vtctldata.SleepTabletRequest) (*vtctldata.SleepTabletResponse, error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. SourceShardAdd(context.Context, *vtctldata.SourceShardAddRequest) (*vtctldata.SourceShardAddResponse, error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. SourceShardDelete(context.Context, *vtctldata.SourceShardDeleteRequest) (*vtctldata.SourceShardDeleteResponse, error) // StartReplication starts replication on the specified tablet. StartReplication(context.Context, *vtctldata.StartReplicationRequest) (*vtctldata.StartReplicationResponse, error) // StopReplication stops replication on the specified tablet. StopReplication(context.Context, *vtctldata.StopReplicationRequest) (*vtctldata.StopReplicationResponse, error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: // https://vitess.io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting. TabletExternallyReparented(context.Context, *vtctldata.TabletExternallyReparentedRequest) (*vtctldata.TabletExternallyReparentedResponse, error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. UpdateCellInfo(context.Context, *vtctldata.UpdateCellInfoRequest) (*vtctldata.UpdateCellInfoResponse, error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. UpdateCellsAlias(context.Context, *vtctldata.UpdateCellsAliasRequest) (*vtctldata.UpdateCellsAliasResponse, error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. Validate(context.Context, *vtctldata.ValidateRequest) (*vtctldata.ValidateResponse, error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. ValidateKeyspace(context.Context, *vtctldata.ValidateKeyspaceRequest) (*vtctldata.ValidateKeyspaceResponse, error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. ValidateSchemaKeyspace(context.Context, *vtctldata.ValidateSchemaKeyspaceRequest) (*vtctldata.ValidateSchemaKeyspaceResponse, error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. ValidateShard(context.Context, *vtctldata.ValidateShardRequest) (*vtctldata.ValidateShardResponse, error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. ValidateVersionKeyspace(context.Context, *vtctldata.ValidateVersionKeyspaceRequest) (*vtctldata.ValidateVersionKeyspaceResponse, error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. ValidateVersionShard(context.Context, *vtctldata.ValidateVersionShardRequest) (*vtctldata.ValidateVersionShardResponse, error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. ValidateVSchema(context.Context, *vtctldata.ValidateVSchemaRequest) (*vtctldata.ValidateVSchemaResponse, error) VDiffCreate(context.Context, *vtctldata.VDiffCreateRequest) (*vtctldata.VDiffCreateResponse, error) VDiffDelete(context.Context, *vtctldata.VDiffDeleteRequest) (*vtctldata.VDiffDeleteResponse, error) VDiffResume(context.Context, *vtctldata.VDiffResumeRequest) (*vtctldata.VDiffResumeResponse, error) VDiffShow(context.Context, *vtctldata.VDiffShowRequest) (*vtctldata.VDiffShowResponse, error) VDiffStop(context.Context, *vtctldata.VDiffStopRequest) (*vtctldata.VDiffStopResponse, error) // WorkflowDelete deletes a vreplication workflow. WorkflowDelete(context.Context, *vtctldata.WorkflowDeleteRequest) (*vtctldata.WorkflowDeleteResponse, error) WorkflowStatus(context.Context, *vtctldata.WorkflowStatusRequest) (*vtctldata.WorkflowStatusResponse, error) WorkflowSwitchTraffic(context.Context, *vtctldata.WorkflowSwitchTrafficRequest) (*vtctldata.WorkflowSwitchTrafficResponse, error) // WorkflowUpdate updates the configuration of a vreplication workflow // using the provided updated parameters. WorkflowUpdate(context.Context, *vtctldata.WorkflowUpdateRequest) (*vtctldata.WorkflowUpdateResponse, error) // GetMirrorRules returns the VSchema routing rules. GetMirrorRules(context.Context, *vtctldata.GetMirrorRulesRequest) (*vtctldata.GetMirrorRulesResponse, error) WorkflowMirrorTraffic(context.Context, *vtctldata.WorkflowMirrorTrafficRequest) (*vtctldata.WorkflowMirrorTrafficResponse, error) // contains filtered or unexported methods }
VtctldServer is the server API for Vtctld service. All implementations must embed UnimplementedVtctldServer for forward compatibility
type Vtctld_BackupClient ¶ added in v0.14.0
type Vtctld_BackupClient interface { Recv() (*vtctldata.BackupResponse, error) grpc.ClientStream }
type Vtctld_BackupServer ¶ added in v0.14.0
type Vtctld_BackupServer interface { Send(*vtctldata.BackupResponse) error grpc.ServerStream }
type Vtctld_BackupShardClient ¶ added in v0.14.0
type Vtctld_BackupShardClient interface { Recv() (*vtctldata.BackupResponse, error) grpc.ClientStream }
type Vtctld_BackupShardServer ¶ added in v0.14.0
type Vtctld_BackupShardServer interface { Send(*vtctldata.BackupResponse) error grpc.ServerStream }
type Vtctld_RestoreFromBackupClient ¶ added in v0.14.0
type Vtctld_RestoreFromBackupClient interface { Recv() (*vtctldata.RestoreFromBackupResponse, error) grpc.ClientStream }
type Vtctld_RestoreFromBackupServer ¶ added in v0.14.0
type Vtctld_RestoreFromBackupServer interface { Send(*vtctldata.RestoreFromBackupResponse) error grpc.ServerStream }