api

package
v0.1.40 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortOnAge added in v0.1.29

func SortOnAge(fileEntityMap map[string]FileEntity) []string

Types

type DAG added in v0.1.39

type DAG struct {
	Nodes []DAGNode
}

type DAGNode added in v0.1.39

type DAGNode struct {
	//	out               []DAGNode
	PipelineProcessor PipelineProcessor
}

type FileEntity

type FileEntity struct {
	Name      string
	UnixMilli int64
	Size      int64
	Lines     int64
	Sum       []byte
	Header    string
	Footer    string
	HashName  bool
	HasSize   bool
	HasLines  bool
	HasSum    bool
	HasHeader bool
	HasFooter bool
}

type IOEvent

type IOEvent interface {
	Setup(customParams interface{}) bool
	Process(reader io.Reader, customParams interface{}) bool
}

type NodeProcessor added in v0.1.39

type NodeProcessor interface {
	Setup() error
	Process() error
}

type PipelineProcessor added in v0.1.39

type PipelineProcessor struct {
	IOEventImpl   []IOEvent
	ProcessorImpl NodeProcessor
}

func (PipelineProcessor) Process added in v0.1.39

func (fa PipelineProcessor) Process() error

func (PipelineProcessor) Setup added in v0.1.39

func (fa PipelineProcessor) Setup() error

type Thund added in v0.1.39

type Thund interface {
	Deploy(DAG) error
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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