sink

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated from Pkl module `com.pipelaner.source.sinks`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.source.sinks`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.source.sinks`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.source.sinks`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.source.sinks`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.source.sinks`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.source.sinks`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.source.sinks`. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clickhouse

type Clickhouse interface {
	Sink

	GetCredentials() *common.ChCredentials

	GetTableName() string

	GetAsyncInsert() string

	GetWaitForAsyncInsert() string

	GetMaxPartitionsPerInsertBlock() int
}

type ClickhouseImpl

type ClickhouseImpl struct {
	SourceName string `pkl:"sourceName"`

	Credentials *common.ChCredentials `pkl:"credentials"`

	TableName string `pkl:"tableName"`

	AsyncInsert string `pkl:"asyncInsert"`

	WaitForAsyncInsert string `pkl:"waitForAsyncInsert"`

	MaxPartitionsPerInsertBlock int `pkl:"maxPartitionsPerInsertBlock"`

	Name string `pkl:"name"`

	Inputs []string `pkl:"inputs"`

	Threads uint `pkl:"threads"`
}

func (*ClickhouseImpl) GetAsyncInsert added in v1.0.0

func (rcv *ClickhouseImpl) GetAsyncInsert() string

func (*ClickhouseImpl) GetCredentials added in v1.1.0

func (rcv *ClickhouseImpl) GetCredentials() *common.ChCredentials

func (*ClickhouseImpl) GetInputs

func (rcv *ClickhouseImpl) GetInputs() []string

func (*ClickhouseImpl) GetMaxPartitionsPerInsertBlock added in v1.0.10

func (rcv *ClickhouseImpl) GetMaxPartitionsPerInsertBlock() int

func (*ClickhouseImpl) GetName

func (rcv *ClickhouseImpl) GetName() string

func (*ClickhouseImpl) GetSourceName

func (rcv *ClickhouseImpl) GetSourceName() string

func (*ClickhouseImpl) GetTableName added in v1.0.0

func (rcv *ClickhouseImpl) GetTableName() string

func (*ClickhouseImpl) GetThreads

func (rcv *ClickhouseImpl) GetThreads() uint

func (*ClickhouseImpl) GetWaitForAsyncInsert added in v1.0.0

func (rcv *ClickhouseImpl) GetWaitForAsyncInsert() string

type Console

type Console interface {
	Sink

	GetLogFormat() logformat.LogFormat
}

type ConsoleImpl

type ConsoleImpl struct {
	SourceName string `pkl:"sourceName"`

	LogFormat logformat.LogFormat `pkl:"logFormat"`

	Name string `pkl:"name"`

	Inputs []string `pkl:"inputs"`

	Threads uint `pkl:"threads"`
}

func (*ConsoleImpl) GetInputs

func (rcv *ConsoleImpl) GetInputs() []string

func (*ConsoleImpl) GetLogFormat added in v1.0.0

func (rcv *ConsoleImpl) GetLogFormat() logformat.LogFormat

func (*ConsoleImpl) GetName

func (rcv *ConsoleImpl) GetName() string

func (*ConsoleImpl) GetSourceName

func (rcv *ConsoleImpl) GetSourceName() string

func (*ConsoleImpl) GetThreads

func (rcv *ConsoleImpl) GetThreads() uint

type Http added in v1.0.0

type Http interface {
	Sink

	GetUrl() string

	GetMethod() method.Method

	GetHeaders() *map[string]string
}

type HttpImpl added in v1.0.0

type HttpImpl struct {
	SourceName string `pkl:"sourceName"`

	Url string `pkl:"url"`

	Method method.Method `pkl:"method"`

	Headers *map[string]string `pkl:"headers"`

	Name string `pkl:"name"`

	Inputs []string `pkl:"inputs"`

	Threads uint `pkl:"threads"`
}

func (*HttpImpl) GetHeaders added in v1.0.8

func (rcv *HttpImpl) GetHeaders() *map[string]string

func (*HttpImpl) GetInputs added in v1.0.0

func (rcv *HttpImpl) GetInputs() []string

func (*HttpImpl) GetMethod added in v1.0.0

func (rcv *HttpImpl) GetMethod() method.Method

func (*HttpImpl) GetName added in v1.0.0

func (rcv *HttpImpl) GetName() string

func (*HttpImpl) GetSourceName added in v1.0.0

func (rcv *HttpImpl) GetSourceName() string

func (*HttpImpl) GetThreads added in v1.0.0

func (rcv *HttpImpl) GetThreads() uint

func (*HttpImpl) GetUrl added in v1.0.0

func (rcv *HttpImpl) GetUrl() string

type Kafka added in v1.0.0

type Kafka interface {
	Sink

	GetCommon() *common.Kafka

	GetMaxRequestSize() *pkl.DataSize

	GetLingerMs() *pkl.Duration

	GetBatchNumMessages() int
}

type KafkaImpl added in v1.0.0

type KafkaImpl struct {
	SourceName string `pkl:"sourceName"`

	Common *common.Kafka `pkl:"common"`

	MaxRequestSize *pkl.DataSize `pkl:"maxRequestSize"`

	LingerMs *pkl.Duration `pkl:"lingerMs"`

	BatchNumMessages int `pkl:"batchNumMessages"`

	Name string `pkl:"name"`

	Inputs []string `pkl:"inputs"`

	Threads uint `pkl:"threads"`
}

func (*KafkaImpl) GetBatchNumMessages added in v1.0.0

func (rcv *KafkaImpl) GetBatchNumMessages() int

func (*KafkaImpl) GetCommon added in v1.0.0

func (rcv *KafkaImpl) GetCommon() *common.Kafka

func (*KafkaImpl) GetInputs added in v1.0.0

func (rcv *KafkaImpl) GetInputs() []string

func (*KafkaImpl) GetLingerMs added in v1.0.0

func (rcv *KafkaImpl) GetLingerMs() *pkl.Duration

func (*KafkaImpl) GetMaxRequestSize added in v1.0.0

func (rcv *KafkaImpl) GetMaxRequestSize() *pkl.DataSize

func (*KafkaImpl) GetName added in v1.0.0

func (rcv *KafkaImpl) GetName() string

func (*KafkaImpl) GetSourceName added in v1.0.0

func (rcv *KafkaImpl) GetSourceName() string

func (*KafkaImpl) GetThreads added in v1.0.0

func (rcv *KafkaImpl) GetThreads() uint

type Pipelaner added in v1.0.0

type Pipelaner interface {
	Sink

	GetCommonConfig() *common.Pipelaner
}

type PipelanerImpl added in v1.0.0

type PipelanerImpl struct {
	SourceName string `pkl:"sourceName"`

	CommonConfig *common.Pipelaner `pkl:"commonConfig"`

	Name string `pkl:"name"`

	Inputs []string `pkl:"inputs"`

	Threads uint `pkl:"threads"`
}

func (*PipelanerImpl) GetCommonConfig added in v1.0.0

func (rcv *PipelanerImpl) GetCommonConfig() *common.Pipelaner

func (*PipelanerImpl) GetInputs added in v1.0.0

func (rcv *PipelanerImpl) GetInputs() []string

func (*PipelanerImpl) GetName added in v1.0.0

func (rcv *PipelanerImpl) GetName() string

func (*PipelanerImpl) GetSourceName added in v1.0.0

func (rcv *PipelanerImpl) GetSourceName() string

func (*PipelanerImpl) GetThreads added in v1.0.0

func (rcv *PipelanerImpl) GetThreads() uint

type Sink

type Sink interface {
	GetName() string

	GetSourceName() string

	GetInputs() []string

	GetThreads() uint
}

type Sinks

type Sinks struct {
}

func Load

func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (*Sinks, error)

Load loads the pkl module at the given source and evaluates it with the given evaluator into a Sinks

func LoadFromPath

func LoadFromPath(ctx context.Context, path string) (ret *Sinks, err error)

LoadFromPath loads the pkl module at the given path and evaluates it into a Sinks

Directories

Path Synopsis
Code generated from Pkl module `com.pipelaner.source.sinks`.
Code generated from Pkl module `com.pipelaner.source.sinks`.

Jump to

Keyboard shortcuts

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