Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterMysqlCtlServer(s grpc.ServiceRegistrar, srv MysqlCtlServer)
- type MysqlCtlClient
- type MysqlCtlServer
- type UnimplementedMysqlCtlServer
- func (UnimplementedMysqlCtlServer) ApplyBinlogFile(context.Context, *v17.ApplyBinlogFileRequest) (*v17.ApplyBinlogFileResponse, error)
- func (UnimplementedMysqlCtlServer) RefreshConfig(context.Context, *v17.RefreshConfigRequest) (*v17.RefreshConfigResponse, error)
- func (UnimplementedMysqlCtlServer) ReinitConfig(context.Context, *v17.ReinitConfigRequest) (*v17.ReinitConfigResponse, error)
- func (UnimplementedMysqlCtlServer) RunMysqlUpgrade(context.Context, *v17.RunMysqlUpgradeRequest) (*v17.RunMysqlUpgradeResponse, error)
- func (UnimplementedMysqlCtlServer) Shutdown(context.Context, *v17.ShutdownRequest) (*v17.ShutdownResponse, error)
- func (UnimplementedMysqlCtlServer) Start(context.Context, *v17.StartRequest) (*v17.StartResponse, error)
- type UnsafeMysqlCtlServer
Constants ¶
const ( MysqlCtl_Start_FullMethodName = "/vitess.mysqlctl.v17.MysqlCtl/Start" MysqlCtl_Shutdown_FullMethodName = "/vitess.mysqlctl.v17.MysqlCtl/Shutdown" MysqlCtl_RunMysqlUpgrade_FullMethodName = "/vitess.mysqlctl.v17.MysqlCtl/RunMysqlUpgrade" MysqlCtl_ApplyBinlogFile_FullMethodName = "/vitess.mysqlctl.v17.MysqlCtl/ApplyBinlogFile" MysqlCtl_ReinitConfig_FullMethodName = "/vitess.mysqlctl.v17.MysqlCtl/ReinitConfig" MysqlCtl_RefreshConfig_FullMethodName = "/vitess.mysqlctl.v17.MysqlCtl/RefreshConfig" )
Variables ¶
var MysqlCtl_ServiceDesc = grpc.ServiceDesc{ ServiceName: "vitess.mysqlctl.v17.MysqlCtl", HandlerType: (*MysqlCtlServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Start", Handler: _MysqlCtl_Start_Handler, }, { MethodName: "Shutdown", Handler: _MysqlCtl_Shutdown_Handler, }, { MethodName: "RunMysqlUpgrade", Handler: _MysqlCtl_RunMysqlUpgrade_Handler, }, { MethodName: "ApplyBinlogFile", Handler: _MysqlCtl_ApplyBinlogFile_Handler, }, { MethodName: "ReinitConfig", Handler: _MysqlCtl_ReinitConfig_Handler, }, { MethodName: "RefreshConfig", Handler: _MysqlCtl_RefreshConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "vitess/mysqlctl/v17/mysqlctl.proto", }
MysqlCtl_ServiceDesc is the grpc.ServiceDesc for MysqlCtl service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMysqlCtlServer ¶
func RegisterMysqlCtlServer(s grpc.ServiceRegistrar, srv MysqlCtlServer)
Types ¶
type MysqlCtlClient ¶
type MysqlCtlClient interface { Start(ctx context.Context, in *v17.StartRequest, opts ...grpc.CallOption) (*v17.StartResponse, error) Shutdown(ctx context.Context, in *v17.ShutdownRequest, opts ...grpc.CallOption) (*v17.ShutdownResponse, error) RunMysqlUpgrade(ctx context.Context, in *v17.RunMysqlUpgradeRequest, opts ...grpc.CallOption) (*v17.RunMysqlUpgradeResponse, error) ApplyBinlogFile(ctx context.Context, in *v17.ApplyBinlogFileRequest, opts ...grpc.CallOption) (*v17.ApplyBinlogFileResponse, error) ReinitConfig(ctx context.Context, in *v17.ReinitConfigRequest, opts ...grpc.CallOption) (*v17.ReinitConfigResponse, error) RefreshConfig(ctx context.Context, in *v17.RefreshConfigRequest, opts ...grpc.CallOption) (*v17.RefreshConfigResponse, error) }
MysqlCtlClient is the client API for MysqlCtl 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 NewMysqlCtlClient ¶
func NewMysqlCtlClient(cc grpc.ClientConnInterface) MysqlCtlClient
type MysqlCtlServer ¶
type MysqlCtlServer interface { Start(context.Context, *v17.StartRequest) (*v17.StartResponse, error) Shutdown(context.Context, *v17.ShutdownRequest) (*v17.ShutdownResponse, error) RunMysqlUpgrade(context.Context, *v17.RunMysqlUpgradeRequest) (*v17.RunMysqlUpgradeResponse, error) ApplyBinlogFile(context.Context, *v17.ApplyBinlogFileRequest) (*v17.ApplyBinlogFileResponse, error) ReinitConfig(context.Context, *v17.ReinitConfigRequest) (*v17.ReinitConfigResponse, error) RefreshConfig(context.Context, *v17.RefreshConfigRequest) (*v17.RefreshConfigResponse, error) }
MysqlCtlServer is the server API for MysqlCtl service. All implementations should embed UnimplementedMysqlCtlServer for forward compatibility
type UnimplementedMysqlCtlServer ¶
type UnimplementedMysqlCtlServer struct { }
UnimplementedMysqlCtlServer should be embedded to have forward compatible implementations.
func (UnimplementedMysqlCtlServer) ApplyBinlogFile ¶
func (UnimplementedMysqlCtlServer) ApplyBinlogFile(context.Context, *v17.ApplyBinlogFileRequest) (*v17.ApplyBinlogFileResponse, error)
func (UnimplementedMysqlCtlServer) RefreshConfig ¶
func (UnimplementedMysqlCtlServer) RefreshConfig(context.Context, *v17.RefreshConfigRequest) (*v17.RefreshConfigResponse, error)
func (UnimplementedMysqlCtlServer) ReinitConfig ¶
func (UnimplementedMysqlCtlServer) ReinitConfig(context.Context, *v17.ReinitConfigRequest) (*v17.ReinitConfigResponse, error)
func (UnimplementedMysqlCtlServer) RunMysqlUpgrade ¶
func (UnimplementedMysqlCtlServer) RunMysqlUpgrade(context.Context, *v17.RunMysqlUpgradeRequest) (*v17.RunMysqlUpgradeResponse, error)
func (UnimplementedMysqlCtlServer) Shutdown ¶
func (UnimplementedMysqlCtlServer) Shutdown(context.Context, *v17.ShutdownRequest) (*v17.ShutdownResponse, error)
func (UnimplementedMysqlCtlServer) Start ¶
func (UnimplementedMysqlCtlServer) Start(context.Context, *v17.StartRequest) (*v17.StartResponse, error)
type UnsafeMysqlCtlServer ¶
type UnsafeMysqlCtlServer interface {
// contains filtered or unexported methods
}
UnsafeMysqlCtlServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MysqlCtlServer will result in compilation errors.