pipeline

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: AGPL-3.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEchoProcessor

func NewEchoProcessor(c *config.Config) (pipeline.Processor, error)

Types

type CreatePipelineRequest

type CreatePipelineRequest struct {
	pipeline.PipelineConfigV2
	Processors []map[string]interface{} `json:"processor"`
}

type EchoConfig

type EchoConfig struct {
	Message string `config:"message"`
}

type EchoProcessor

type EchoProcessor struct {
	// contains filtered or unexported fields
}

func (*EchoProcessor) Name

func (this *EchoProcessor) Name() string

func (*EchoProcessor) Process

func (this *EchoProcessor) Process(c *pipeline.Context) error

type GetPipelinesResponse

type GetPipelinesResponse map[string]*PipelineStatus

type PipeModule

type PipeModule struct {
	api.Handler
	// contains filtered or unexported fields
}

func (*PipeModule) Name

func (module *PipeModule) Name() string

func (*PipeModule) Setup

func (module *PipeModule) Setup()

func (*PipeModule) Start

func (module *PipeModule) Start() error

func (*PipeModule) Stop

func (module *PipeModule) Stop() error

type PipelineStatus

type PipelineStatus struct {
	State      pipeline.RunningState      `json:"state"`
	CreateTime time.Time                  `json:"create_time"`
	StartTime  *time.Time                 `json:"start_time"`
	EndTime    *time.Time                 `json:"end_time"`
	Context    util.MapStr                `json:"context"`
	Config     *pipeline.PipelineConfigV2 `json:"config"`
	Processors []map[string]interface{}   `json:"processor"`
}

type SearchPipelinesRequest

type SearchPipelinesRequest struct {
	Ids []string `json:"ids"`
}

Jump to

Keyboard shortcuts

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