cpluginv1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data interface {
	// contains filtered or unexported methods
}

type DestinationConfigureRequest

type DestinationConfigureRequest struct {
	Config map[string]string
}

type DestinationConfigureResponse

type DestinationConfigureResponse struct{}

type DestinationRunRequest

type DestinationRunRequest struct {
	Record Record
}

type DestinationRunResponse

type DestinationRunResponse struct {
	AckPosition []byte
	Error       string
}

type DestinationRunStream

type DestinationRunStream interface {
	Send(DestinationRunResponse) error
	Recv() (DestinationRunRequest, error)
}

type DestinationStartRequest

type DestinationStartRequest struct{}

type DestinationStartResponse

type DestinationStartResponse struct{}

type DestinationStopRequest

type DestinationStopRequest struct{}

type DestinationStopResponse

type DestinationStopResponse struct{}

type DestinationTeardownRequest

type DestinationTeardownRequest struct{}

type DestinationTeardownResponse

type DestinationTeardownResponse struct{}

type RawData

type RawData []byte

type Record

type Record struct {
	Position  []byte
	Metadata  map[string]string
	CreatedAt time.Time
	Key       Data
	Payload   Data
}

type SourceConfigureRequest

type SourceConfigureRequest struct {
	Config map[string]string
}

type SourceConfigureResponse

type SourceConfigureResponse struct{}

type SourceRunRequest

type SourceRunRequest struct {
	AckPosition []byte
}

type SourceRunResponse

type SourceRunResponse struct {
	Record Record
}

type SourceRunStream

type SourceRunStream interface {
	Send(SourceRunResponse) error
	Recv() (SourceRunRequest, error)
}

type SourceStartRequest

type SourceStartRequest struct {
	Position []byte
}

type SourceStartResponse

type SourceStartResponse struct{}

type SourceStopRequest

type SourceStopRequest struct{}

type SourceStopResponse

type SourceStopResponse struct{}

type SourceTeardownRequest

type SourceTeardownRequest struct{}

type SourceTeardownResponse

type SourceTeardownResponse struct{}

type SpecifierParameter

type SpecifierParameter struct {
	Default     string
	Required    bool
	Description string
}

type SpecifierPlugin

type SpecifierPlugin interface {
	Specify(context.Context, SpecifierSpecifyRequest) (SpecifierSpecifyResponse, error)
}

type SpecifierSpecifyRequest

type SpecifierSpecifyRequest struct{}

type SpecifierSpecifyResponse

type SpecifierSpecifyResponse struct {
	Name              string
	Summary           string
	Description       string
	Version           string
	Author            string
	DestinationParams map[string]SpecifierParameter
	SourceParams      map[string]SpecifierParameter
}

type StructuredData

type StructuredData map[string]interface{}

Directories

Path Synopsis
internal
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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