Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Source Source
Normalizer normalize.Normalizer
Store storage.Store
Manifest core.Manifest
Capture core.CaptureSettings
RunID string
RunIDGenerator
}
Options define the dependencies and metadata required to execute a capture pipeline.
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline coordinates a capture session across a source, normalizer, and storage backend.
func NewPipeline ¶
NewPipeline constructs a pipeline with validated options, wiring default run ID generators when absent.
type RunIDGenerator ¶
type RunIDGenerator func() string
RunIDGenerator allows callers to supply deterministic run identifiers (useful in tests).
type Source ¶
type Source interface {
Frames() <-chan []byte
Meta() core.SourceMeta
}
Source represents an ingest source capable of streaming byte frames along with metadata.
Click to show internal directories.
Click to hide internal directories.