branch

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Branch

type Branch struct {
	segments.BaseSegment
	// contains filtered or unexported fields
}

func (*Branch) ImportBranches

func (segment *Branch) ImportBranches(condition interface{}, then_branch interface{}, else_branch interface{})

func (Branch) New

func (segment Branch) New(config map[string]string) segments.Segment

func (*Branch) Run

func (segment *Branch) Run(wg *sync.WaitGroup)

type Pipeline

type Pipeline interface {
	Start()
	Close()
	GetInput() chan *pb.EnrichedFlow
	GetOutput() <-chan *pb.EnrichedFlow
	GetDrop() <-chan *pb.EnrichedFlow
}

This mirrors the proper implementation in the pipeline package. This duplication is to avoid the import cycle.

Jump to

Keyboard shortcuts

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