Documentation
¶
Index ¶
- type DestinationServer
- func (s *DestinationServer) Close(ctx context.Context, _ *pb.Close_Request) (*pb.Close_Response, error)
- func (s *DestinationServer) Configure(ctx context.Context, req *pb.Configure_Request) (*pb.Configure_Response, error)
- func (s *DestinationServer) DeleteStale(ctx context.Context, req *pb.DeleteStale_Request) (*pb.DeleteStale_Response, error)
- func (s *DestinationServer) GetMetrics(context.Context, *pb.GetDestinationMetrics_Request) (*pb.GetDestinationMetrics_Response, error)
- func (s *DestinationServer) GetName(context.Context, *pb.GetName_Request) (*pb.GetName_Response, error)
- func (*DestinationServer) GetProtocolVersion(context.Context, *pb.GetProtocolVersion_Request) (*pb.GetProtocolVersion_Response, error)
- func (s *DestinationServer) GetVersion(context.Context, *pb.GetVersion_Request) (*pb.GetVersion_Response, error)
- func (s *DestinationServer) Migrate(ctx context.Context, req *pb.Migrate_Request) (*pb.Migrate_Response, error)
- func (*DestinationServer) Write(pb.Destination_WriteServer) error
- func (s *DestinationServer) Write2(msg pb.Destination_Write2Server) error
- type SourceServer
- func (s *SourceServer) GetMetrics(context.Context, *pb.GetSourceMetrics_Request) (*pb.GetSourceMetrics_Response, error)
- func (s *SourceServer) GetName(context.Context, *pb.GetName_Request) (*pb.GetName_Response, error)
- func (*SourceServer) GetProtocolVersion(context.Context, *pb.GetProtocolVersion_Request) (*pb.GetProtocolVersion_Response, error)
- func (*SourceServer) GetSyncSummary(context.Context, *pb.GetSyncSummary_Request) (*pb.GetSyncSummary_Response, error)
- func (s *SourceServer) GetTables(context.Context, *pb.GetTables_Request) (*pb.GetTables_Response, error)
- func (s *SourceServer) GetVersion(context.Context, *pb.GetVersion_Request) (*pb.GetVersion_Response, error)
- func (*SourceServer) Sync(*pb.Sync_Request, pb.Source_SyncServer) error
- func (s *SourceServer) Sync2(req *pb.Sync2_Request, stream pb.Source_Sync2Server) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestinationServer ¶
type DestinationServer struct { pb.UnimplementedDestinationServer Plugin *plugins.DestinationPlugin Logger zerolog.Logger }
func (*DestinationServer) Close ¶ added in v0.11.4
func (s *DestinationServer) Close(ctx context.Context, _ *pb.Close_Request) (*pb.Close_Response, error)
func (*DestinationServer) Configure ¶
func (s *DestinationServer) Configure(ctx context.Context, req *pb.Configure_Request) (*pb.Configure_Response, error)
func (*DestinationServer) DeleteStale ¶ added in v0.12.0
func (s *DestinationServer) DeleteStale(ctx context.Context, req *pb.DeleteStale_Request) (*pb.DeleteStale_Response, error)
func (*DestinationServer) GetMetrics ¶ added in v0.13.15
func (s *DestinationServer) GetMetrics(context.Context, *pb.GetDestinationMetrics_Request) (*pb.GetDestinationMetrics_Response, error)
func (*DestinationServer) GetName ¶ added in v0.0.10
func (s *DestinationServer) GetName(context.Context, *pb.GetName_Request) (*pb.GetName_Response, error)
func (*DestinationServer) GetProtocolVersion ¶ added in v0.13.8
func (*DestinationServer) GetProtocolVersion(context.Context, *pb.GetProtocolVersion_Request) (*pb.GetProtocolVersion_Response, error)
func (*DestinationServer) GetVersion ¶ added in v0.0.10
func (s *DestinationServer) GetVersion(context.Context, *pb.GetVersion_Request) (*pb.GetVersion_Response, error)
func (*DestinationServer) Migrate ¶ added in v0.9.0
func (s *DestinationServer) Migrate(ctx context.Context, req *pb.Migrate_Request) (*pb.Migrate_Response, error)
func (*DestinationServer) Write ¶ added in v0.0.4
func (*DestinationServer) Write(pb.Destination_WriteServer) error
func (*DestinationServer) Write2 ¶ added in v0.13.16
func (s *DestinationServer) Write2(msg pb.Destination_Write2Server) error
Note the order of operations in this method is important! Trying to insert into the `resources` channel before starting the reader goroutine will cause a deadlock.
type SourceServer ¶
type SourceServer struct { pb.UnimplementedSourceServer Plugin *plugins.SourcePlugin Logger zerolog.Logger }
func (*SourceServer) GetMetrics ¶ added in v0.13.15
func (s *SourceServer) GetMetrics(context.Context, *pb.GetSourceMetrics_Request) (*pb.GetSourceMetrics_Response, error)
func (*SourceServer) GetName ¶ added in v0.0.10
func (s *SourceServer) GetName(context.Context, *pb.GetName_Request) (*pb.GetName_Response, error)
func (*SourceServer) GetProtocolVersion ¶ added in v0.13.8
func (*SourceServer) GetProtocolVersion(context.Context, *pb.GetProtocolVersion_Request) (*pb.GetProtocolVersion_Response, error)
func (*SourceServer) GetSyncSummary ¶ added in v0.12.0
func (*SourceServer) GetSyncSummary(context.Context, *pb.GetSyncSummary_Request) (*pb.GetSyncSummary_Response, error)
func (*SourceServer) GetTables ¶
func (s *SourceServer) GetTables(context.Context, *pb.GetTables_Request) (*pb.GetTables_Response, error)
func (*SourceServer) GetVersion ¶ added in v0.0.10
func (s *SourceServer) GetVersion(context.Context, *pb.GetVersion_Request) (*pb.GetVersion_Response, error)
func (*SourceServer) Sync ¶ added in v0.0.4
func (*SourceServer) Sync(*pb.Sync_Request, pb.Source_SyncServer) error
func (*SourceServer) Sync2 ¶ added in v0.13.16
func (s *SourceServer) Sync2(req *pb.Sync2_Request, stream pb.Source_Sync2Server) error
Click to show internal directories.
Click to hide internal directories.