Documentation ¶
Overview ¶
Copyright 2023 The Vitess Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- func GetVersionFunc() func(string) (string, error)
- func SetVersionFunc(versionFunc func(string) (string, error))
- func StartServer(s *grpc.Server, ts *topo.Server)
- type VtctldServer
- func (s *VtctldServer) AddCellInfo(ctx context.Context, req *vtctldatapb.AddCellInfoRequest) (resp *vtctldatapb.AddCellInfoResponse, err error)
- func (s *VtctldServer) AddCellsAlias(ctx context.Context, req *vtctldatapb.AddCellsAliasRequest) (resp *vtctldatapb.AddCellsAliasResponse, err error)
- func (s *VtctldServer) ApplyRoutingRules(ctx context.Context, req *vtctldatapb.ApplyRoutingRulesRequest) (resp *vtctldatapb.ApplyRoutingRulesResponse, err error)
- func (s *VtctldServer) ApplySchema(ctx context.Context, req *vtctldatapb.ApplySchemaRequest) (resp *vtctldatapb.ApplySchemaResponse, err error)
- func (s *VtctldServer) ApplyShardRoutingRules(ctx context.Context, req *vtctldatapb.ApplyShardRoutingRulesRequest) (*vtctldatapb.ApplyShardRoutingRulesResponse, error)
- func (s *VtctldServer) ApplyVSchema(ctx context.Context, req *vtctldatapb.ApplyVSchemaRequest) (resp *vtctldatapb.ApplyVSchemaResponse, err error)
- func (s *VtctldServer) Backup(req *vtctldatapb.BackupRequest, stream vtctlservicepb.Vtctld_BackupServer) (err error)
- func (s *VtctldServer) BackupShard(req *vtctldatapb.BackupShardRequest, ...) (err error)
- func (s *VtctldServer) CancelSchemaMigration(ctx context.Context, req *vtctldatapb.CancelSchemaMigrationRequest) (resp *vtctldatapb.CancelSchemaMigrationResponse, err error)
- func (s *VtctldServer) ChangeTabletType(ctx context.Context, req *vtctldatapb.ChangeTabletTypeRequest) (resp *vtctldatapb.ChangeTabletTypeResponse, err error)
- func (s *VtctldServer) CleanupSchemaMigration(ctx context.Context, req *vtctldatapb.CleanupSchemaMigrationRequest) (resp *vtctldatapb.CleanupSchemaMigrationResponse, err error)
- func (s *VtctldServer) CompleteSchemaMigration(ctx context.Context, req *vtctldatapb.CompleteSchemaMigrationRequest) (resp *vtctldatapb.CompleteSchemaMigrationResponse, err error)
- func (s *VtctldServer) CreateKeyspace(ctx context.Context, req *vtctldatapb.CreateKeyspaceRequest) (resp *vtctldatapb.CreateKeyspaceResponse, err error)
- func (s *VtctldServer) CreateShard(ctx context.Context, req *vtctldatapb.CreateShardRequest) (resp *vtctldatapb.CreateShardResponse, err error)
- func (s *VtctldServer) DeleteCellInfo(ctx context.Context, req *vtctldatapb.DeleteCellInfoRequest) (resp *vtctldatapb.DeleteCellInfoResponse, err error)
- func (s *VtctldServer) DeleteCellsAlias(ctx context.Context, req *vtctldatapb.DeleteCellsAliasRequest) (resp *vtctldatapb.DeleteCellsAliasResponse, err error)
- func (s *VtctldServer) DeleteKeyspace(ctx context.Context, req *vtctldatapb.DeleteKeyspaceRequest) (resp *vtctldatapb.DeleteKeyspaceResponse, err error)
- func (s *VtctldServer) DeleteShards(ctx context.Context, req *vtctldatapb.DeleteShardsRequest) (resp *vtctldatapb.DeleteShardsResponse, err error)
- func (s *VtctldServer) DeleteSrvVSchema(ctx context.Context, req *vtctldatapb.DeleteSrvVSchemaRequest) (resp *vtctldatapb.DeleteSrvVSchemaResponse, err error)
- func (s *VtctldServer) DeleteTablets(ctx context.Context, req *vtctldatapb.DeleteTabletsRequest) (resp *vtctldatapb.DeleteTabletsResponse, err error)
- func (s *VtctldServer) EmergencyReparentShard(ctx context.Context, req *vtctldatapb.EmergencyReparentShardRequest) (resp *vtctldatapb.EmergencyReparentShardResponse, err error)
- func (s *VtctldServer) ExecuteFetchAsApp(ctx context.Context, req *vtctldatapb.ExecuteFetchAsAppRequest) (resp *vtctldatapb.ExecuteFetchAsAppResponse, err error)
- func (s *VtctldServer) ExecuteFetchAsDBA(ctx context.Context, req *vtctldatapb.ExecuteFetchAsDBARequest) (resp *vtctldatapb.ExecuteFetchAsDBAResponse, err error)
- func (s *VtctldServer) ExecuteHook(ctx context.Context, req *vtctldatapb.ExecuteHookRequest) (resp *vtctldatapb.ExecuteHookResponse, err error)
- func (s *VtctldServer) FindAllShardsInKeyspace(ctx context.Context, req *vtctldatapb.FindAllShardsInKeyspaceRequest) (resp *vtctldatapb.FindAllShardsInKeyspaceResponse, err error)
- func (s *VtctldServer) GetBackups(ctx context.Context, req *vtctldatapb.GetBackupsRequest) (resp *vtctldatapb.GetBackupsResponse, err error)
- func (s *VtctldServer) GetCellInfo(ctx context.Context, req *vtctldatapb.GetCellInfoRequest) (resp *vtctldatapb.GetCellInfoResponse, err error)
- func (s *VtctldServer) GetCellInfoNames(ctx context.Context, req *vtctldatapb.GetCellInfoNamesRequest) (resp *vtctldatapb.GetCellInfoNamesResponse, err error)
- func (s *VtctldServer) GetCellsAliases(ctx context.Context, req *vtctldatapb.GetCellsAliasesRequest) (resp *vtctldatapb.GetCellsAliasesResponse, err error)
- func (s *VtctldServer) GetFullStatus(ctx context.Context, req *vtctldatapb.GetFullStatusRequest) (resp *vtctldatapb.GetFullStatusResponse, err error)
- func (s *VtctldServer) GetKeyspace(ctx context.Context, req *vtctldatapb.GetKeyspaceRequest) (resp *vtctldatapb.GetKeyspaceResponse, err error)
- func (s *VtctldServer) GetKeyspaces(ctx context.Context, req *vtctldatapb.GetKeyspacesRequest) (resp *vtctldatapb.GetKeyspacesResponse, err error)
- func (s *VtctldServer) GetPermissions(ctx context.Context, req *vtctldatapb.GetPermissionsRequest) (resp *vtctldatapb.GetPermissionsResponse, err error)
- func (s *VtctldServer) GetRoutingRules(ctx context.Context, req *vtctldatapb.GetRoutingRulesRequest) (resp *vtctldatapb.GetRoutingRulesResponse, err error)
- func (s *VtctldServer) GetSchema(ctx context.Context, req *vtctldatapb.GetSchemaRequest) (resp *vtctldatapb.GetSchemaResponse, err error)
- func (s *VtctldServer) GetSchemaMigrations(ctx context.Context, req *vtctldatapb.GetSchemaMigrationsRequest) (resp *vtctldatapb.GetSchemaMigrationsResponse, err error)
- func (s *VtctldServer) GetShard(ctx context.Context, req *vtctldatapb.GetShardRequest) (resp *vtctldatapb.GetShardResponse, err error)
- func (s *VtctldServer) GetShardRoutingRules(ctx context.Context, req *vtctldatapb.GetShardRoutingRulesRequest) (*vtctldatapb.GetShardRoutingRulesResponse, error)
- func (s *VtctldServer) GetSrvKeyspaceNames(ctx context.Context, req *vtctldatapb.GetSrvKeyspaceNamesRequest) (resp *vtctldatapb.GetSrvKeyspaceNamesResponse, err error)
- func (s *VtctldServer) GetSrvKeyspaces(ctx context.Context, req *vtctldatapb.GetSrvKeyspacesRequest) (resp *vtctldatapb.GetSrvKeyspacesResponse, err error)
- func (s *VtctldServer) GetSrvVSchema(ctx context.Context, req *vtctldatapb.GetSrvVSchemaRequest) (resp *vtctldatapb.GetSrvVSchemaResponse, err error)
- func (s *VtctldServer) GetSrvVSchemas(ctx context.Context, req *vtctldatapb.GetSrvVSchemasRequest) (resp *vtctldatapb.GetSrvVSchemasResponse, err error)
- func (s *VtctldServer) GetTablet(ctx context.Context, req *vtctldatapb.GetTabletRequest) (resp *vtctldatapb.GetTabletResponse, err error)
- func (s *VtctldServer) GetTablets(ctx context.Context, req *vtctldatapb.GetTabletsRequest) (resp *vtctldatapb.GetTabletsResponse, err error)
- func (s *VtctldServer) GetTopologyPath(ctx context.Context, req *vtctldatapb.GetTopologyPathRequest) (*vtctldatapb.GetTopologyPathResponse, error)
- func (s *VtctldServer) GetVSchema(ctx context.Context, req *vtctldatapb.GetVSchemaRequest) (resp *vtctldatapb.GetVSchemaResponse, err error)
- func (s *VtctldServer) GetVersion(ctx context.Context, req *vtctldatapb.GetVersionRequest) (resp *vtctldatapb.GetVersionResponse, err error)
- func (s *VtctldServer) GetWorkflows(ctx context.Context, req *vtctldatapb.GetWorkflowsRequest) (resp *vtctldatapb.GetWorkflowsResponse, err error)
- func (s *VtctldServer) InitShardPrimary(ctx context.Context, req *vtctldatapb.InitShardPrimaryRequest) (resp *vtctldatapb.InitShardPrimaryResponse, err error)
- func (s *VtctldServer) InitShardPrimaryLocked(ctx context.Context, ev *events.Reparent, ...) error
- func (s *VtctldServer) LaunchSchemaMigration(ctx context.Context, req *vtctldatapb.LaunchSchemaMigrationRequest) (resp *vtctldatapb.LaunchSchemaMigrationResponse, err error)
- func (s *VtctldServer) LookupVindexCreate(ctx context.Context, req *vtctldatapb.LookupVindexCreateRequest) (resp *vtctldatapb.LookupVindexCreateResponse, err error)
- func (s *VtctldServer) LookupVindexExternalize(ctx context.Context, req *vtctldatapb.LookupVindexExternalizeRequest) (resp *vtctldatapb.LookupVindexExternalizeResponse, err error)
- func (s *VtctldServer) MaterializeCreate(ctx context.Context, req *vtctldatapb.MaterializeCreateRequest) (resp *vtctldatapb.MaterializeCreateResponse, err error)
- func (s *VtctldServer) MigrateCreate(ctx context.Context, req *vtctldatapb.MigrateCreateRequest) (resp *vtctldatapb.WorkflowStatusResponse, err error)
- func (s *VtctldServer) MountList(ctx context.Context, req *vtctldatapb.MountListRequest) (resp *vtctldatapb.MountListResponse, err error)
- func (s *VtctldServer) MountRegister(ctx context.Context, req *vtctldatapb.MountRegisterRequest) (resp *vtctldatapb.MountRegisterResponse, err error)
- func (s *VtctldServer) MountShow(ctx context.Context, req *vtctldatapb.MountShowRequest) (resp *vtctldatapb.MountShowResponse, err error)
- func (s *VtctldServer) MountUnregister(ctx context.Context, req *vtctldatapb.MountUnregisterRequest) (resp *vtctldatapb.MountUnregisterResponse, err error)
- func (s *VtctldServer) MoveTablesComplete(ctx context.Context, req *vtctldatapb.MoveTablesCompleteRequest) (resp *vtctldatapb.MoveTablesCompleteResponse, err error)
- func (s *VtctldServer) MoveTablesCreate(ctx context.Context, req *vtctldatapb.MoveTablesCreateRequest) (resp *vtctldatapb.WorkflowStatusResponse, err error)
- func (s *VtctldServer) PingTablet(ctx context.Context, req *vtctldatapb.PingTabletRequest) (resp *vtctldatapb.PingTabletResponse, err error)
- func (s *VtctldServer) PlannedReparentShard(ctx context.Context, req *vtctldatapb.PlannedReparentShardRequest) (resp *vtctldatapb.PlannedReparentShardResponse, err error)
- func (s *VtctldServer) RebuildKeyspaceGraph(ctx context.Context, req *vtctldatapb.RebuildKeyspaceGraphRequest) (resp *vtctldatapb.RebuildKeyspaceGraphResponse, err error)
- func (s *VtctldServer) RebuildVSchemaGraph(ctx context.Context, req *vtctldatapb.RebuildVSchemaGraphRequest) (resp *vtctldatapb.RebuildVSchemaGraphResponse, err error)
- func (s *VtctldServer) RefreshState(ctx context.Context, req *vtctldatapb.RefreshStateRequest) (resp *vtctldatapb.RefreshStateResponse, err error)
- func (s *VtctldServer) RefreshStateByShard(ctx context.Context, req *vtctldatapb.RefreshStateByShardRequest) (resp *vtctldatapb.RefreshStateByShardResponse, err error)
- func (s *VtctldServer) ReloadSchema(ctx context.Context, req *vtctldatapb.ReloadSchemaRequest) (resp *vtctldatapb.ReloadSchemaResponse, err error)
- func (s *VtctldServer) ReloadSchemaKeyspace(ctx context.Context, req *vtctldatapb.ReloadSchemaKeyspaceRequest) (resp *vtctldatapb.ReloadSchemaKeyspaceResponse, err error)
- func (s *VtctldServer) ReloadSchemaShard(ctx context.Context, req *vtctldatapb.ReloadSchemaShardRequest) (resp *vtctldatapb.ReloadSchemaShardResponse, err error)
- func (s *VtctldServer) RemoveBackup(ctx context.Context, req *vtctldatapb.RemoveBackupRequest) (resp *vtctldatapb.RemoveBackupResponse, err error)
- func (s *VtctldServer) RemoveKeyspaceCell(ctx context.Context, req *vtctldatapb.RemoveKeyspaceCellRequest) (resp *vtctldatapb.RemoveKeyspaceCellResponse, err error)
- func (s *VtctldServer) RemoveShardCell(ctx context.Context, req *vtctldatapb.RemoveShardCellRequest) (resp *vtctldatapb.RemoveShardCellResponse, err error)
- func (s *VtctldServer) ReparentTablet(ctx context.Context, req *vtctldatapb.ReparentTabletRequest) (resp *vtctldatapb.ReparentTabletResponse, err error)
- func (s *VtctldServer) ReshardCreate(ctx context.Context, req *vtctldatapb.ReshardCreateRequest) (resp *vtctldatapb.WorkflowStatusResponse, err error)
- func (s *VtctldServer) RestoreFromBackup(req *vtctldatapb.RestoreFromBackupRequest, ...) (err error)
- func (s *VtctldServer) RetrySchemaMigration(ctx context.Context, req *vtctldatapb.RetrySchemaMigrationRequest) (resp *vtctldatapb.RetrySchemaMigrationResponse, err error)
- func (s *VtctldServer) RunHealthCheck(ctx context.Context, req *vtctldatapb.RunHealthCheckRequest) (resp *vtctldatapb.RunHealthCheckResponse, err error)
- func (s *VtctldServer) SetKeyspaceDurabilityPolicy(ctx context.Context, req *vtctldatapb.SetKeyspaceDurabilityPolicyRequest) (resp *vtctldatapb.SetKeyspaceDurabilityPolicyResponse, err error)
- func (s *VtctldServer) SetKeyspaceServedFrom(ctx context.Context, req *vtctldatapb.SetKeyspaceServedFromRequest) (resp *vtctldatapb.SetKeyspaceServedFromResponse, err error)
- func (s *VtctldServer) SetShardIsPrimaryServing(ctx context.Context, req *vtctldatapb.SetShardIsPrimaryServingRequest) (resp *vtctldatapb.SetShardIsPrimaryServingResponse, err error)
- func (s *VtctldServer) SetShardTabletControl(ctx context.Context, req *vtctldatapb.SetShardTabletControlRequest) (resp *vtctldatapb.SetShardTabletControlResponse, err error)
- func (s *VtctldServer) SetWritable(ctx context.Context, req *vtctldatapb.SetWritableRequest) (resp *vtctldatapb.SetWritableResponse, err error)
- func (s *VtctldServer) ShardReplicationAdd(ctx context.Context, req *vtctldatapb.ShardReplicationAddRequest) (resp *vtctldatapb.ShardReplicationAddResponse, err error)
- func (s *VtctldServer) ShardReplicationFix(ctx context.Context, req *vtctldatapb.ShardReplicationFixRequest) (resp *vtctldatapb.ShardReplicationFixResponse, err error)
- func (s *VtctldServer) ShardReplicationPositions(ctx context.Context, req *vtctldatapb.ShardReplicationPositionsRequest) (resp *vtctldatapb.ShardReplicationPositionsResponse, err error)
- func (s *VtctldServer) ShardReplicationRemove(ctx context.Context, req *vtctldatapb.ShardReplicationRemoveRequest) (resp *vtctldatapb.ShardReplicationRemoveResponse, err error)
- func (s *VtctldServer) SleepTablet(ctx context.Context, req *vtctldatapb.SleepTabletRequest) (resp *vtctldatapb.SleepTabletResponse, err error)
- func (s *VtctldServer) SourceShardAdd(ctx context.Context, req *vtctldatapb.SourceShardAddRequest) (resp *vtctldatapb.SourceShardAddResponse, err error)
- func (s *VtctldServer) SourceShardDelete(ctx context.Context, req *vtctldatapb.SourceShardDeleteRequest) (resp *vtctldatapb.SourceShardDeleteResponse, err error)
- func (s *VtctldServer) StartReplication(ctx context.Context, req *vtctldatapb.StartReplicationRequest) (resp *vtctldatapb.StartReplicationResponse, err error)
- func (s *VtctldServer) StopReplication(ctx context.Context, req *vtctldatapb.StopReplicationRequest) (resp *vtctldatapb.StopReplicationResponse, err error)
- func (s *VtctldServer) TabletExternallyReparented(ctx context.Context, req *vtctldatapb.TabletExternallyReparentedRequest) (resp *vtctldatapb.TabletExternallyReparentedResponse, err error)
- func (s *VtctldServer) UpdateCellInfo(ctx context.Context, req *vtctldatapb.UpdateCellInfoRequest) (resp *vtctldatapb.UpdateCellInfoResponse, err error)
- func (s *VtctldServer) UpdateCellsAlias(ctx context.Context, req *vtctldatapb.UpdateCellsAliasRequest) (resp *vtctldatapb.UpdateCellsAliasResponse, err error)
- func (s *VtctldServer) UpdateThrottlerConfig(ctx context.Context, req *vtctldatapb.UpdateThrottlerConfigRequest) (resp *vtctldatapb.UpdateThrottlerConfigResponse, err error)
- func (s *VtctldServer) VDiffCreate(ctx context.Context, req *vtctldatapb.VDiffCreateRequest) (resp *vtctldatapb.VDiffCreateResponse, err error)
- func (s *VtctldServer) VDiffDelete(ctx context.Context, req *vtctldatapb.VDiffDeleteRequest) (resp *vtctldatapb.VDiffDeleteResponse, err error)
- func (s *VtctldServer) VDiffResume(ctx context.Context, req *vtctldatapb.VDiffResumeRequest) (resp *vtctldatapb.VDiffResumeResponse, err error)
- func (s *VtctldServer) VDiffShow(ctx context.Context, req *vtctldatapb.VDiffShowRequest) (resp *vtctldatapb.VDiffShowResponse, err error)
- func (s *VtctldServer) VDiffStop(ctx context.Context, req *vtctldatapb.VDiffStopRequest) (resp *vtctldatapb.VDiffStopResponse, err error)
- func (s *VtctldServer) Validate(ctx context.Context, req *vtctldatapb.ValidateRequest) (resp *vtctldatapb.ValidateResponse, err error)
- func (s *VtctldServer) ValidateKeyspace(ctx context.Context, req *vtctldatapb.ValidateKeyspaceRequest) (resp *vtctldatapb.ValidateKeyspaceResponse, err error)
- func (s *VtctldServer) ValidateSchemaKeyspace(ctx context.Context, req *vtctldatapb.ValidateSchemaKeyspaceRequest) (resp *vtctldatapb.ValidateSchemaKeyspaceResponse, err error)
- func (s *VtctldServer) ValidateShard(ctx context.Context, req *vtctldatapb.ValidateShardRequest) (resp *vtctldatapb.ValidateShardResponse, err error)
- func (s *VtctldServer) ValidateVSchema(ctx context.Context, req *vtctldatapb.ValidateVSchemaRequest) (resp *vtctldatapb.ValidateVSchemaResponse, err error)
- func (s *VtctldServer) ValidateVersionKeyspace(ctx context.Context, req *vtctldatapb.ValidateVersionKeyspaceRequest) (resp *vtctldatapb.ValidateVersionKeyspaceResponse, err error)
- func (s *VtctldServer) ValidateVersionShard(ctx context.Context, req *vtctldatapb.ValidateVersionShardRequest) (resp *vtctldatapb.ValidateVersionShardResponse, err error)
- func (s *VtctldServer) WorkflowDelete(ctx context.Context, req *vtctldatapb.WorkflowDeleteRequest) (resp *vtctldatapb.WorkflowDeleteResponse, err error)
- func (s *VtctldServer) WorkflowStatus(ctx context.Context, req *vtctldatapb.WorkflowStatusRequest) (resp *vtctldatapb.WorkflowStatusResponse, err error)
- func (s *VtctldServer) WorkflowSwitchTraffic(ctx context.Context, req *vtctldatapb.WorkflowSwitchTrafficRequest) (resp *vtctldatapb.WorkflowSwitchTrafficResponse, err error)
- func (s *VtctldServer) WorkflowUpdate(ctx context.Context, req *vtctldatapb.WorkflowUpdateRequest) (resp *vtctldatapb.WorkflowUpdateResponse, err error)
Constants ¶
const (
AllMigrationsIndicator = "all"
)
const ( // DefaultWaitReplicasTimeout is the default value for waitReplicasTimeout, which is used when calling method ApplySchema. DefaultWaitReplicasTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func GetVersionFunc ¶ added in v0.16.0
func SetVersionFunc ¶ added in v0.16.0
Types ¶
type VtctldServer ¶
type VtctldServer struct { vtctlservicepb.UnimplementedVtctldServer // contains filtered or unexported fields }
VtctldServer implements the Vtctld RPC service protocol.
func NewTestVtctldServer ¶ added in v0.16.0
func NewTestVtctldServer(ts *topo.Server, tmc tmclient.TabletManagerClient) *VtctldServer
NewTestVtctldServer returns a new VtctldServer for the given topo server AND tmclient for use in tests. This should NOT be used in production.
func NewVtctldServer ¶
func NewVtctldServer(ts *topo.Server) *VtctldServer
NewVtctldServer returns a new VtctldServer for the given topo server.
func (*VtctldServer) AddCellInfo ¶ added in v0.11.0
func (s *VtctldServer) AddCellInfo(ctx context.Context, req *vtctldatapb.AddCellInfoRequest) (resp *vtctldatapb.AddCellInfoResponse, err error)
AddCellInfo is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) AddCellsAlias ¶ added in v0.11.0
func (s *VtctldServer) AddCellsAlias(ctx context.Context, req *vtctldatapb.AddCellsAliasRequest) (resp *vtctldatapb.AddCellsAliasResponse, err error)
AddCellsAlias is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ApplyRoutingRules ¶ added in v0.11.0
func (s *VtctldServer) ApplyRoutingRules(ctx context.Context, req *vtctldatapb.ApplyRoutingRulesRequest) (resp *vtctldatapb.ApplyRoutingRulesResponse, err error)
ApplyRoutingRules is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ApplySchema ¶ added in v0.13.0
func (s *VtctldServer) ApplySchema(ctx context.Context, req *vtctldatapb.ApplySchemaRequest) (resp *vtctldatapb.ApplySchemaResponse, err error)
ApplySchema is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ApplyShardRoutingRules ¶ added in v0.15.0
func (s *VtctldServer) ApplyShardRoutingRules(ctx context.Context, req *vtctldatapb.ApplyShardRoutingRulesRequest) (*vtctldatapb.ApplyShardRoutingRulesResponse, error)
ApplyShardRoutingRules is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ApplyVSchema ¶ added in v0.11.0
func (s *VtctldServer) ApplyVSchema(ctx context.Context, req *vtctldatapb.ApplyVSchemaRequest) (resp *vtctldatapb.ApplyVSchemaResponse, err error)
ApplyVSchema is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) Backup ¶ added in v0.14.0
func (s *VtctldServer) Backup(req *vtctldatapb.BackupRequest, stream vtctlservicepb.Vtctld_BackupServer) (err error)
Backup is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) BackupShard ¶ added in v0.14.0
func (s *VtctldServer) BackupShard(req *vtctldatapb.BackupShardRequest, stream vtctlservicepb.Vtctld_BackupShardServer) (err error)
BackupShard is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) CancelSchemaMigration ¶ added in v0.18.0
func (s *VtctldServer) CancelSchemaMigration(ctx context.Context, req *vtctldatapb.CancelSchemaMigrationRequest) (resp *vtctldatapb.CancelSchemaMigrationResponse, err error)
CancelSchemaMigration is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ChangeTabletType ¶ added in v0.10.0
func (s *VtctldServer) ChangeTabletType(ctx context.Context, req *vtctldatapb.ChangeTabletTypeRequest) (resp *vtctldatapb.ChangeTabletTypeResponse, err error)
ChangeTabletType is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) CleanupSchemaMigration ¶ added in v0.18.0
func (s *VtctldServer) CleanupSchemaMigration(ctx context.Context, req *vtctldatapb.CleanupSchemaMigrationRequest) (resp *vtctldatapb.CleanupSchemaMigrationResponse, err error)
CleanupSchemaMigration is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) CompleteSchemaMigration ¶ added in v0.18.0
func (s *VtctldServer) CompleteSchemaMigration(ctx context.Context, req *vtctldatapb.CompleteSchemaMigrationRequest) (resp *vtctldatapb.CompleteSchemaMigrationResponse, err error)
CompleteSchemaMigration is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) CreateKeyspace ¶ added in v0.10.0
func (s *VtctldServer) CreateKeyspace(ctx context.Context, req *vtctldatapb.CreateKeyspaceRequest) (resp *vtctldatapb.CreateKeyspaceResponse, err error)
CreateKeyspace is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) CreateShard ¶ added in v0.10.0
func (s *VtctldServer) CreateShard(ctx context.Context, req *vtctldatapb.CreateShardRequest) (resp *vtctldatapb.CreateShardResponse, err error)
CreateShard is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) DeleteCellInfo ¶ added in v0.11.0
func (s *VtctldServer) DeleteCellInfo(ctx context.Context, req *vtctldatapb.DeleteCellInfoRequest) (resp *vtctldatapb.DeleteCellInfoResponse, err error)
DeleteCellInfo is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) DeleteCellsAlias ¶ added in v0.11.0
func (s *VtctldServer) DeleteCellsAlias(ctx context.Context, req *vtctldatapb.DeleteCellsAliasRequest) (resp *vtctldatapb.DeleteCellsAliasResponse, err error)
DeleteCellsAlias is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) DeleteKeyspace ¶ added in v0.10.0
func (s *VtctldServer) DeleteKeyspace(ctx context.Context, req *vtctldatapb.DeleteKeyspaceRequest) (resp *vtctldatapb.DeleteKeyspaceResponse, err error)
DeleteKeyspace is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) DeleteShards ¶ added in v0.10.0
func (s *VtctldServer) DeleteShards(ctx context.Context, req *vtctldatapb.DeleteShardsRequest) (resp *vtctldatapb.DeleteShardsResponse, err error)
DeleteShards is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) DeleteSrvVSchema ¶ added in v0.12.0
func (s *VtctldServer) DeleteSrvVSchema(ctx context.Context, req *vtctldatapb.DeleteSrvVSchemaRequest) (resp *vtctldatapb.DeleteSrvVSchemaResponse, err error)
DeleteSrvVSchema is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) DeleteTablets ¶ added in v0.10.0
func (s *VtctldServer) DeleteTablets(ctx context.Context, req *vtctldatapb.DeleteTabletsRequest) (resp *vtctldatapb.DeleteTabletsResponse, err error)
DeleteTablets is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) EmergencyReparentShard ¶ added in v0.10.0
func (s *VtctldServer) EmergencyReparentShard(ctx context.Context, req *vtctldatapb.EmergencyReparentShardRequest) (resp *vtctldatapb.EmergencyReparentShardResponse, err error)
EmergencyReparentShard is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) ExecuteFetchAsApp ¶ added in v0.14.0
func (s *VtctldServer) ExecuteFetchAsApp(ctx context.Context, req *vtctldatapb.ExecuteFetchAsAppRequest) (resp *vtctldatapb.ExecuteFetchAsAppResponse, err error)
ExecuteFetchAsApp is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ExecuteFetchAsDBA ¶ added in v0.14.0
func (s *VtctldServer) ExecuteFetchAsDBA(ctx context.Context, req *vtctldatapb.ExecuteFetchAsDBARequest) (resp *vtctldatapb.ExecuteFetchAsDBAResponse, err error)
ExecuteFetchAsDBA is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ExecuteHook ¶ added in v0.13.0
func (s *VtctldServer) ExecuteHook(ctx context.Context, req *vtctldatapb.ExecuteHookRequest) (resp *vtctldatapb.ExecuteHookResponse, err error)
ExecuteHook is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) FindAllShardsInKeyspace ¶
func (s *VtctldServer) FindAllShardsInKeyspace(ctx context.Context, req *vtctldatapb.FindAllShardsInKeyspaceRequest) (resp *vtctldatapb.FindAllShardsInKeyspaceResponse, err error)
FindAllShardsInKeyspace is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetBackups ¶ added in v0.10.0
func (s *VtctldServer) GetBackups(ctx context.Context, req *vtctldatapb.GetBackupsRequest) (resp *vtctldatapb.GetBackupsResponse, err error)
GetBackups is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) GetCellInfo ¶ added in v0.10.0
func (s *VtctldServer) GetCellInfo(ctx context.Context, req *vtctldatapb.GetCellInfoRequest) (resp *vtctldatapb.GetCellInfoResponse, err error)
GetCellInfo is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetCellInfoNames ¶ added in v0.10.0
func (s *VtctldServer) GetCellInfoNames(ctx context.Context, req *vtctldatapb.GetCellInfoNamesRequest) (resp *vtctldatapb.GetCellInfoNamesResponse, err error)
GetCellInfoNames is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetCellsAliases ¶ added in v0.10.0
func (s *VtctldServer) GetCellsAliases(ctx context.Context, req *vtctldatapb.GetCellsAliasesRequest) (resp *vtctldatapb.GetCellsAliasesResponse, err error)
GetCellsAliases is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetFullStatus ¶ added in v0.15.0
func (s *VtctldServer) GetFullStatus(ctx context.Context, req *vtctldatapb.GetFullStatusRequest) (resp *vtctldatapb.GetFullStatusResponse, err error)
GetFullStatus is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetKeyspace ¶
func (s *VtctldServer) GetKeyspace(ctx context.Context, req *vtctldatapb.GetKeyspaceRequest) (resp *vtctldatapb.GetKeyspaceResponse, err error)
GetKeyspace is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetKeyspaces ¶
func (s *VtctldServer) GetKeyspaces(ctx context.Context, req *vtctldatapb.GetKeyspacesRequest) (resp *vtctldatapb.GetKeyspacesResponse, err error)
GetKeyspaces is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetPermissions ¶ added in v0.14.0
func (s *VtctldServer) GetPermissions(ctx context.Context, req *vtctldatapb.GetPermissionsRequest) (resp *vtctldatapb.GetPermissionsResponse, err error)
GetPermissions is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetRoutingRules ¶ added in v0.11.0
func (s *VtctldServer) GetRoutingRules(ctx context.Context, req *vtctldatapb.GetRoutingRulesRequest) (resp *vtctldatapb.GetRoutingRulesResponse, err error)
GetRoutingRules is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetSchema ¶ added in v0.10.0
func (s *VtctldServer) GetSchema(ctx context.Context, req *vtctldatapb.GetSchemaRequest) (resp *vtctldatapb.GetSchemaResponse, err error)
GetSchema is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetSchemaMigrations ¶ added in v0.18.0
func (s *VtctldServer) GetSchemaMigrations(ctx context.Context, req *vtctldatapb.GetSchemaMigrationsRequest) (resp *vtctldatapb.GetSchemaMigrationsResponse, err error)
func (*VtctldServer) GetShard ¶ added in v0.10.0
func (s *VtctldServer) GetShard(ctx context.Context, req *vtctldatapb.GetShardRequest) (resp *vtctldatapb.GetShardResponse, err error)
GetShard is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetShardRoutingRules ¶ added in v0.15.0
func (s *VtctldServer) GetShardRoutingRules(ctx context.Context, req *vtctldatapb.GetShardRoutingRulesRequest) (*vtctldatapb.GetShardRoutingRulesResponse, error)
GetShardRoutingRules is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetSrvKeyspaceNames ¶ added in v0.12.0
func (s *VtctldServer) GetSrvKeyspaceNames(ctx context.Context, req *vtctldatapb.GetSrvKeyspaceNamesRequest) (resp *vtctldatapb.GetSrvKeyspaceNamesResponse, err error)
GetSrvKeyspaceNames is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetSrvKeyspaces ¶ added in v0.10.0
func (s *VtctldServer) GetSrvKeyspaces(ctx context.Context, req *vtctldatapb.GetSrvKeyspacesRequest) (resp *vtctldatapb.GetSrvKeyspacesResponse, err error)
GetSrvKeyspaces is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetSrvVSchema ¶ added in v0.10.0
func (s *VtctldServer) GetSrvVSchema(ctx context.Context, req *vtctldatapb.GetSrvVSchemaRequest) (resp *vtctldatapb.GetSrvVSchemaResponse, err error)
GetSrvVSchema is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetSrvVSchemas ¶ added in v0.11.0
func (s *VtctldServer) GetSrvVSchemas(ctx context.Context, req *vtctldatapb.GetSrvVSchemasRequest) (resp *vtctldatapb.GetSrvVSchemasResponse, err error)
GetSrvVSchemas is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetTablet ¶ added in v0.10.0
func (s *VtctldServer) GetTablet(ctx context.Context, req *vtctldatapb.GetTabletRequest) (resp *vtctldatapb.GetTabletResponse, err error)
GetTablet is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetTablets ¶ added in v0.10.0
func (s *VtctldServer) GetTablets(ctx context.Context, req *vtctldatapb.GetTabletsRequest) (resp *vtctldatapb.GetTabletsResponse, err error)
GetTablets is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetTopologyPath ¶ added in v0.15.0
func (s *VtctldServer) GetTopologyPath(ctx context.Context, req *vtctldatapb.GetTopologyPathRequest) (*vtctldatapb.GetTopologyPathResponse, error)
GetTopologyPath is part of the vtctlservicepb.VtctldServer interface. It returns the cell located at the provided path in the topology server.
func (*VtctldServer) GetVSchema ¶ added in v0.10.0
func (s *VtctldServer) GetVSchema(ctx context.Context, req *vtctldatapb.GetVSchemaRequest) (resp *vtctldatapb.GetVSchemaResponse, err error)
GetVSchema is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) GetVersion ¶ added in v0.14.0
func (s *VtctldServer) GetVersion(ctx context.Context, req *vtctldatapb.GetVersionRequest) (resp *vtctldatapb.GetVersionResponse, err error)
GetVersion returns the version of a tablet from its debug vars
func (*VtctldServer) GetWorkflows ¶ added in v0.10.0
func (s *VtctldServer) GetWorkflows(ctx context.Context, req *vtctldatapb.GetWorkflowsRequest) (resp *vtctldatapb.GetWorkflowsResponse, err error)
GetWorkflows is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) InitShardPrimary ¶ added in v0.10.0
func (s *VtctldServer) InitShardPrimary(ctx context.Context, req *vtctldatapb.InitShardPrimaryRequest) (resp *vtctldatapb.InitShardPrimaryResponse, err error)
InitShardPrimary is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) InitShardPrimaryLocked ¶ added in v0.10.0
func (s *VtctldServer) InitShardPrimaryLocked( ctx context.Context, ev *events.Reparent, req *vtctldatapb.InitShardPrimaryRequest, waitReplicasTimeout time.Duration, tmc tmclient.TabletManagerClient, logger logutil.Logger, ) error
InitShardPrimaryLocked is the main work of doing an InitShardPrimary. It should only called by callers that have already locked the shard in the topo. It is only public so that it can be used in wrangler and legacy vtctl server.
func (*VtctldServer) LaunchSchemaMigration ¶ added in v0.18.0
func (s *VtctldServer) LaunchSchemaMigration(ctx context.Context, req *vtctldatapb.LaunchSchemaMigrationRequest) (resp *vtctldatapb.LaunchSchemaMigrationResponse, err error)
LaunchSchemaMigration is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) LookupVindexCreate ¶ added in v0.18.0
func (s *VtctldServer) LookupVindexCreate(ctx context.Context, req *vtctldatapb.LookupVindexCreateRequest) (resp *vtctldatapb.LookupVindexCreateResponse, err error)
LookupVindexCreate is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) LookupVindexExternalize ¶ added in v0.18.0
func (s *VtctldServer) LookupVindexExternalize(ctx context.Context, req *vtctldatapb.LookupVindexExternalizeRequest) (resp *vtctldatapb.LookupVindexExternalizeResponse, err error)
LookupVindexExternalize is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) MaterializeCreate ¶ added in v0.18.0
func (s *VtctldServer) MaterializeCreate(ctx context.Context, req *vtctldatapb.MaterializeCreateRequest) (resp *vtctldatapb.MaterializeCreateResponse, err error)
MaterializeCreate is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) MigrateCreate ¶ added in v0.18.0
func (s *VtctldServer) MigrateCreate(ctx context.Context, req *vtctldatapb.MigrateCreateRequest) (resp *vtctldatapb.WorkflowStatusResponse, err error)
MigrateCreate is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) MountList ¶ added in v0.18.0
func (s *VtctldServer) MountList(ctx context.Context, req *vtctldatapb.MountListRequest) (resp *vtctldatapb.MountListResponse, err error)
MountList is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) MountRegister ¶ added in v0.18.0
func (s *VtctldServer) MountRegister(ctx context.Context, req *vtctldatapb.MountRegisterRequest) (resp *vtctldatapb.MountRegisterResponse, err error)
MountRegister is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) MountShow ¶ added in v0.18.0
func (s *VtctldServer) MountShow(ctx context.Context, req *vtctldatapb.MountShowRequest) (resp *vtctldatapb.MountShowResponse, err error)
MountShow is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) MountUnregister ¶ added in v0.18.0
func (s *VtctldServer) MountUnregister(ctx context.Context, req *vtctldatapb.MountUnregisterRequest) (resp *vtctldatapb.MountUnregisterResponse, err error)
MountUnregister is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) MoveTablesComplete ¶ added in v0.18.0
func (s *VtctldServer) MoveTablesComplete(ctx context.Context, req *vtctldatapb.MoveTablesCompleteRequest) (resp *vtctldatapb.MoveTablesCompleteResponse, err error)
MoveTablesComplete is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) MoveTablesCreate ¶ added in v0.18.0
func (s *VtctldServer) MoveTablesCreate(ctx context.Context, req *vtctldatapb.MoveTablesCreateRequest) (resp *vtctldatapb.WorkflowStatusResponse, err error)
MoveTablesCreate is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) PingTablet ¶ added in v0.12.0
func (s *VtctldServer) PingTablet(ctx context.Context, req *vtctldatapb.PingTabletRequest) (resp *vtctldatapb.PingTabletResponse, err error)
PingTablet is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) PlannedReparentShard ¶ added in v0.10.0
func (s *VtctldServer) PlannedReparentShard(ctx context.Context, req *vtctldatapb.PlannedReparentShardRequest) (resp *vtctldatapb.PlannedReparentShardResponse, err error)
PlannedReparentShard is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) RebuildKeyspaceGraph ¶ added in v0.12.0
func (s *VtctldServer) RebuildKeyspaceGraph(ctx context.Context, req *vtctldatapb.RebuildKeyspaceGraphRequest) (resp *vtctldatapb.RebuildKeyspaceGraphResponse, err error)
RebuildKeyspaceGraph is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) RebuildVSchemaGraph ¶ added in v0.11.0
func (s *VtctldServer) RebuildVSchemaGraph(ctx context.Context, req *vtctldatapb.RebuildVSchemaGraphRequest) (resp *vtctldatapb.RebuildVSchemaGraphResponse, err error)
RebuildVSchemaGraph is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) RefreshState ¶ added in v0.11.0
func (s *VtctldServer) RefreshState(ctx context.Context, req *vtctldatapb.RefreshStateRequest) (resp *vtctldatapb.RefreshStateResponse, err error)
RefreshState is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) RefreshStateByShard ¶ added in v0.11.0
func (s *VtctldServer) RefreshStateByShard(ctx context.Context, req *vtctldatapb.RefreshStateByShardRequest) (resp *vtctldatapb.RefreshStateByShardResponse, err error)
RefreshStateByShard is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) ReloadSchema ¶ added in v0.13.0
func (s *VtctldServer) ReloadSchema(ctx context.Context, req *vtctldatapb.ReloadSchemaRequest) (resp *vtctldatapb.ReloadSchemaResponse, err error)
ReloadSchema is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ReloadSchemaKeyspace ¶ added in v0.13.0
func (s *VtctldServer) ReloadSchemaKeyspace(ctx context.Context, req *vtctldatapb.ReloadSchemaKeyspaceRequest) (resp *vtctldatapb.ReloadSchemaKeyspaceResponse, err error)
ReloadSchemaKeyspace is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ReloadSchemaShard ¶ added in v0.13.0
func (s *VtctldServer) ReloadSchemaShard(ctx context.Context, req *vtctldatapb.ReloadSchemaShardRequest) (resp *vtctldatapb.ReloadSchemaShardResponse, err error)
ReloadSchemaShard is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) RemoveBackup ¶ added in v0.14.0
func (s *VtctldServer) RemoveBackup(ctx context.Context, req *vtctldatapb.RemoveBackupRequest) (resp *vtctldatapb.RemoveBackupResponse, err error)
RemoveBackup is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) RemoveKeyspaceCell ¶ added in v0.10.0
func (s *VtctldServer) RemoveKeyspaceCell(ctx context.Context, req *vtctldatapb.RemoveKeyspaceCellRequest) (resp *vtctldatapb.RemoveKeyspaceCellResponse, err error)
RemoveKeyspaceCell is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) RemoveShardCell ¶ added in v0.10.0
func (s *VtctldServer) RemoveShardCell(ctx context.Context, req *vtctldatapb.RemoveShardCellRequest) (resp *vtctldatapb.RemoveShardCellResponse, err error)
RemoveShardCell is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ReparentTablet ¶ added in v0.10.0
func (s *VtctldServer) ReparentTablet(ctx context.Context, req *vtctldatapb.ReparentTabletRequest) (resp *vtctldatapb.ReparentTabletResponse, err error)
ReparentTablet is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) ReshardCreate ¶ added in v0.18.0
func (s *VtctldServer) ReshardCreate(ctx context.Context, req *vtctldatapb.ReshardCreateRequest) (resp *vtctldatapb.WorkflowStatusResponse, err error)
ReshardCreate is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) RestoreFromBackup ¶ added in v0.14.0
func (s *VtctldServer) RestoreFromBackup(req *vtctldatapb.RestoreFromBackupRequest, stream vtctlservicepb.Vtctld_RestoreFromBackupServer) (err error)
func (*VtctldServer) RetrySchemaMigration ¶ added in v0.18.0
func (s *VtctldServer) RetrySchemaMigration(ctx context.Context, req *vtctldatapb.RetrySchemaMigrationRequest) (resp *vtctldatapb.RetrySchemaMigrationResponse, err error)
RetrySchemaMigration is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) RunHealthCheck ¶ added in v0.12.0
func (s *VtctldServer) RunHealthCheck(ctx context.Context, req *vtctldatapb.RunHealthCheckRequest) (resp *vtctldatapb.RunHealthCheckResponse, err error)
RunHealthCheck is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) SetKeyspaceDurabilityPolicy ¶ added in v0.14.0
func (s *VtctldServer) SetKeyspaceDurabilityPolicy(ctx context.Context, req *vtctldatapb.SetKeyspaceDurabilityPolicyRequest) (resp *vtctldatapb.SetKeyspaceDurabilityPolicyResponse, err error)
SetKeyspaceDurabilityPolicy is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) SetKeyspaceServedFrom ¶ added in v0.13.0
func (s *VtctldServer) SetKeyspaceServedFrom(ctx context.Context, req *vtctldatapb.SetKeyspaceServedFromRequest) (resp *vtctldatapb.SetKeyspaceServedFromResponse, err error)
SetKeyspaceServedFrom is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) SetShardIsPrimaryServing ¶ added in v0.12.0
func (s *VtctldServer) SetShardIsPrimaryServing(ctx context.Context, req *vtctldatapb.SetShardIsPrimaryServingRequest) (resp *vtctldatapb.SetShardIsPrimaryServingResponse, err error)
SetShardIsPrimaryServing is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) SetShardTabletControl ¶ added in v0.12.0
func (s *VtctldServer) SetShardTabletControl(ctx context.Context, req *vtctldatapb.SetShardTabletControlRequest) (resp *vtctldatapb.SetShardTabletControlResponse, err error)
SetShardTabletControl is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) SetWritable ¶ added in v0.12.0
func (s *VtctldServer) SetWritable(ctx context.Context, req *vtctldatapb.SetWritableRequest) (resp *vtctldatapb.SetWritableResponse, err error)
SetWritable is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) ShardReplicationAdd ¶ added in v0.14.0
func (s *VtctldServer) ShardReplicationAdd(ctx context.Context, req *vtctldatapb.ShardReplicationAddRequest) (resp *vtctldatapb.ShardReplicationAddResponse, err error)
ShardReplicationAdd is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ShardReplicationFix ¶ added in v0.14.0
func (s *VtctldServer) ShardReplicationFix(ctx context.Context, req *vtctldatapb.ShardReplicationFixRequest) (resp *vtctldatapb.ShardReplicationFixResponse, err error)
ShardReplicationFix is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ShardReplicationPositions ¶ added in v0.10.0
func (s *VtctldServer) ShardReplicationPositions(ctx context.Context, req *vtctldatapb.ShardReplicationPositionsRequest) (resp *vtctldatapb.ShardReplicationPositionsResponse, err error)
ShardReplicationPositions is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) ShardReplicationRemove ¶ added in v0.14.0
func (s *VtctldServer) ShardReplicationRemove(ctx context.Context, req *vtctldatapb.ShardReplicationRemoveRequest) (resp *vtctldatapb.ShardReplicationRemoveResponse, err error)
ShardReplicationRemove is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) SleepTablet ¶ added in v0.12.0
func (s *VtctldServer) SleepTablet(ctx context.Context, req *vtctldatapb.SleepTabletRequest) (resp *vtctldatapb.SleepTabletResponse, err error)
SleepTablet is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) SourceShardAdd ¶ added in v0.14.0
func (s *VtctldServer) SourceShardAdd(ctx context.Context, req *vtctldatapb.SourceShardAddRequest) (resp *vtctldatapb.SourceShardAddResponse, err error)
SourceShardAdd is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) SourceShardDelete ¶ added in v0.14.0
func (s *VtctldServer) SourceShardDelete(ctx context.Context, req *vtctldatapb.SourceShardDeleteRequest) (resp *vtctldatapb.SourceShardDeleteResponse, err error)
SourceShardDelete is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) StartReplication ¶ added in v0.12.0
func (s *VtctldServer) StartReplication(ctx context.Context, req *vtctldatapb.StartReplicationRequest) (resp *vtctldatapb.StartReplicationResponse, err error)
StartReplication is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) StopReplication ¶ added in v0.12.0
func (s *VtctldServer) StopReplication(ctx context.Context, req *vtctldatapb.StopReplicationRequest) (resp *vtctldatapb.StopReplicationResponse, err error)
StopReplication is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) TabletExternallyReparented ¶ added in v0.10.0
func (s *VtctldServer) TabletExternallyReparented(ctx context.Context, req *vtctldatapb.TabletExternallyReparentedRequest) (resp *vtctldatapb.TabletExternallyReparentedResponse, err error)
TabletExternallyReparented is part of the vtctldservicepb.VtctldServer interface.
func (*VtctldServer) UpdateCellInfo ¶ added in v0.11.0
func (s *VtctldServer) UpdateCellInfo(ctx context.Context, req *vtctldatapb.UpdateCellInfoRequest) (resp *vtctldatapb.UpdateCellInfoResponse, err error)
UpdateCellInfo is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) UpdateCellsAlias ¶ added in v0.11.0
func (s *VtctldServer) UpdateCellsAlias(ctx context.Context, req *vtctldatapb.UpdateCellsAliasRequest) (resp *vtctldatapb.UpdateCellsAliasResponse, err error)
UpdateCellsAlias is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) UpdateThrottlerConfig ¶ added in v0.16.0
func (s *VtctldServer) UpdateThrottlerConfig(ctx context.Context, req *vtctldatapb.UpdateThrottlerConfigRequest) (resp *vtctldatapb.UpdateThrottlerConfigResponse, err error)
UpdateThrottlerConfig updates throttler config for all cells
func (*VtctldServer) VDiffCreate ¶ added in v0.18.0
func (s *VtctldServer) VDiffCreate(ctx context.Context, req *vtctldatapb.VDiffCreateRequest) (resp *vtctldatapb.VDiffCreateResponse, err error)
VDiffCreate is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) VDiffDelete ¶ added in v0.18.0
func (s *VtctldServer) VDiffDelete(ctx context.Context, req *vtctldatapb.VDiffDeleteRequest) (resp *vtctldatapb.VDiffDeleteResponse, err error)
VDiffDelete is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) VDiffResume ¶ added in v0.18.0
func (s *VtctldServer) VDiffResume(ctx context.Context, req *vtctldatapb.VDiffResumeRequest) (resp *vtctldatapb.VDiffResumeResponse, err error)
VDiffResume is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) VDiffShow ¶ added in v0.18.0
func (s *VtctldServer) VDiffShow(ctx context.Context, req *vtctldatapb.VDiffShowRequest) (resp *vtctldatapb.VDiffShowResponse, err error)
VDiffShow is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) VDiffStop ¶ added in v0.18.0
func (s *VtctldServer) VDiffStop(ctx context.Context, req *vtctldatapb.VDiffStopRequest) (resp *vtctldatapb.VDiffStopResponse, err error)
VDiffStop is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) Validate ¶ added in v0.12.0
func (s *VtctldServer) Validate(ctx context.Context, req *vtctldatapb.ValidateRequest) (resp *vtctldatapb.ValidateResponse, err error)
Validate is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ValidateKeyspace ¶ added in v0.12.0
func (s *VtctldServer) ValidateKeyspace(ctx context.Context, req *vtctldatapb.ValidateKeyspaceRequest) (resp *vtctldatapb.ValidateKeyspaceResponse, err error)
ValidateKeyspace is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ValidateSchemaKeyspace ¶ added in v0.14.0
func (s *VtctldServer) ValidateSchemaKeyspace(ctx context.Context, req *vtctldatapb.ValidateSchemaKeyspaceRequest) (resp *vtctldatapb.ValidateSchemaKeyspaceResponse, err error)
ValidateSchemaKeyspace is a part of the vtctlservicepb.VtctldServer interface. It will diff the schema from all the tablets in the keyspace.
func (*VtctldServer) ValidateShard ¶ added in v0.12.0
func (s *VtctldServer) ValidateShard(ctx context.Context, req *vtctldatapb.ValidateShardRequest) (resp *vtctldatapb.ValidateShardResponse, err error)
ValidateShard is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) ValidateVSchema ¶ added in v0.14.0
func (s *VtctldServer) ValidateVSchema(ctx context.Context, req *vtctldatapb.ValidateVSchemaRequest) (resp *vtctldatapb.ValidateVSchemaResponse, err error)
ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences
func (*VtctldServer) ValidateVersionKeyspace ¶ added in v0.14.0
func (s *VtctldServer) ValidateVersionKeyspace(ctx context.Context, req *vtctldatapb.ValidateVersionKeyspaceRequest) (resp *vtctldatapb.ValidateVersionKeyspaceResponse, err error)
ValidateVersionKeyspace validates all versions are the same in all tablets in a keyspace
func (*VtctldServer) ValidateVersionShard ¶ added in v0.15.0
func (s *VtctldServer) ValidateVersionShard(ctx context.Context, req *vtctldatapb.ValidateVersionShardRequest) (resp *vtctldatapb.ValidateVersionShardResponse, err error)
ValidateVersionShard validates all versions are the same in all tablets in a shard
func (*VtctldServer) WorkflowDelete ¶ added in v0.18.0
func (s *VtctldServer) WorkflowDelete(ctx context.Context, req *vtctldatapb.WorkflowDeleteRequest) (resp *vtctldatapb.WorkflowDeleteResponse, err error)
WorkflowDelete is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) WorkflowStatus ¶ added in v0.18.0
func (s *VtctldServer) WorkflowStatus(ctx context.Context, req *vtctldatapb.WorkflowStatusRequest) (resp *vtctldatapb.WorkflowStatusResponse, err error)
WorkflowStatus is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) WorkflowSwitchTraffic ¶ added in v0.18.0
func (s *VtctldServer) WorkflowSwitchTraffic(ctx context.Context, req *vtctldatapb.WorkflowSwitchTrafficRequest) (resp *vtctldatapb.WorkflowSwitchTrafficResponse, err error)
WorkflowSwitchTraffic is part of the vtctlservicepb.VtctldServer interface.
func (*VtctldServer) WorkflowUpdate ¶ added in v0.17.0
func (s *VtctldServer) WorkflowUpdate(ctx context.Context, req *vtctldatapb.WorkflowUpdateRequest) (resp *vtctldatapb.WorkflowUpdateResponse, err error)
WorkflowUpdate is part of the vtctlservicepb.VtctldServer interface.