Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
func (*Buffer) MergeReader ¶
type GetterFunc ¶
type GetterFunc = func(actx PipelineCtx) (PipelineCtx, error)
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
func NewPipeline ¶
func NewPipeline(c PipelineConfig) Pipeline
func (*Pipeline) Execute ¶
func (p *Pipeline) Execute() (PipelineCtx, error)
type PipelineConfig ¶
type PipelineCtx ¶
type SinkFunc ¶
type SinkFunc = func(PipelineCtx) error
type Sinker ¶
type Sinker struct {
// contains filtered or unexported fields
}
func NewSinker ¶
func NewSinker(c SinkerConfig) Sinker
func (*Sinker) Run ¶
func (s *Sinker) Run(ctx PipelineCtx) (PipelineCtx, error)
type SinkerConfig ¶
type SinkerConfig struct {
Sinker SinkFunc
}
type Source ¶
type Source struct {
SourceConfig
}
func NewSource ¶
func NewSource(config SourceConfig) Source
func (*Source) Run ¶
func (s *Source) Run(ctx PipelineCtx) (PipelineCtx, error)
type SourceConfig ¶
type SourceConfig struct {
Getter GetterFunc
}
type Step ¶
type Step interface {
Run(ctx PipelineCtx) (PipelineCtx, error)
}
Click to show internal directories.
Click to hide internal directories.