Documentation ¶
Index ¶
- Constants
- func NewFanIn(opts ...options.Option) (pipeline.Step, error)
- func NewFanOut(opts ...options.Option) (pipeline.Step, error)
- func NewJoin(opts ...options.Option) (pipeline.Step, error)
- func NewProcessor(opts ...options.Option) (pipeline.Step, error)
- func NewReader(opts ...options.Option) (pipeline.Step, error)
- func NewSink(opts ...options.Option) (pipeline.Step, error)
- func NewSync(opts ...options.Option) (pipeline.Step, error)
- func WithCloseFunc(f func()) options.Option
- func WithFields(fields store.Store) options.Option
- func WithInitFunc(f func() error) options.Option
- func WithKey(dst store.FQDNType) options.Option
- func WithNamedProcessorFunc(name string, f ProcessFunc) options.Option
- func WithNamedSinkFunc(name string, f SinkFunc) options.Option
- func WithProcessor(pr Processor) options.Option
- func WithProcessorFunc(f ProcessFunc) options.Option
- func WithRepeat() options.Option
- func WithResetFunc(f func()) options.Option
- func WithSinkCloseFunc(f func()) options.Option
- func WithSinkFunc(f SinkFunc) options.Option
- func WithSinkInitFunc(f func() error) options.Option
- func WithSinkProcessor(pr Sink) options.Option
- func WithSinkResetFunc(f func()) options.Option
- func WithSourceReader(reader SourceReader) options.Option
- type DefaultProcessor
- type DefaultSink
- type NamedSourceReader
- type ProcessFunc
- type Processor
- type ProcessorOptions
- type Sink
- type SinkFunc
- type SinkOptions
- type SourceOptions
- type SourceReader
- type SyncOptions
Constants ¶
View Source
const FANIN_NAME = "fin"
View Source
const FANOUT_NAME = "fout"
View Source
const JOIN_NAME = "join"
View Source
const PROCESS_NAME = "process"
View Source
const SINK_NAME = "sink"
View Source
const SOURCE_NAME = "source"
View Source
const SYNC_NAME = "sync"
Variables ¶
This section is empty.
Functions ¶
func WithCloseFunc ¶
func WithInitFunc ¶
func WithNamedProcessorFunc ¶
func WithNamedProcessorFunc(name string, f ProcessFunc) options.Option
func WithProcessor ¶
func WithProcessorFunc ¶
func WithProcessorFunc(f ProcessFunc) options.Option
func WithRepeat ¶
func WithResetFunc ¶
func WithSinkCloseFunc ¶
func WithSinkFunc ¶
func WithSinkInitFunc ¶
func WithSinkProcessor ¶
func WithSinkResetFunc ¶
func WithSourceReader ¶
func WithSourceReader(reader SourceReader) options.Option
Types ¶
type DefaultProcessor ¶
type DefaultProcessor struct {
// contains filtered or unexported fields
}
func (DefaultProcessor) Close ¶
func (p DefaultProcessor) Close()
func (DefaultProcessor) Init ¶
func (p DefaultProcessor) Init() error
func (DefaultProcessor) Reset ¶
func (p DefaultProcessor) Reset()
type DefaultSink ¶
type DefaultSink struct {
// contains filtered or unexported fields
}
func (DefaultSink) Close ¶
func (p DefaultSink) Close()
func (DefaultSink) Init ¶
func (p DefaultSink) Init() error
func (DefaultSink) Reset ¶
func (p DefaultSink) Reset()
type NamedSourceReader ¶
type NamedSourceReader interface {
Name() string
}
type ProcessFunc ¶
type ProcessorOptions ¶
type ProcessorOptions struct {
// contains filtered or unexported fields
}
type SinkOptions ¶
type SinkOptions struct {
// contains filtered or unexported fields
}
type SourceOptions ¶
type SourceOptions struct { Repeat bool // contains filtered or unexported fields }
type SourceReader ¶
type SyncOptions ¶
type SyncOptions struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.