pipeline

package
v0.0.0-...-92398f1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 21 Imported by: 1

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