pipeline

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

View Source
const (
	StageIngest    = "ingest"
	StageTransform = "transform"
	StageExtract   = "extract"
	StageEncode    = "encode"
	StageWrite     = "write"
)

interface definitions of pipeline components

Variables

This section is empty.

Functions

func StartFLPInProcess added in v0.1.11

func StartFLPInProcess(cfg *config.ConfigFileStruct, in chan config.GenericMap) error

StartFLPInProcess is an entry point to start the whole FLP / pipeline processing from imported code

Types

type Error

type Error struct {
	StageName string
	// contains filtered or unexported fields
}

Error wraps any error caused by a wrong formation of the pipeline

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

type Pipeline

type Pipeline struct {
	IsRunning bool

	Metrics *operational.Metrics
	// contains filtered or unexported fields
}

Pipeline manager

func NewPipeline

func NewPipeline(cfg *config.ConfigFileStruct) (*Pipeline, error)

NewPipeline defines the pipeline elements

func (*Pipeline) IsAlive

func (p *Pipeline) IsAlive() error

func (*Pipeline) IsReady

func (p *Pipeline) IsReady() error

func (*Pipeline) Run

func (p *Pipeline) Run()

Jump to

Keyboard shortcuts

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