pb

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Destination_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.Destination",
	HandlerType: (*DestinationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetName",
			Handler:    _Destination_GetName_Handler,
		},
		{
			MethodName: "GetVersion",
			Handler:    _Destination_GetVersion_Handler,
		},
		{
			MethodName: "GetExampleConfig",
			Handler:    _Destination_GetExampleConfig_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _Destination_Configure_Handler,
		},
		{
			MethodName: "Migrate",
			Handler:    _Destination_Migrate_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Write",
			Handler:       _Destination_Write_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)

View Source
var File_internal_pb_base_proto protoreflect.FileDescriptor
View Source
var File_internal_pb_destination_proto protoreflect.FileDescriptor
View Source
var File_internal_pb_source_proto protoreflect.FileDescriptor
View Source
var Source_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.Source",
	HandlerType: (*SourceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetName",
			Handler:    _Source_GetName_Handler,
		},
		{
			MethodName: "GetVersion",
			Handler:    _Source_GetVersion_Handler,
		},
		{
			MethodName: "GetExampleConfig",
			Handler:    _Source_GetExampleConfig_Handler,
		},
		{
			MethodName: "GetTables",
			Handler:    _Source_GetTables_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Sync",
			Handler:       _Source_Sync_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 Configure

type Configure struct {
	// contains filtered or unexported fields
}

func (*Configure) Descriptor deprecated

func (*Configure) Descriptor() ([]byte, []int)

Deprecated: Use Configure.ProtoReflect.Descriptor instead.

func (*Configure) ProtoMessage

func (*Configure) ProtoMessage()

func (*Configure) ProtoReflect

func (x *Configure) ProtoReflect() protoreflect.Message

func (*Configure) Reset

func (x *Configure) Reset()

func (*Configure) String

func (x *Configure) String() string

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"`
	JsonschemaResult []byte `protobuf:"bytes,2,opt,name=jsonschema_result,json=jsonschemaResult,proto3" json:"jsonschema_result,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) GetJsonschemaResult

func (x *Configure_Response) GetJsonschemaResult() []byte

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 DestinationClient

type DestinationClient interface {
	// 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 an example configuration for the plugin
	GetExampleConfig(ctx context.Context, in *GetExampleConfig_Request, opts ...grpc.CallOption) (*GetExampleConfig_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)
}

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.

type DestinationServer

type DestinationServer interface {
	// 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 an example configuration for the plugin
	GetExampleConfig(context.Context, *GetExampleConfig_Request) (*GetExampleConfig_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
	// contains filtered or unexported methods
}

DestinationServer is the server API for Destination service. All implementations must embed UnimplementedDestinationServer for forward compatibility

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 GetExampleConfig

type GetExampleConfig struct {
	// contains filtered or unexported fields
}

func (*GetExampleConfig) Descriptor deprecated

func (*GetExampleConfig) Descriptor() ([]byte, []int)

Deprecated: Use GetExampleConfig.ProtoReflect.Descriptor instead.

func (*GetExampleConfig) ProtoMessage

func (*GetExampleConfig) ProtoMessage()

func (*GetExampleConfig) ProtoReflect

func (x *GetExampleConfig) ProtoReflect() protoreflect.Message

func (*GetExampleConfig) Reset

func (x *GetExampleConfig) Reset()

func (*GetExampleConfig) String

func (x *GetExampleConfig) String() string

type GetExampleConfig_Request

type GetExampleConfig_Request struct {
	// contains filtered or unexported fields
}

func (*GetExampleConfig_Request) Descriptor deprecated

func (*GetExampleConfig_Request) Descriptor() ([]byte, []int)

Deprecated: Use GetExampleConfig_Request.ProtoReflect.Descriptor instead.

func (*GetExampleConfig_Request) ProtoMessage

func (*GetExampleConfig_Request) ProtoMessage()

func (*GetExampleConfig_Request) ProtoReflect

func (x *GetExampleConfig_Request) ProtoReflect() protoreflect.Message

func (*GetExampleConfig_Request) Reset

func (x *GetExampleConfig_Request) Reset()

func (*GetExampleConfig_Request) String

func (x *GetExampleConfig_Request) String() string

type GetExampleConfig_Response

type GetExampleConfig_Response struct {
	Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExampleConfig_Response) Descriptor deprecated

func (*GetExampleConfig_Response) Descriptor() ([]byte, []int)

Deprecated: Use GetExampleConfig_Response.ProtoReflect.Descriptor instead.

func (*GetExampleConfig_Response) GetConfig

func (x *GetExampleConfig_Response) GetConfig() string

func (*GetExampleConfig_Response) ProtoMessage

func (*GetExampleConfig_Response) ProtoMessage()

func (*GetExampleConfig_Response) ProtoReflect

func (*GetExampleConfig_Response) Reset

func (x *GetExampleConfig_Response) Reset()

func (*GetExampleConfig_Response) String

func (x *GetExampleConfig_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) Descriptor() ([]byte, []int)

Deprecated: Use GetName.ProtoReflect.Descriptor instead.

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

func (*GetName) Reset added in v0.0.10

func (x *GetName) Reset()

func (*GetName) String added in v0.0.10

func (x *GetName) String() string

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 GetTables

type GetTables struct {
	// contains filtered or unexported fields
}

func (*GetTables) Descriptor deprecated

func (*GetTables) Descriptor() ([]byte, []int)

Deprecated: Use GetTables.ProtoReflect.Descriptor instead.

func (*GetTables) ProtoMessage

func (*GetTables) ProtoMessage()

func (*GetTables) ProtoReflect

func (x *GetTables) ProtoReflect() protoreflect.Message

func (*GetTables) Reset

func (x *GetTables) Reset()

func (*GetTables) String

func (x *GetTables) 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) Descriptor() ([]byte, []int)

Deprecated: Use Migrate.ProtoReflect.Descriptor instead.

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

func (*Migrate) Reset added in v0.0.4

func (x *Migrate) Reset()

func (*Migrate) String added in v0.0.4

func (x *Migrate) String() string

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 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 an example configuration for the source plugin
	GetExampleConfig(ctx context.Context, in *GetExampleConfig_Request, opts ...grpc.CallOption) (*GetExampleConfig_Response, error)
	// Get all tables the source plugin supports
	GetTables(ctx context.Context, in *GetTables_Request, opts ...grpc.CallOption) (*GetTables_Response, error)
	// Fetch resources
	Sync(ctx context.Context, in *Sync_Request, opts ...grpc.CallOption) (Source_SyncClient, 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 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 an example configuration for the source plugin
	GetExampleConfig(context.Context, *GetExampleConfig_Request) (*GetExampleConfig_Response, error)
	// Get all tables the source plugin supports
	GetTables(context.Context, *GetTables_Request) (*GetTables_Response, error)
	// Fetch resources
	Sync(*Sync_Request, Source_SyncServer) error
	// contains filtered or unexported methods
}

SourceServer is the server API for Source service. All implementations must embed UnimplementedSourceServer for forward compatibility

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) Descriptor() ([]byte, []int)

Deprecated: Use Sync.ProtoReflect.Descriptor instead.

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

func (*Sync) Reset added in v0.0.4

func (x *Sync) Reset()

func (*Sync) String added in v0.0.4

func (x *Sync) 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"`
	// 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) 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) Configure

func (UnimplementedDestinationServer) GetExampleConfig

func (UnimplementedDestinationServer) GetName added in v0.0.10

func (UnimplementedDestinationServer) GetVersion added in v0.0.10

func (UnimplementedDestinationServer) Migrate added in v0.0.4

func (UnimplementedDestinationServer) Write added in v0.0.4

type UnimplementedSourceServer

type UnimplementedSourceServer struct {
}

UnimplementedSourceServer must be embedded to have forward compatible implementations.

func (UnimplementedSourceServer) GetName added in v0.0.10

func (UnimplementedSourceServer) GetTables

func (UnimplementedSourceServer) GetVersion added in v0.0.10

func (UnimplementedSourceServer) Sync added in v0.0.4

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) Descriptor() ([]byte, []int)

Deprecated: Use Write.ProtoReflect.Descriptor instead.

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

func (*Write) Reset added in v0.0.4

func (x *Write) Reset()

func (*Write) String added in v0.0.4

func (x *Write) 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"`
	// 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) 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 {
	// 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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL