pipeline

package
v0.1.10-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 17 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

This section is empty.

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