Documentation
¶
Index ¶
- type ElasticSink
- func (e *ElasticSink) Connect(ctx context.Context) error
- func (e *ElasticSink) Disconnect() error
- func (e *ElasticSink) Info() string
- func (e *ElasticSink) Init(args SinkConfig) error
- func (e *ElasticSink) Key() (string, error)
- func (e *ElasticSink) Name() string
- func (e *ElasticSink) Write(ctx context.Context, wg *sync.WaitGroup, dataChan <-chan []byte, ...) error
- type FileSink
- func (f *FileSink) Connect(ctx context.Context) error
- func (f *FileSink) Disconnect() error
- func (f *FileSink) Info() string
- func (f *FileSink) Init(args SinkConfig) error
- func (f *FileSink) Key() (string, error)
- func (f *FileSink) Name() string
- func (f *FileSink) Write(ctx context.Context, wg *sync.WaitGroup, dataChan <-chan *models.Job, ...) error
- type KafkaSink
- func (k *KafkaSink) Connect(ctx context.Context) error
- func (k *KafkaSink) Disconnect() error
- func (k *KafkaSink) Info() string
- func (k *KafkaSink) Init(args SinkConfig) error
- func (k *KafkaSink) Key() (string, error)
- func (k *KafkaSink) Name() string
- func (k *KafkaSink) Write(ctx context.Context, wg *sync.WaitGroup, dataChan <-chan *models.Job, ...) error
- type SinkConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticSink ¶
type ElasticSink struct {
// contains filtered or unexported fields
}
func (*ElasticSink) Disconnect ¶
func (e *ElasticSink) Disconnect() error
func (*ElasticSink) Info ¶
func (e *ElasticSink) Info() string
func (*ElasticSink) Init ¶
func (e *ElasticSink) Init(args SinkConfig) error
func (*ElasticSink) Key ¶
func (e *ElasticSink) Key() (string, error)
func (*ElasticSink) Name ¶
func (e *ElasticSink) Name() string
type FileSink ¶
type FileSink struct {
// contains filtered or unexported fields
}
func (*FileSink) Disconnect ¶
func (*FileSink) Init ¶
func (f *FileSink) Init(args SinkConfig) error
type KafkaSink ¶
type KafkaSink struct {
// contains filtered or unexported fields
}
func (*KafkaSink) Disconnect ¶
func (*KafkaSink) Init ¶
func (k *KafkaSink) Init(args SinkConfig) error
Click to show internal directories.
Click to hide internal directories.