Documentation
¶
Index ¶
- Variables
- func RegisterDestinationServer(s grpc.ServiceRegistrar, srv DestinationServer)
- func RegisterSourceServer(s grpc.ServiceRegistrar, srv SourceServer)
- type Close
- type Close_Request
- type Close_Response
- type Configure
- type Configure_Request
- type Configure_Response
- func (*Configure_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Configure_Response) GetError() string
- func (*Configure_Response) ProtoMessage()
- func (x *Configure_Response) ProtoReflect() protoreflect.Message
- func (x *Configure_Response) Reset()
- func (x *Configure_Response) String() string
- type DeleteStale
- type DeleteStale_Request
- func (*DeleteStale_Request) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStale_Request) GetSource() string
- func (x *DeleteStale_Request) GetTables() []byte
- func (x *DeleteStale_Request) GetTimestamp() *timestamppb.Timestamp
- func (*DeleteStale_Request) ProtoMessage()
- func (x *DeleteStale_Request) ProtoReflect() protoreflect.Message
- func (x *DeleteStale_Request) Reset()
- func (x *DeleteStale_Request) String() string
- type DeleteStale_Response
- func (*DeleteStale_Response) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStale_Response) GetFailedDeletes() uint64
- func (*DeleteStale_Response) ProtoMessage()
- func (x *DeleteStale_Response) ProtoReflect() protoreflect.Message
- func (x *DeleteStale_Response) Reset()
- func (x *DeleteStale_Response) String() string
- type DestinationClient
- type DestinationServer
- type Destination_Write2Client
- type Destination_Write2Server
- type Destination_WriteClient
- type Destination_WriteServer
- type GetDestinationMetrics
- type GetDestinationMetrics_Request
- func (*GetDestinationMetrics_Request) Descriptor() ([]byte, []int)deprecated
- func (*GetDestinationMetrics_Request) ProtoMessage()
- func (x *GetDestinationMetrics_Request) ProtoReflect() protoreflect.Message
- func (x *GetDestinationMetrics_Request) Reset()
- func (x *GetDestinationMetrics_Request) String() string
- type GetDestinationMetrics_Response
- func (*GetDestinationMetrics_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetDestinationMetrics_Response) GetMetrics() []byte
- func (*GetDestinationMetrics_Response) ProtoMessage()
- func (x *GetDestinationMetrics_Response) ProtoReflect() protoreflect.Message
- func (x *GetDestinationMetrics_Response) Reset()
- func (x *GetDestinationMetrics_Response) String() string
- type GetName
- type GetName_Request
- type GetName_Response
- type GetProtocolVersion
- type GetProtocolVersion_Request
- type GetProtocolVersion_Response
- func (*GetProtocolVersion_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetProtocolVersion_Response) GetVersion() uint64
- func (*GetProtocolVersion_Response) ProtoMessage()
- func (x *GetProtocolVersion_Response) ProtoReflect() protoreflect.Message
- func (x *GetProtocolVersion_Response) Reset()
- func (x *GetProtocolVersion_Response) String() string
- type GetSourceMetrics
- type GetSourceMetrics_Request
- type GetSourceMetrics_Response
- func (*GetSourceMetrics_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetSourceMetrics_Response) GetMetrics() []byte
- func (*GetSourceMetrics_Response) ProtoMessage()
- func (x *GetSourceMetrics_Response) ProtoReflect() protoreflect.Message
- func (x *GetSourceMetrics_Response) Reset()
- func (x *GetSourceMetrics_Response) String() string
- type GetSyncSummary
- type GetSyncSummary_Request
- type GetSyncSummary_Response
- func (*GetSyncSummary_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetSyncSummary_Response) GetSummary() []byte
- func (*GetSyncSummary_Response) ProtoMessage()
- func (x *GetSyncSummary_Response) ProtoReflect() protoreflect.Message
- func (x *GetSyncSummary_Response) Reset()
- func (x *GetSyncSummary_Response) String() string
- type GetTables
- type GetTablesForSpec
- type GetTablesForSpec_Request
- func (*GetTablesForSpec_Request) Descriptor() ([]byte, []int)deprecated
- func (x *GetTablesForSpec_Request) GetSpec() []byte
- func (*GetTablesForSpec_Request) ProtoMessage()
- func (x *GetTablesForSpec_Request) ProtoReflect() protoreflect.Message
- func (x *GetTablesForSpec_Request) Reset()
- func (x *GetTablesForSpec_Request) String() string
- type GetTablesForSpec_Response
- func (*GetTablesForSpec_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetTablesForSpec_Response) GetName() string
- func (x *GetTablesForSpec_Response) GetTables() []byte
- func (x *GetTablesForSpec_Response) GetVersion() string
- func (*GetTablesForSpec_Response) ProtoMessage()
- func (x *GetTablesForSpec_Response) ProtoReflect() protoreflect.Message
- func (x *GetTablesForSpec_Response) Reset()
- func (x *GetTablesForSpec_Response) String() string
- type GetTables_Request
- type GetTables_Response
- func (*GetTables_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetTables_Response) GetName() string
- func (x *GetTables_Response) GetTables() []byte
- func (x *GetTables_Response) GetVersion() string
- func (*GetTables_Response) ProtoMessage()
- func (x *GetTables_Response) ProtoReflect() protoreflect.Message
- func (x *GetTables_Response) Reset()
- func (x *GetTables_Response) String() string
- type GetVersion
- type GetVersion_Request
- type GetVersion_Response
- func (*GetVersion_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetVersion_Response) GetVersion() string
- func (*GetVersion_Response) ProtoMessage()
- func (x *GetVersion_Response) ProtoReflect() protoreflect.Message
- func (x *GetVersion_Response) Reset()
- func (x *GetVersion_Response) String() string
- type Migrate
- type Migrate_Request
- func (*Migrate_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Migrate_Request) GetName() string
- func (x *Migrate_Request) GetTables() []byte
- func (x *Migrate_Request) GetVersion() string
- func (*Migrate_Request) ProtoMessage()
- func (x *Migrate_Request) ProtoReflect() protoreflect.Message
- func (x *Migrate_Request) Reset()
- func (x *Migrate_Request) String() string
- type Migrate_Response
- type SourceClient
- type SourceServer
- type Source_Sync2Client
- type Source_Sync2Server
- type Source_SyncClient
- type Source_SyncServer
- type Sync
- type Sync2
- type Sync2_Request
- type Sync2_Response
- type Sync_Request
- func (*Sync_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Sync_Request) GetSpec() []byte
- func (x *Sync_Request) GetTimestamp() *timestamppb.Timestamp
- func (*Sync_Request) ProtoMessage()
- func (x *Sync_Request) ProtoReflect() protoreflect.Message
- func (x *Sync_Request) Reset()
- func (x *Sync_Request) String() string
- type Sync_Response
- type UnimplementedDestinationServer
- func (UnimplementedDestinationServer) Close(context.Context, *Close_Request) (*Close_Response, error)
- func (UnimplementedDestinationServer) Configure(context.Context, *Configure_Request) (*Configure_Response, error)
- func (UnimplementedDestinationServer) DeleteStale(context.Context, *DeleteStale_Request) (*DeleteStale_Response, error)
- func (UnimplementedDestinationServer) GetMetrics(context.Context, *GetDestinationMetrics_Request) (*GetDestinationMetrics_Response, error)
- func (UnimplementedDestinationServer) GetName(context.Context, *GetName_Request) (*GetName_Response, error)
- func (UnimplementedDestinationServer) GetProtocolVersion(context.Context, *GetProtocolVersion_Request) (*GetProtocolVersion_Response, error)
- func (UnimplementedDestinationServer) GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error)
- func (UnimplementedDestinationServer) Migrate(context.Context, *Migrate_Request) (*Migrate_Response, error)
- func (UnimplementedDestinationServer) Write(Destination_WriteServer) error
- func (UnimplementedDestinationServer) Write2(Destination_Write2Server) error
- type UnimplementedSourceServer
- func (UnimplementedSourceServer) GetMetrics(context.Context, *GetSourceMetrics_Request) (*GetSourceMetrics_Response, error)
- func (UnimplementedSourceServer) GetName(context.Context, *GetName_Request) (*GetName_Response, error)
- func (UnimplementedSourceServer) GetProtocolVersion(context.Context, *GetProtocolVersion_Request) (*GetProtocolVersion_Response, error)
- func (UnimplementedSourceServer) GetSyncSummary(context.Context, *GetSyncSummary_Request) (*GetSyncSummary_Response, error)
- func (UnimplementedSourceServer) GetTables(context.Context, *GetTables_Request) (*GetTables_Response, error)
- func (UnimplementedSourceServer) GetTablesForSpec(context.Context, *GetTablesForSpec_Request) (*GetTablesForSpec_Response, error)
- func (UnimplementedSourceServer) GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error)
- func (UnimplementedSourceServer) Sync(*Sync_Request, Source_SyncServer) error
- func (UnimplementedSourceServer) Sync2(*Sync2_Request, Source_Sync2Server) error
- type UnsafeDestinationServer
- type UnsafeSourceServer
- type Write
- type Write2
- type Write2_Request
- func (*Write2_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Write2_Request) GetResource() []byte
- func (x *Write2_Request) GetSource() string
- func (x *Write2_Request) GetTables() []byte
- func (x *Write2_Request) GetTimestamp() *timestamppb.Timestamp
- func (*Write2_Request) ProtoMessage()
- func (x *Write2_Request) ProtoReflect() protoreflect.Message
- func (x *Write2_Request) Reset()
- func (x *Write2_Request) String() string
- type Write2_Response
- type Write_Request
- func (*Write_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Write_Request) GetResource() []byte
- func (x *Write_Request) GetSource() string
- func (x *Write_Request) GetTimestamp() *timestamppb.Timestamp
- func (*Write_Request) ProtoMessage()
- func (x *Write_Request) ProtoReflect() protoreflect.Message
- func (x *Write_Request) Reset()
- func (x *Write_Request) String() string
- type Write_Response
Constants ¶
This section is empty.
Variables ¶
var Destination_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Destination", HandlerType: (*DestinationServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProtocolVersion", Handler: _Destination_GetProtocolVersion_Handler, }, { MethodName: "GetName", Handler: _Destination_GetName_Handler, }, { MethodName: "GetVersion", Handler: _Destination_GetVersion_Handler, }, { MethodName: "Configure", Handler: _Destination_Configure_Handler, }, { MethodName: "Migrate", Handler: _Destination_Migrate_Handler, }, { MethodName: "Close", Handler: _Destination_Close_Handler, }, { MethodName: "DeleteStale", Handler: _Destination_DeleteStale_Handler, }, { MethodName: "GetMetrics", Handler: _Destination_GetMetrics_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Write", Handler: _Destination_Write_Handler, ClientStreams: true, }, { StreamName: "Write2", Handler: _Destination_Write2_Handler, ClientStreams: true, }, }, Metadata: "internal/pb/destination.proto", }
Destination_ServiceDesc is the grpc.ServiceDesc for Destination service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_internal_pb_base_proto protoreflect.FileDescriptor
var File_internal_pb_destination_proto protoreflect.FileDescriptor
var File_internal_pb_source_proto protoreflect.FileDescriptor
var Source_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Source", HandlerType: (*SourceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProtocolVersion", Handler: _Source_GetProtocolVersion_Handler, }, { MethodName: "GetName", Handler: _Source_GetName_Handler, }, { MethodName: "GetVersion", Handler: _Source_GetVersion_Handler, }, { MethodName: "GetTables", Handler: _Source_GetTables_Handler, }, { MethodName: "GetTablesForSpec", Handler: _Source_GetTablesForSpec_Handler, }, { MethodName: "GetSyncSummary", Handler: _Source_GetSyncSummary_Handler, }, { MethodName: "GetMetrics", Handler: _Source_GetMetrics_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Sync", Handler: _Source_Sync_Handler, ServerStreams: true, }, { StreamName: "Sync2", Handler: _Source_Sync2_Handler, ServerStreams: true, }, }, Metadata: "internal/pb/source.proto", }
Source_ServiceDesc is the grpc.ServiceDesc for Source service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDestinationServer ¶
func RegisterDestinationServer(s grpc.ServiceRegistrar, srv DestinationServer)
func RegisterSourceServer ¶
func RegisterSourceServer(s grpc.ServiceRegistrar, srv SourceServer)
Types ¶
type Close ¶ added in v0.11.4
type Close struct {
// contains filtered or unexported fields
}
func (*Close) Descriptor
deprecated
added in
v0.11.4
func (*Close) ProtoMessage ¶ added in v0.11.4
func (*Close) ProtoMessage()
func (*Close) ProtoReflect ¶ added in v0.11.4
func (x *Close) ProtoReflect() protoreflect.Message
type Close_Request ¶ added in v0.11.4
type Close_Request struct {
// contains filtered or unexported fields
}
func (*Close_Request) Descriptor
deprecated
added in
v0.11.4
func (*Close_Request) Descriptor() ([]byte, []int)
Deprecated: Use Close_Request.ProtoReflect.Descriptor instead.
func (*Close_Request) ProtoMessage ¶ added in v0.11.4
func (*Close_Request) ProtoMessage()
func (*Close_Request) ProtoReflect ¶ added in v0.11.4
func (x *Close_Request) ProtoReflect() protoreflect.Message
func (*Close_Request) Reset ¶ added in v0.11.4
func (x *Close_Request) Reset()
func (*Close_Request) String ¶ added in v0.11.4
func (x *Close_Request) String() string
type Close_Response ¶ added in v0.11.4
type Close_Response struct {
// contains filtered or unexported fields
}
func (*Close_Response) Descriptor
deprecated
added in
v0.11.4
func (*Close_Response) Descriptor() ([]byte, []int)
Deprecated: Use Close_Response.ProtoReflect.Descriptor instead.
func (*Close_Response) ProtoMessage ¶ added in v0.11.4
func (*Close_Response) ProtoMessage()
func (*Close_Response) ProtoReflect ¶ added in v0.11.4
func (x *Close_Response) ProtoReflect() protoreflect.Message
func (*Close_Response) Reset ¶ added in v0.11.4
func (x *Close_Response) Reset()
func (*Close_Response) String ¶ added in v0.11.4
func (x *Close_Response) String() string
type Configure ¶
type Configure struct {
// contains filtered or unexported fields
}
func (*Configure) Descriptor
deprecated
func (*Configure) ProtoMessage ¶
func (*Configure) ProtoMessage()
func (*Configure) ProtoReflect ¶
func (x *Configure) ProtoReflect() protoreflect.Message
type Configure_Request ¶
type Configure_Request struct { // Holds information such as credentials, regions, accounts, etc' // Marshalled spec.SourceSpec or spec.DestinationSpec Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*Configure_Request) Descriptor
deprecated
func (*Configure_Request) Descriptor() ([]byte, []int)
Deprecated: Use Configure_Request.ProtoReflect.Descriptor instead.
func (*Configure_Request) GetConfig ¶
func (x *Configure_Request) GetConfig() []byte
func (*Configure_Request) ProtoMessage ¶
func (*Configure_Request) ProtoMessage()
func (*Configure_Request) ProtoReflect ¶
func (x *Configure_Request) ProtoReflect() protoreflect.Message
func (*Configure_Request) Reset ¶
func (x *Configure_Request) Reset()
func (*Configure_Request) String ¶
func (x *Configure_Request) String() string
type Configure_Response ¶
type Configure_Response struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Configure_Response) Descriptor
deprecated
func (*Configure_Response) Descriptor() ([]byte, []int)
Deprecated: Use Configure_Response.ProtoReflect.Descriptor instead.
func (*Configure_Response) GetError ¶
func (x *Configure_Response) GetError() string
func (*Configure_Response) ProtoMessage ¶
func (*Configure_Response) ProtoMessage()
func (*Configure_Response) ProtoReflect ¶
func (x *Configure_Response) ProtoReflect() protoreflect.Message
func (*Configure_Response) Reset ¶
func (x *Configure_Response) Reset()
func (*Configure_Response) String ¶
func (x *Configure_Response) String() string
type DeleteStale ¶ added in v0.12.0
type DeleteStale struct {
// contains filtered or unexported fields
}
func (*DeleteStale) Descriptor
deprecated
added in
v0.12.0
func (*DeleteStale) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStale.ProtoReflect.Descriptor instead.
func (*DeleteStale) ProtoMessage ¶ added in v0.12.0
func (*DeleteStale) ProtoMessage()
func (*DeleteStale) ProtoReflect ¶ added in v0.12.0
func (x *DeleteStale) ProtoReflect() protoreflect.Message
func (*DeleteStale) Reset ¶ added in v0.12.0
func (x *DeleteStale) Reset()
func (*DeleteStale) String ¶ added in v0.12.0
func (x *DeleteStale) String() string
type DeleteStale_Request ¶ added in v0.12.0
type DeleteStale_Request struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Tables []byte `protobuf:"bytes,3,opt,name=tables,proto3" json:"tables,omitempty"` // contains filtered or unexported fields }
func (*DeleteStale_Request) Descriptor
deprecated
added in
v0.12.0
func (*DeleteStale_Request) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStale_Request.ProtoReflect.Descriptor instead.
func (*DeleteStale_Request) GetSource ¶ added in v0.12.0
func (x *DeleteStale_Request) GetSource() string
func (*DeleteStale_Request) GetTables ¶ added in v0.12.0
func (x *DeleteStale_Request) GetTables() []byte
func (*DeleteStale_Request) GetTimestamp ¶ added in v0.12.0
func (x *DeleteStale_Request) GetTimestamp() *timestamppb.Timestamp
func (*DeleteStale_Request) ProtoMessage ¶ added in v0.12.0
func (*DeleteStale_Request) ProtoMessage()
func (*DeleteStale_Request) ProtoReflect ¶ added in v0.12.0
func (x *DeleteStale_Request) ProtoReflect() protoreflect.Message
func (*DeleteStale_Request) Reset ¶ added in v0.12.0
func (x *DeleteStale_Request) Reset()
func (*DeleteStale_Request) String ¶ added in v0.12.0
func (x *DeleteStale_Request) String() string
type DeleteStale_Response ¶ added in v0.12.0
type DeleteStale_Response struct { FailedDeletes uint64 `protobuf:"varint,1,opt,name=failed_deletes,json=failedDeletes,proto3" json:"failed_deletes,omitempty"` // contains filtered or unexported fields }
func (*DeleteStale_Response) Descriptor
deprecated
added in
v0.12.0
func (*DeleteStale_Response) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStale_Response.ProtoReflect.Descriptor instead.
func (*DeleteStale_Response) GetFailedDeletes ¶ added in v0.12.0
func (x *DeleteStale_Response) GetFailedDeletes() uint64
func (*DeleteStale_Response) ProtoMessage ¶ added in v0.12.0
func (*DeleteStale_Response) ProtoMessage()
func (*DeleteStale_Response) ProtoReflect ¶ added in v0.12.0
func (x *DeleteStale_Response) ProtoReflect() protoreflect.Message
func (*DeleteStale_Response) Reset ¶ added in v0.12.0
func (x *DeleteStale_Response) Reset()
func (*DeleteStale_Response) String ¶ added in v0.12.0
func (x *DeleteStale_Response) String() string
type DestinationClient ¶
type DestinationClient interface { // Get the current protocol version of the plugin. This helps // get the right message about upgrade/downgrade of cli and/or plugin. // Also, on the cli side it can try to upgrade/downgrade the protocol if cli supports it. GetProtocolVersion(ctx context.Context, in *GetProtocolVersion_Request, opts ...grpc.CallOption) (*GetProtocolVersion_Response, error) // Get the name of the plugin GetName(ctx context.Context, in *GetName_Request, opts ...grpc.CallOption) (*GetName_Response, error) // Get the current version of the plugin GetVersion(ctx context.Context, in *GetVersion_Request, opts ...grpc.CallOption) (*GetVersion_Response, error) // Configure the plugin with the given credentials and mode Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) // Migrate tables to the given plugin version Migrate(ctx context.Context, in *Migrate_Request, opts ...grpc.CallOption) (*Migrate_Response, error) // Write resources Write(ctx context.Context, opts ...grpc.CallOption) (Destination_WriteClient, error) // Write2 resources Write2(ctx context.Context, opts ...grpc.CallOption) (Destination_Write2Client, error) // Send signal to flush and close open connections Close(ctx context.Context, in *Close_Request, opts ...grpc.CallOption) (*Close_Response, error) // DeleteStale deletes stale data that was inserted by a given source // and is older than the given timestamp DeleteStale(ctx context.Context, in *DeleteStale_Request, opts ...grpc.CallOption) (*DeleteStale_Response, error) // Get metrics for the source plugin GetMetrics(ctx context.Context, in *GetDestinationMetrics_Request, opts ...grpc.CallOption) (*GetDestinationMetrics_Response, error) }
DestinationClient is the client API for Destination 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 NewDestinationClient ¶
func NewDestinationClient(cc grpc.ClientConnInterface) DestinationClient
type DestinationServer ¶
type DestinationServer interface { // Get the current protocol version of the plugin. This helps // get the right message about upgrade/downgrade of cli and/or plugin. // Also, on the cli side it can try to upgrade/downgrade the protocol if cli supports it. GetProtocolVersion(context.Context, *GetProtocolVersion_Request) (*GetProtocolVersion_Response, error) // Get the name of the plugin GetName(context.Context, *GetName_Request) (*GetName_Response, error) // Get the current version of the plugin GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error) // Configure the plugin with the given credentials and mode Configure(context.Context, *Configure_Request) (*Configure_Response, error) // Migrate tables to the given plugin version Migrate(context.Context, *Migrate_Request) (*Migrate_Response, error) // Write resources Write(Destination_WriteServer) error // Write2 resources Write2(Destination_Write2Server) error // Send signal to flush and close open connections Close(context.Context, *Close_Request) (*Close_Response, error) // DeleteStale deletes stale data that was inserted by a given source // and is older than the given timestamp DeleteStale(context.Context, *DeleteStale_Request) (*DeleteStale_Response, error) // Get metrics for the source plugin GetMetrics(context.Context, *GetDestinationMetrics_Request) (*GetDestinationMetrics_Response, error) // contains filtered or unexported methods }
DestinationServer is the server API for Destination service. All implementations must embed UnimplementedDestinationServer for forward compatibility
type Destination_Write2Client ¶ added in v0.13.16
type Destination_Write2Client interface { Send(*Write2_Request) error CloseAndRecv() (*Write2_Response, error) grpc.ClientStream }
type Destination_Write2Server ¶ added in v0.13.16
type Destination_Write2Server interface { SendAndClose(*Write2_Response) error Recv() (*Write2_Request, error) grpc.ServerStream }
type Destination_WriteClient ¶ added in v0.0.4
type Destination_WriteClient interface { Send(*Write_Request) error CloseAndRecv() (*Write_Response, error) grpc.ClientStream }
type Destination_WriteServer ¶ added in v0.0.4
type Destination_WriteServer interface { SendAndClose(*Write_Response) error Recv() (*Write_Request, error) grpc.ServerStream }
type GetDestinationMetrics ¶ added in v0.13.15
type GetDestinationMetrics struct {
// contains filtered or unexported fields
}
func (*GetDestinationMetrics) Descriptor
deprecated
added in
v0.13.15
func (*GetDestinationMetrics) Descriptor() ([]byte, []int)
Deprecated: Use GetDestinationMetrics.ProtoReflect.Descriptor instead.
func (*GetDestinationMetrics) ProtoMessage ¶ added in v0.13.15
func (*GetDestinationMetrics) ProtoMessage()
func (*GetDestinationMetrics) ProtoReflect ¶ added in v0.13.15
func (x *GetDestinationMetrics) ProtoReflect() protoreflect.Message
func (*GetDestinationMetrics) Reset ¶ added in v0.13.15
func (x *GetDestinationMetrics) Reset()
func (*GetDestinationMetrics) String ¶ added in v0.13.15
func (x *GetDestinationMetrics) String() string
type GetDestinationMetrics_Request ¶ added in v0.13.15
type GetDestinationMetrics_Request struct {
// contains filtered or unexported fields
}
func (*GetDestinationMetrics_Request) Descriptor
deprecated
added in
v0.13.15
func (*GetDestinationMetrics_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetDestinationMetrics_Request.ProtoReflect.Descriptor instead.
func (*GetDestinationMetrics_Request) ProtoMessage ¶ added in v0.13.15
func (*GetDestinationMetrics_Request) ProtoMessage()
func (*GetDestinationMetrics_Request) ProtoReflect ¶ added in v0.13.15
func (x *GetDestinationMetrics_Request) ProtoReflect() protoreflect.Message
func (*GetDestinationMetrics_Request) Reset ¶ added in v0.13.15
func (x *GetDestinationMetrics_Request) Reset()
func (*GetDestinationMetrics_Request) String ¶ added in v0.13.15
func (x *GetDestinationMetrics_Request) String() string
type GetDestinationMetrics_Response ¶ added in v0.13.15
type GetDestinationMetrics_Response struct { // marshalled json of plugins.DestinationMetrics Metrics []byte `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*GetDestinationMetrics_Response) Descriptor
deprecated
added in
v0.13.15
func (*GetDestinationMetrics_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetDestinationMetrics_Response.ProtoReflect.Descriptor instead.
func (*GetDestinationMetrics_Response) GetMetrics ¶ added in v0.13.15
func (x *GetDestinationMetrics_Response) GetMetrics() []byte
func (*GetDestinationMetrics_Response) ProtoMessage ¶ added in v0.13.15
func (*GetDestinationMetrics_Response) ProtoMessage()
func (*GetDestinationMetrics_Response) ProtoReflect ¶ added in v0.13.15
func (x *GetDestinationMetrics_Response) ProtoReflect() protoreflect.Message
func (*GetDestinationMetrics_Response) Reset ¶ added in v0.13.15
func (x *GetDestinationMetrics_Response) Reset()
func (*GetDestinationMetrics_Response) String ¶ added in v0.13.15
func (x *GetDestinationMetrics_Response) String() string
type GetName ¶ added in v0.0.10
type GetName struct {
// contains filtered or unexported fields
}
func (*GetName) Descriptor
deprecated
added in
v0.0.10
func (*GetName) ProtoMessage ¶ added in v0.0.10
func (*GetName) ProtoMessage()
func (*GetName) ProtoReflect ¶ added in v0.0.10
func (x *GetName) ProtoReflect() protoreflect.Message
type GetName_Request ¶ added in v0.0.10
type GetName_Request struct {
// contains filtered or unexported fields
}
func (*GetName_Request) Descriptor
deprecated
added in
v0.0.10
func (*GetName_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetName_Request.ProtoReflect.Descriptor instead.
func (*GetName_Request) ProtoMessage ¶ added in v0.0.10
func (*GetName_Request) ProtoMessage()
func (*GetName_Request) ProtoReflect ¶ added in v0.0.10
func (x *GetName_Request) ProtoReflect() protoreflect.Message
func (*GetName_Request) Reset ¶ added in v0.0.10
func (x *GetName_Request) Reset()
func (*GetName_Request) String ¶ added in v0.0.10
func (x *GetName_Request) String() string
type GetName_Response ¶ added in v0.0.10
type GetName_Response struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetName_Response) Descriptor
deprecated
added in
v0.0.10
func (*GetName_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetName_Response.ProtoReflect.Descriptor instead.
func (*GetName_Response) GetName ¶ added in v0.0.10
func (x *GetName_Response) GetName() string
func (*GetName_Response) ProtoMessage ¶ added in v0.0.10
func (*GetName_Response) ProtoMessage()
func (*GetName_Response) ProtoReflect ¶ added in v0.0.10
func (x *GetName_Response) ProtoReflect() protoreflect.Message
func (*GetName_Response) Reset ¶ added in v0.0.10
func (x *GetName_Response) Reset()
func (*GetName_Response) String ¶ added in v0.0.10
func (x *GetName_Response) String() string
type GetProtocolVersion ¶ added in v0.13.8
type GetProtocolVersion struct {
// contains filtered or unexported fields
}
func (*GetProtocolVersion) Descriptor
deprecated
added in
v0.13.8
func (*GetProtocolVersion) Descriptor() ([]byte, []int)
Deprecated: Use GetProtocolVersion.ProtoReflect.Descriptor instead.
func (*GetProtocolVersion) ProtoMessage ¶ added in v0.13.8
func (*GetProtocolVersion) ProtoMessage()
func (*GetProtocolVersion) ProtoReflect ¶ added in v0.13.8
func (x *GetProtocolVersion) ProtoReflect() protoreflect.Message
func (*GetProtocolVersion) Reset ¶ added in v0.13.8
func (x *GetProtocolVersion) Reset()
func (*GetProtocolVersion) String ¶ added in v0.13.8
func (x *GetProtocolVersion) String() string
type GetProtocolVersion_Request ¶ added in v0.13.8
type GetProtocolVersion_Request struct {
// contains filtered or unexported fields
}
func (*GetProtocolVersion_Request) Descriptor
deprecated
added in
v0.13.8
func (*GetProtocolVersion_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetProtocolVersion_Request.ProtoReflect.Descriptor instead.
func (*GetProtocolVersion_Request) ProtoMessage ¶ added in v0.13.8
func (*GetProtocolVersion_Request) ProtoMessage()
func (*GetProtocolVersion_Request) ProtoReflect ¶ added in v0.13.8
func (x *GetProtocolVersion_Request) ProtoReflect() protoreflect.Message
func (*GetProtocolVersion_Request) Reset ¶ added in v0.13.8
func (x *GetProtocolVersion_Request) Reset()
func (*GetProtocolVersion_Request) String ¶ added in v0.13.8
func (x *GetProtocolVersion_Request) String() string
type GetProtocolVersion_Response ¶ added in v0.13.8
type GetProtocolVersion_Response struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GetProtocolVersion_Response) Descriptor
deprecated
added in
v0.13.8
func (*GetProtocolVersion_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetProtocolVersion_Response.ProtoReflect.Descriptor instead.
func (*GetProtocolVersion_Response) GetVersion ¶ added in v0.13.8
func (x *GetProtocolVersion_Response) GetVersion() uint64
func (*GetProtocolVersion_Response) ProtoMessage ¶ added in v0.13.8
func (*GetProtocolVersion_Response) ProtoMessage()
func (*GetProtocolVersion_Response) ProtoReflect ¶ added in v0.13.8
func (x *GetProtocolVersion_Response) ProtoReflect() protoreflect.Message
func (*GetProtocolVersion_Response) Reset ¶ added in v0.13.8
func (x *GetProtocolVersion_Response) Reset()
func (*GetProtocolVersion_Response) String ¶ added in v0.13.8
func (x *GetProtocolVersion_Response) String() string
type GetSourceMetrics ¶ added in v0.13.15
type GetSourceMetrics struct {
// contains filtered or unexported fields
}
func (*GetSourceMetrics) Descriptor
deprecated
added in
v0.13.15
func (*GetSourceMetrics) Descriptor() ([]byte, []int)
Deprecated: Use GetSourceMetrics.ProtoReflect.Descriptor instead.
func (*GetSourceMetrics) ProtoMessage ¶ added in v0.13.15
func (*GetSourceMetrics) ProtoMessage()
func (*GetSourceMetrics) ProtoReflect ¶ added in v0.13.15
func (x *GetSourceMetrics) ProtoReflect() protoreflect.Message
func (*GetSourceMetrics) Reset ¶ added in v0.13.15
func (x *GetSourceMetrics) Reset()
func (*GetSourceMetrics) String ¶ added in v0.13.15
func (x *GetSourceMetrics) String() string
type GetSourceMetrics_Request ¶ added in v0.13.15
type GetSourceMetrics_Request struct {
// contains filtered or unexported fields
}
func (*GetSourceMetrics_Request) Descriptor
deprecated
added in
v0.13.15
func (*GetSourceMetrics_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetSourceMetrics_Request.ProtoReflect.Descriptor instead.
func (*GetSourceMetrics_Request) ProtoMessage ¶ added in v0.13.15
func (*GetSourceMetrics_Request) ProtoMessage()
func (*GetSourceMetrics_Request) ProtoReflect ¶ added in v0.13.15
func (x *GetSourceMetrics_Request) ProtoReflect() protoreflect.Message
func (*GetSourceMetrics_Request) Reset ¶ added in v0.13.15
func (x *GetSourceMetrics_Request) Reset()
func (*GetSourceMetrics_Request) String ¶ added in v0.13.15
func (x *GetSourceMetrics_Request) String() string
type GetSourceMetrics_Response ¶ added in v0.13.15
type GetSourceMetrics_Response struct { // marshalled json of plugins.SourceMetrics Metrics []byte `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*GetSourceMetrics_Response) Descriptor
deprecated
added in
v0.13.15
func (*GetSourceMetrics_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetSourceMetrics_Response.ProtoReflect.Descriptor instead.
func (*GetSourceMetrics_Response) GetMetrics ¶ added in v0.13.15
func (x *GetSourceMetrics_Response) GetMetrics() []byte
func (*GetSourceMetrics_Response) ProtoMessage ¶ added in v0.13.15
func (*GetSourceMetrics_Response) ProtoMessage()
func (*GetSourceMetrics_Response) ProtoReflect ¶ added in v0.13.15
func (x *GetSourceMetrics_Response) ProtoReflect() protoreflect.Message
func (*GetSourceMetrics_Response) Reset ¶ added in v0.13.15
func (x *GetSourceMetrics_Response) Reset()
func (*GetSourceMetrics_Response) String ¶ added in v0.13.15
func (x *GetSourceMetrics_Response) String() string
type GetSyncSummary ¶ added in v0.12.0
type GetSyncSummary struct {
// contains filtered or unexported fields
}
func (*GetSyncSummary) Descriptor
deprecated
added in
v0.12.0
func (*GetSyncSummary) Descriptor() ([]byte, []int)
Deprecated: Use GetSyncSummary.ProtoReflect.Descriptor instead.
func (*GetSyncSummary) ProtoMessage ¶ added in v0.12.0
func (*GetSyncSummary) ProtoMessage()
func (*GetSyncSummary) ProtoReflect ¶ added in v0.12.0
func (x *GetSyncSummary) ProtoReflect() protoreflect.Message
func (*GetSyncSummary) Reset ¶ added in v0.12.0
func (x *GetSyncSummary) Reset()
func (*GetSyncSummary) String ¶ added in v0.12.0
func (x *GetSyncSummary) String() string
type GetSyncSummary_Request ¶ added in v0.12.0
type GetSyncSummary_Request struct {
// contains filtered or unexported fields
}
func (*GetSyncSummary_Request) Descriptor
deprecated
added in
v0.12.0
func (*GetSyncSummary_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetSyncSummary_Request.ProtoReflect.Descriptor instead.
func (*GetSyncSummary_Request) ProtoMessage ¶ added in v0.12.0
func (*GetSyncSummary_Request) ProtoMessage()
func (*GetSyncSummary_Request) ProtoReflect ¶ added in v0.12.0
func (x *GetSyncSummary_Request) ProtoReflect() protoreflect.Message
func (*GetSyncSummary_Request) Reset ¶ added in v0.12.0
func (x *GetSyncSummary_Request) Reset()
func (*GetSyncSummary_Request) String ¶ added in v0.12.0
func (x *GetSyncSummary_Request) String() string
type GetSyncSummary_Response ¶ added in v0.12.0
type GetSyncSummary_Response struct { // marshalled *schema.SyncSummary Summary []byte `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
func (*GetSyncSummary_Response) Descriptor
deprecated
added in
v0.12.0
func (*GetSyncSummary_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetSyncSummary_Response.ProtoReflect.Descriptor instead.
func (*GetSyncSummary_Response) GetSummary ¶ added in v0.12.0
func (x *GetSyncSummary_Response) GetSummary() []byte
func (*GetSyncSummary_Response) ProtoMessage ¶ added in v0.12.0
func (*GetSyncSummary_Response) ProtoMessage()
func (*GetSyncSummary_Response) ProtoReflect ¶ added in v0.12.0
func (x *GetSyncSummary_Response) ProtoReflect() protoreflect.Message
func (*GetSyncSummary_Response) Reset ¶ added in v0.12.0
func (x *GetSyncSummary_Response) Reset()
func (*GetSyncSummary_Response) String ¶ added in v0.12.0
func (x *GetSyncSummary_Response) String() string
type GetTables ¶
type GetTables struct {
// contains filtered or unexported fields
}
func (*GetTables) Descriptor
deprecated
func (*GetTables) ProtoMessage ¶
func (*GetTables) ProtoMessage()
func (*GetTables) ProtoReflect ¶
func (x *GetTables) ProtoReflect() protoreflect.Message
type GetTablesForSpec ¶ added in v1.10.0
type GetTablesForSpec struct {
// contains filtered or unexported fields
}
func (*GetTablesForSpec) Descriptor
deprecated
added in
v1.10.0
func (*GetTablesForSpec) Descriptor() ([]byte, []int)
Deprecated: Use GetTablesForSpec.ProtoReflect.Descriptor instead.
func (*GetTablesForSpec) ProtoMessage ¶ added in v1.10.0
func (*GetTablesForSpec) ProtoMessage()
func (*GetTablesForSpec) ProtoReflect ¶ added in v1.10.0
func (x *GetTablesForSpec) ProtoReflect() protoreflect.Message
func (*GetTablesForSpec) Reset ¶ added in v1.10.0
func (x *GetTablesForSpec) Reset()
func (*GetTablesForSpec) String ¶ added in v1.10.0
func (x *GetTablesForSpec) String() string
type GetTablesForSpec_Request ¶ added in v1.10.0
type GetTablesForSpec_Request struct { // Marshalled specs.Source Spec []byte `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
func (*GetTablesForSpec_Request) Descriptor
deprecated
added in
v1.10.0
func (*GetTablesForSpec_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetTablesForSpec_Request.ProtoReflect.Descriptor instead.
func (*GetTablesForSpec_Request) GetSpec ¶ added in v1.10.0
func (x *GetTablesForSpec_Request) GetSpec() []byte
func (*GetTablesForSpec_Request) ProtoMessage ¶ added in v1.10.0
func (*GetTablesForSpec_Request) ProtoMessage()
func (*GetTablesForSpec_Request) ProtoReflect ¶ added in v1.10.0
func (x *GetTablesForSpec_Request) ProtoReflect() protoreflect.Message
func (*GetTablesForSpec_Request) Reset ¶ added in v1.10.0
func (x *GetTablesForSpec_Request) Reset()
func (*GetTablesForSpec_Request) String ¶ added in v1.10.0
func (x *GetTablesForSpec_Request) String() string
type GetTablesForSpec_Response ¶ added in v1.10.0
type GetTablesForSpec_Response struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Marshalled []*schema.Table Tables []byte `protobuf:"bytes,3,opt,name=tables,proto3" json:"tables,omitempty"` // contains filtered or unexported fields }
func (*GetTablesForSpec_Response) Descriptor
deprecated
added in
v1.10.0
func (*GetTablesForSpec_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetTablesForSpec_Response.ProtoReflect.Descriptor instead.
func (*GetTablesForSpec_Response) GetName ¶ added in v1.10.0
func (x *GetTablesForSpec_Response) GetName() string
func (*GetTablesForSpec_Response) GetTables ¶ added in v1.10.0
func (x *GetTablesForSpec_Response) GetTables() []byte
func (*GetTablesForSpec_Response) GetVersion ¶ added in v1.10.0
func (x *GetTablesForSpec_Response) GetVersion() string
func (*GetTablesForSpec_Response) ProtoMessage ¶ added in v1.10.0
func (*GetTablesForSpec_Response) ProtoMessage()
func (*GetTablesForSpec_Response) ProtoReflect ¶ added in v1.10.0
func (x *GetTablesForSpec_Response) ProtoReflect() protoreflect.Message
func (*GetTablesForSpec_Response) Reset ¶ added in v1.10.0
func (x *GetTablesForSpec_Response) Reset()
func (*GetTablesForSpec_Response) String ¶ added in v1.10.0
func (x *GetTablesForSpec_Response) String() string
type GetTables_Request ¶
type GetTables_Request struct {
// contains filtered or unexported fields
}
func (*GetTables_Request) Descriptor
deprecated
func (*GetTables_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetTables_Request.ProtoReflect.Descriptor instead.
func (*GetTables_Request) ProtoMessage ¶
func (*GetTables_Request) ProtoMessage()
func (*GetTables_Request) ProtoReflect ¶
func (x *GetTables_Request) ProtoReflect() protoreflect.Message
func (*GetTables_Request) Reset ¶
func (x *GetTables_Request) Reset()
func (*GetTables_Request) String ¶
func (x *GetTables_Request) String() string
type GetTables_Response ¶
type GetTables_Response struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Marshalled []*schema.Table Tables []byte `protobuf:"bytes,3,opt,name=tables,proto3" json:"tables,omitempty"` // contains filtered or unexported fields }
func (*GetTables_Response) Descriptor
deprecated
func (*GetTables_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetTables_Response.ProtoReflect.Descriptor instead.
func (*GetTables_Response) GetName ¶
func (x *GetTables_Response) GetName() string
func (*GetTables_Response) GetTables ¶
func (x *GetTables_Response) GetTables() []byte
func (*GetTables_Response) GetVersion ¶
func (x *GetTables_Response) GetVersion() string
func (*GetTables_Response) ProtoMessage ¶
func (*GetTables_Response) ProtoMessage()
func (*GetTables_Response) ProtoReflect ¶
func (x *GetTables_Response) ProtoReflect() protoreflect.Message
func (*GetTables_Response) Reset ¶
func (x *GetTables_Response) Reset()
func (*GetTables_Response) String ¶
func (x *GetTables_Response) String() string
type GetVersion ¶ added in v0.0.10
type GetVersion struct {
// contains filtered or unexported fields
}
func (*GetVersion) Descriptor
deprecated
added in
v0.0.10
func (*GetVersion) Descriptor() ([]byte, []int)
Deprecated: Use GetVersion.ProtoReflect.Descriptor instead.
func (*GetVersion) ProtoMessage ¶ added in v0.0.10
func (*GetVersion) ProtoMessage()
func (*GetVersion) ProtoReflect ¶ added in v0.0.10
func (x *GetVersion) ProtoReflect() protoreflect.Message
func (*GetVersion) Reset ¶ added in v0.0.10
func (x *GetVersion) Reset()
func (*GetVersion) String ¶ added in v0.0.10
func (x *GetVersion) String() string
type GetVersion_Request ¶ added in v0.0.10
type GetVersion_Request struct {
// contains filtered or unexported fields
}
func (*GetVersion_Request) Descriptor
deprecated
added in
v0.0.10
func (*GetVersion_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetVersion_Request.ProtoReflect.Descriptor instead.
func (*GetVersion_Request) ProtoMessage ¶ added in v0.0.10
func (*GetVersion_Request) ProtoMessage()
func (*GetVersion_Request) ProtoReflect ¶ added in v0.0.10
func (x *GetVersion_Request) ProtoReflect() protoreflect.Message
func (*GetVersion_Request) Reset ¶ added in v0.0.10
func (x *GetVersion_Request) Reset()
func (*GetVersion_Request) String ¶ added in v0.0.10
func (x *GetVersion_Request) String() string
type GetVersion_Response ¶ added in v0.0.10
type GetVersion_Response struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GetVersion_Response) Descriptor
deprecated
added in
v0.0.10
func (*GetVersion_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetVersion_Response.ProtoReflect.Descriptor instead.
func (*GetVersion_Response) GetVersion ¶ added in v0.0.10
func (x *GetVersion_Response) GetVersion() string
func (*GetVersion_Response) ProtoMessage ¶ added in v0.0.10
func (*GetVersion_Response) ProtoMessage()
func (*GetVersion_Response) ProtoReflect ¶ added in v0.0.10
func (x *GetVersion_Response) ProtoReflect() protoreflect.Message
func (*GetVersion_Response) Reset ¶ added in v0.0.10
func (x *GetVersion_Response) Reset()
func (*GetVersion_Response) String ¶ added in v0.0.10
func (x *GetVersion_Response) String() string
type Migrate ¶ added in v0.0.4
type Migrate struct {
// contains filtered or unexported fields
}
func (*Migrate) Descriptor
deprecated
added in
v0.0.4
func (*Migrate) ProtoMessage ¶ added in v0.0.4
func (*Migrate) ProtoMessage()
func (*Migrate) ProtoReflect ¶ added in v0.0.4
func (x *Migrate) ProtoReflect() protoreflect.Message
type Migrate_Request ¶ added in v0.0.4
type Migrate_Request struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Tables []byte `protobuf:"bytes,3,opt,name=tables,proto3" json:"tables,omitempty"` // contains filtered or unexported fields }
func (*Migrate_Request) Descriptor
deprecated
added in
v0.0.4
func (*Migrate_Request) Descriptor() ([]byte, []int)
Deprecated: Use Migrate_Request.ProtoReflect.Descriptor instead.
func (*Migrate_Request) GetName ¶ added in v0.0.4
func (x *Migrate_Request) GetName() string
func (*Migrate_Request) GetTables ¶ added in v0.0.4
func (x *Migrate_Request) GetTables() []byte
func (*Migrate_Request) GetVersion ¶ added in v0.0.4
func (x *Migrate_Request) GetVersion() string
func (*Migrate_Request) ProtoMessage ¶ added in v0.0.4
func (*Migrate_Request) ProtoMessage()
func (*Migrate_Request) ProtoReflect ¶ added in v0.0.4
func (x *Migrate_Request) ProtoReflect() protoreflect.Message
func (*Migrate_Request) Reset ¶ added in v0.0.4
func (x *Migrate_Request) Reset()
func (*Migrate_Request) String ¶ added in v0.0.4
func (x *Migrate_Request) String() string
type Migrate_Response ¶ added in v0.0.4
type Migrate_Response struct {
// contains filtered or unexported fields
}
func (*Migrate_Response) Descriptor
deprecated
added in
v0.0.4
func (*Migrate_Response) Descriptor() ([]byte, []int)
Deprecated: Use Migrate_Response.ProtoReflect.Descriptor instead.
func (*Migrate_Response) ProtoMessage ¶ added in v0.0.4
func (*Migrate_Response) ProtoMessage()
func (*Migrate_Response) ProtoReflect ¶ added in v0.0.4
func (x *Migrate_Response) ProtoReflect() protoreflect.Message
func (*Migrate_Response) Reset ¶ added in v0.0.4
func (x *Migrate_Response) Reset()
func (*Migrate_Response) String ¶ added in v0.0.4
func (x *Migrate_Response) String() string
type SourceClient ¶
type SourceClient interface { // Get the current protocol version of the plugin. This helps // get the right message about upgrade/downgrade of cli and/or plugin. // Also, on the cli side it can try to upgrade/downgrade the protocol if cli supports it. GetProtocolVersion(ctx context.Context, in *GetProtocolVersion_Request, opts ...grpc.CallOption) (*GetProtocolVersion_Response, error) // Get the name of the plugin GetName(ctx context.Context, in *GetName_Request, opts ...grpc.CallOption) (*GetName_Response, error) // Get the current version of the plugin GetVersion(ctx context.Context, in *GetVersion_Request, opts ...grpc.CallOption) (*GetVersion_Response, error) // Get all tables the source plugin supports GetTables(ctx context.Context, in *GetTables_Request, opts ...grpc.CallOption) (*GetTables_Response, error) // Get all tables the source plugin supports, optionally filtered by a given spec. GetTablesForSpec(ctx context.Context, in *GetTablesForSpec_Request, opts ...grpc.CallOption) (*GetTablesForSpec_Response, error) // GetSyncSummary returns the latest sync summary of the source plugin. we don't want to send the summary on // every sync request. GetSyncSummary(ctx context.Context, in *GetSyncSummary_Request, opts ...grpc.CallOption) (*GetSyncSummary_Response, error) // Fetch resources Sync(ctx context.Context, in *Sync_Request, opts ...grpc.CallOption) (Source_SyncClient, error) // Sync2 is a new sync API that supports CQ Types. It is not backward compatible with Sync. Sync2(ctx context.Context, in *Sync2_Request, opts ...grpc.CallOption) (Source_Sync2Client, error) // Get metrics for the source plugin GetMetrics(ctx context.Context, in *GetSourceMetrics_Request, opts ...grpc.CallOption) (*GetSourceMetrics_Response, error) }
SourceClient is the client API for Source 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 NewSourceClient ¶
func NewSourceClient(cc grpc.ClientConnInterface) SourceClient
type SourceServer ¶
type SourceServer interface { // Get the current protocol version of the plugin. This helps // get the right message about upgrade/downgrade of cli and/or plugin. // Also, on the cli side it can try to upgrade/downgrade the protocol if cli supports it. GetProtocolVersion(context.Context, *GetProtocolVersion_Request) (*GetProtocolVersion_Response, error) // Get the name of the plugin GetName(context.Context, *GetName_Request) (*GetName_Response, error) // Get the current version of the plugin GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error) // Get all tables the source plugin supports GetTables(context.Context, *GetTables_Request) (*GetTables_Response, error) // Get all tables the source plugin supports, optionally filtered by a given spec. GetTablesForSpec(context.Context, *GetTablesForSpec_Request) (*GetTablesForSpec_Response, error) // GetSyncSummary returns the latest sync summary of the source plugin. we don't want to send the summary on // every sync request. GetSyncSummary(context.Context, *GetSyncSummary_Request) (*GetSyncSummary_Response, error) // Fetch resources Sync(*Sync_Request, Source_SyncServer) error // Sync2 is a new sync API that supports CQ Types. It is not backward compatible with Sync. Sync2(*Sync2_Request, Source_Sync2Server) error // Get metrics for the source plugin GetMetrics(context.Context, *GetSourceMetrics_Request) (*GetSourceMetrics_Response, error) // contains filtered or unexported methods }
SourceServer is the server API for Source service. All implementations must embed UnimplementedSourceServer for forward compatibility
type Source_Sync2Client ¶ added in v0.13.16
type Source_Sync2Client interface { Recv() (*Sync2_Response, error) grpc.ClientStream }
type Source_Sync2Server ¶ added in v0.13.16
type Source_Sync2Server interface { Send(*Sync2_Response) error grpc.ServerStream }
type Source_SyncClient ¶ added in v0.0.4
type Source_SyncClient interface { Recv() (*Sync_Response, error) grpc.ClientStream }
type Source_SyncServer ¶ added in v0.0.4
type Source_SyncServer interface { Send(*Sync_Response) error grpc.ServerStream }
type Sync ¶ added in v0.0.4
type Sync struct {
// contains filtered or unexported fields
}
func (*Sync) Descriptor
deprecated
added in
v0.0.4
func (*Sync) ProtoMessage ¶ added in v0.0.4
func (*Sync) ProtoMessage()
func (*Sync) ProtoReflect ¶ added in v0.0.4
func (x *Sync) ProtoReflect() protoreflect.Message
type Sync2 ¶ added in v0.13.16
type Sync2 struct {
// contains filtered or unexported fields
}
func (*Sync2) Descriptor
deprecated
added in
v0.13.16
func (*Sync2) ProtoMessage ¶ added in v0.13.16
func (*Sync2) ProtoMessage()
func (*Sync2) ProtoReflect ¶ added in v0.13.16
func (x *Sync2) ProtoReflect() protoreflect.Message
type Sync2_Request ¶ added in v0.13.16
type Sync2_Request struct { Spec []byte `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
func (*Sync2_Request) Descriptor
deprecated
added in
v0.13.16
func (*Sync2_Request) Descriptor() ([]byte, []int)
Deprecated: Use Sync2_Request.ProtoReflect.Descriptor instead.
func (*Sync2_Request) GetSpec ¶ added in v0.13.16
func (x *Sync2_Request) GetSpec() []byte
func (*Sync2_Request) ProtoMessage ¶ added in v0.13.16
func (*Sync2_Request) ProtoMessage()
func (*Sync2_Request) ProtoReflect ¶ added in v0.13.16
func (x *Sync2_Request) ProtoReflect() protoreflect.Message
func (*Sync2_Request) Reset ¶ added in v0.13.16
func (x *Sync2_Request) Reset()
func (*Sync2_Request) String ¶ added in v0.13.16
func (x *Sync2_Request) String() string
type Sync2_Response ¶ added in v0.13.16
type Sync2_Response struct { // marshalled *schema.Resources Resource []byte `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*Sync2_Response) Descriptor
deprecated
added in
v0.13.16
func (*Sync2_Response) Descriptor() ([]byte, []int)
Deprecated: Use Sync2_Response.ProtoReflect.Descriptor instead.
func (*Sync2_Response) GetResource ¶ added in v0.13.16
func (x *Sync2_Response) GetResource() []byte
func (*Sync2_Response) ProtoMessage ¶ added in v0.13.16
func (*Sync2_Response) ProtoMessage()
func (*Sync2_Response) ProtoReflect ¶ added in v0.13.16
func (x *Sync2_Response) ProtoReflect() protoreflect.Message
func (*Sync2_Response) Reset ¶ added in v0.13.16
func (x *Sync2_Response) Reset()
func (*Sync2_Response) String ¶ added in v0.13.16
func (x *Sync2_Response) String() string
type Sync_Request ¶ added in v0.0.4
type Sync_Request struct { Spec []byte `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // sync timestamp Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Sync_Request) Descriptor
deprecated
added in
v0.0.4
func (*Sync_Request) Descriptor() ([]byte, []int)
Deprecated: Use Sync_Request.ProtoReflect.Descriptor instead.
func (*Sync_Request) GetSpec ¶ added in v0.0.4
func (x *Sync_Request) GetSpec() []byte
func (*Sync_Request) GetTimestamp ¶ added in v0.12.0
func (x *Sync_Request) GetTimestamp() *timestamppb.Timestamp
func (*Sync_Request) ProtoMessage ¶ added in v0.0.4
func (*Sync_Request) ProtoMessage()
func (*Sync_Request) ProtoReflect ¶ added in v0.0.4
func (x *Sync_Request) ProtoReflect() protoreflect.Message
func (*Sync_Request) Reset ¶ added in v0.0.4
func (x *Sync_Request) Reset()
func (*Sync_Request) String ¶ added in v0.0.4
func (x *Sync_Request) String() string
type Sync_Response ¶ added in v0.0.4
type Sync_Response struct { // marshalled *schema.Resources Resource []byte `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*Sync_Response) Descriptor
deprecated
added in
v0.0.4
func (*Sync_Response) Descriptor() ([]byte, []int)
Deprecated: Use Sync_Response.ProtoReflect.Descriptor instead.
func (*Sync_Response) GetResource ¶ added in v0.0.4
func (x *Sync_Response) GetResource() []byte
func (*Sync_Response) ProtoMessage ¶ added in v0.0.4
func (*Sync_Response) ProtoMessage()
func (*Sync_Response) ProtoReflect ¶ added in v0.0.4
func (x *Sync_Response) ProtoReflect() protoreflect.Message
func (*Sync_Response) Reset ¶ added in v0.0.4
func (x *Sync_Response) Reset()
func (*Sync_Response) String ¶ added in v0.0.4
func (x *Sync_Response) String() string
type UnimplementedDestinationServer ¶
type UnimplementedDestinationServer struct { }
UnimplementedDestinationServer must be embedded to have forward compatible implementations.
func (UnimplementedDestinationServer) Close ¶ added in v0.11.4
func (UnimplementedDestinationServer) Close(context.Context, *Close_Request) (*Close_Response, error)
func (UnimplementedDestinationServer) Configure ¶
func (UnimplementedDestinationServer) Configure(context.Context, *Configure_Request) (*Configure_Response, error)
func (UnimplementedDestinationServer) DeleteStale ¶ added in v0.12.0
func (UnimplementedDestinationServer) DeleteStale(context.Context, *DeleteStale_Request) (*DeleteStale_Response, error)
func (UnimplementedDestinationServer) GetMetrics ¶ added in v0.13.15
func (UnimplementedDestinationServer) GetMetrics(context.Context, *GetDestinationMetrics_Request) (*GetDestinationMetrics_Response, error)
func (UnimplementedDestinationServer) GetName ¶ added in v0.0.10
func (UnimplementedDestinationServer) GetName(context.Context, *GetName_Request) (*GetName_Response, error)
func (UnimplementedDestinationServer) GetProtocolVersion ¶ added in v0.13.8
func (UnimplementedDestinationServer) GetProtocolVersion(context.Context, *GetProtocolVersion_Request) (*GetProtocolVersion_Response, error)
func (UnimplementedDestinationServer) GetVersion ¶ added in v0.0.10
func (UnimplementedDestinationServer) GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error)
func (UnimplementedDestinationServer) Migrate ¶ added in v0.0.4
func (UnimplementedDestinationServer) Migrate(context.Context, *Migrate_Request) (*Migrate_Response, error)
func (UnimplementedDestinationServer) Write ¶ added in v0.0.4
func (UnimplementedDestinationServer) Write(Destination_WriteServer) error
func (UnimplementedDestinationServer) Write2 ¶ added in v0.13.16
func (UnimplementedDestinationServer) Write2(Destination_Write2Server) error
type UnimplementedSourceServer ¶
type UnimplementedSourceServer struct { }
UnimplementedSourceServer must be embedded to have forward compatible implementations.
func (UnimplementedSourceServer) GetMetrics ¶ added in v0.13.15
func (UnimplementedSourceServer) GetMetrics(context.Context, *GetSourceMetrics_Request) (*GetSourceMetrics_Response, error)
func (UnimplementedSourceServer) GetName ¶ added in v0.0.10
func (UnimplementedSourceServer) GetName(context.Context, *GetName_Request) (*GetName_Response, error)
func (UnimplementedSourceServer) GetProtocolVersion ¶ added in v0.13.8
func (UnimplementedSourceServer) GetProtocolVersion(context.Context, *GetProtocolVersion_Request) (*GetProtocolVersion_Response, error)
func (UnimplementedSourceServer) GetSyncSummary ¶ added in v0.12.0
func (UnimplementedSourceServer) GetSyncSummary(context.Context, *GetSyncSummary_Request) (*GetSyncSummary_Response, error)
func (UnimplementedSourceServer) GetTables ¶
func (UnimplementedSourceServer) GetTables(context.Context, *GetTables_Request) (*GetTables_Response, error)
func (UnimplementedSourceServer) GetTablesForSpec ¶ added in v1.10.0
func (UnimplementedSourceServer) GetTablesForSpec(context.Context, *GetTablesForSpec_Request) (*GetTablesForSpec_Response, error)
func (UnimplementedSourceServer) GetVersion ¶ added in v0.0.10
func (UnimplementedSourceServer) GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error)
func (UnimplementedSourceServer) Sync ¶ added in v0.0.4
func (UnimplementedSourceServer) Sync(*Sync_Request, Source_SyncServer) error
func (UnimplementedSourceServer) Sync2 ¶ added in v0.13.16
func (UnimplementedSourceServer) Sync2(*Sync2_Request, Source_Sync2Server) error
type UnsafeDestinationServer ¶
type UnsafeDestinationServer interface {
// contains filtered or unexported methods
}
UnsafeDestinationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DestinationServer will result in compilation errors.
type UnsafeSourceServer ¶
type UnsafeSourceServer interface {
// contains filtered or unexported methods
}
UnsafeSourceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SourceServer will result in compilation errors.
type Write ¶ added in v0.0.4
type Write struct {
// contains filtered or unexported fields
}
func (*Write) Descriptor
deprecated
added in
v0.0.4
func (*Write) ProtoMessage ¶ added in v0.0.4
func (*Write) ProtoMessage()
func (*Write) ProtoReflect ¶ added in v0.0.4
func (x *Write) ProtoReflect() protoreflect.Message
type Write2 ¶ added in v0.13.16
type Write2 struct {
// contains filtered or unexported fields
}
func (*Write2) Descriptor
deprecated
added in
v0.13.16
func (*Write2) ProtoMessage ¶ added in v0.13.16
func (*Write2) ProtoMessage()
func (*Write2) ProtoReflect ¶ added in v0.13.16
func (x *Write2) ProtoReflect() protoreflect.Message
type Write2_Request ¶ added in v0.13.16
type Write2_Request struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // marshaled schema.Tables Tables []byte `protobuf:"bytes,3,opt,name=tables,proto3" json:"tables,omitempty"` // marshalled *schema.Resources Resource []byte `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*Write2_Request) Descriptor
deprecated
added in
v0.13.16
func (*Write2_Request) Descriptor() ([]byte, []int)
Deprecated: Use Write2_Request.ProtoReflect.Descriptor instead.
func (*Write2_Request) GetResource ¶ added in v0.13.16
func (x *Write2_Request) GetResource() []byte
func (*Write2_Request) GetSource ¶ added in v0.13.16
func (x *Write2_Request) GetSource() string
func (*Write2_Request) GetTables ¶ added in v0.13.16
func (x *Write2_Request) GetTables() []byte
func (*Write2_Request) GetTimestamp ¶ added in v0.13.16
func (x *Write2_Request) GetTimestamp() *timestamppb.Timestamp
func (*Write2_Request) ProtoMessage ¶ added in v0.13.16
func (*Write2_Request) ProtoMessage()
func (*Write2_Request) ProtoReflect ¶ added in v0.13.16
func (x *Write2_Request) ProtoReflect() protoreflect.Message
func (*Write2_Request) Reset ¶ added in v0.13.16
func (x *Write2_Request) Reset()
func (*Write2_Request) String ¶ added in v0.13.16
func (x *Write2_Request) String() string
type Write2_Response ¶ added in v0.13.16
type Write2_Response struct {
// contains filtered or unexported fields
}
func (*Write2_Response) Descriptor
deprecated
added in
v0.13.16
func (*Write2_Response) Descriptor() ([]byte, []int)
Deprecated: Use Write2_Response.ProtoReflect.Descriptor instead.
func (*Write2_Response) ProtoMessage ¶ added in v0.13.16
func (*Write2_Response) ProtoMessage()
func (*Write2_Response) ProtoReflect ¶ added in v0.13.16
func (x *Write2_Response) ProtoReflect() protoreflect.Message
func (*Write2_Response) Reset ¶ added in v0.13.16
func (x *Write2_Response) Reset()
func (*Write2_Response) String ¶ added in v0.13.16
func (x *Write2_Response) String() string
type Write_Request ¶ added in v0.0.4
type Write_Request struct { // marshalled *schema.Resources Resource []byte `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Write_Request) Descriptor
deprecated
added in
v0.0.4
func (*Write_Request) Descriptor() ([]byte, []int)
Deprecated: Use Write_Request.ProtoReflect.Descriptor instead.
func (*Write_Request) GetResource ¶ added in v0.0.4
func (x *Write_Request) GetResource() []byte
func (*Write_Request) GetSource ¶ added in v0.12.0
func (x *Write_Request) GetSource() string
func (*Write_Request) GetTimestamp ¶ added in v0.12.0
func (x *Write_Request) GetTimestamp() *timestamppb.Timestamp
func (*Write_Request) ProtoMessage ¶ added in v0.0.4
func (*Write_Request) ProtoMessage()
func (*Write_Request) ProtoReflect ¶ added in v0.0.4
func (x *Write_Request) ProtoReflect() protoreflect.Message
func (*Write_Request) Reset ¶ added in v0.0.4
func (x *Write_Request) Reset()
func (*Write_Request) String ¶ added in v0.0.4
func (x *Write_Request) String() string
type Write_Response ¶ added in v0.0.4
type Write_Response struct { FailedWrites uint64 `protobuf:"varint,1,opt,name=failed_writes,json=failedWrites,proto3" json:"failed_writes,omitempty"` // contains filtered or unexported fields }
func (*Write_Response) Descriptor
deprecated
added in
v0.0.4
func (*Write_Response) Descriptor() ([]byte, []int)
Deprecated: Use Write_Response.ProtoReflect.Descriptor instead.
func (*Write_Response) GetFailedWrites ¶ added in v0.10.2
func (x *Write_Response) GetFailedWrites() uint64
func (*Write_Response) ProtoMessage ¶ added in v0.0.4
func (*Write_Response) ProtoMessage()
func (*Write_Response) ProtoReflect ¶ added in v0.0.4
func (x *Write_Response) ProtoReflect() protoreflect.Message
func (*Write_Response) Reset ¶ added in v0.0.4
func (x *Write_Response) Reset()
func (*Write_Response) String ¶ added in v0.0.4
func (x *Write_Response) String() string