input

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: 6 Imported by: 0

Documentation

Overview

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

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

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

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd added in v1.0.0

type Cmd interface {
	Input

	GetExec() []string
}

type CmdImpl added in v1.0.0

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

	Exec []string `pkl:"exec"`

	Name string `pkl:"name"`

	Threads uint `pkl:"threads"`

	OutputBufferSize uint `pkl:"outputBufferSize"`
}

func (*CmdImpl) GetExec added in v1.0.0

func (rcv *CmdImpl) GetExec() []string

func (*CmdImpl) GetName added in v1.0.0

func (rcv *CmdImpl) GetName() string

func (*CmdImpl) GetOutputBufferSize added in v1.0.0

func (rcv *CmdImpl) GetOutputBufferSize() uint

func (*CmdImpl) GetSourceName added in v1.0.0

func (rcv *CmdImpl) GetSourceName() string

func (*CmdImpl) GetThreads added in v1.0.0

func (rcv *CmdImpl) GetThreads() uint

type Input

type Input interface {
	GetName() string

	GetSourceName() string

	GetThreads() uint

	GetOutputBufferSize() uint
}

type Inputs

type Inputs struct {
}

func Load

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

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

func LoadFromPath

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

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

type Kafka added in v1.0.0

type Kafka interface {
	Input

	GetCommon() *common.Kafka

	GetAutoCommitEnabled() bool

	GetConsumerGroupID() string

	GetAutoOffsetReset() autooffsetreset.AutoOffsetReset

	GetBalancerStrategy() []strategy.Strategy

	GetMaxPartitionFetchBytes() *pkl.DataSize

	GetFetchMaxBytes() *pkl.DataSize
}

type KafkaImpl added in v1.0.0

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

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

	AutoCommitEnabled bool `pkl:"autoCommitEnabled"`

	ConsumerGroupID string `pkl:"consumerGroupID"`

	AutoOffsetReset autooffsetreset.AutoOffsetReset `pkl:"autoOffsetReset"`

	BalancerStrategy []strategy.Strategy `pkl:"balancerStrategy"`

	MaxPartitionFetchBytes *pkl.DataSize `pkl:"maxPartitionFetchBytes"`

	FetchMaxBytes *pkl.DataSize `pkl:"fetchMaxBytes"`

	Name string `pkl:"name"`

	Threads uint `pkl:"threads"`

	OutputBufferSize uint `pkl:"outputBufferSize"`
}

func (*KafkaImpl) GetAutoCommitEnabled added in v1.0.0

func (rcv *KafkaImpl) GetAutoCommitEnabled() bool

func (*KafkaImpl) GetAutoOffsetReset added in v1.0.0

func (rcv *KafkaImpl) GetAutoOffsetReset() autooffsetreset.AutoOffsetReset

func (*KafkaImpl) GetBalancerStrategy added in v1.0.0

func (rcv *KafkaImpl) GetBalancerStrategy() []strategy.Strategy

func (*KafkaImpl) GetCommon added in v1.0.0

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

func (*KafkaImpl) GetConsumerGroupID added in v1.0.0

func (rcv *KafkaImpl) GetConsumerGroupID() string

func (*KafkaImpl) GetFetchMaxBytes added in v1.0.0

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

func (*KafkaImpl) GetMaxPartitionFetchBytes added in v1.0.0

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

func (*KafkaImpl) GetName added in v1.0.0

func (rcv *KafkaImpl) GetName() string

func (*KafkaImpl) GetOutputBufferSize added in v1.0.0

func (rcv *KafkaImpl) GetOutputBufferSize() uint

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

type Pipelaner interface {
	Input

	GetCommonConfig() *common.Pipelaner

	GetConnectionType() connectiontype.ConnectionType

	GetUnixSocketPath() *string
}

type PipelanerImpl

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

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

	ConnectionType connectiontype.ConnectionType `pkl:"connectionType"`

	UnixSocketPath *string `pkl:"unixSocketPath"`

	Name string `pkl:"name"`

	Threads uint `pkl:"threads"`

	OutputBufferSize uint `pkl:"outputBufferSize"`
}

func (*PipelanerImpl) GetCommonConfig added in v1.0.0

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

func (*PipelanerImpl) GetConnectionType

func (rcv *PipelanerImpl) GetConnectionType() connectiontype.ConnectionType

func (*PipelanerImpl) GetName

func (rcv *PipelanerImpl) GetName() string

func (*PipelanerImpl) GetOutputBufferSize

func (rcv *PipelanerImpl) GetOutputBufferSize() uint

func (*PipelanerImpl) GetSourceName

func (rcv *PipelanerImpl) GetSourceName() string

func (*PipelanerImpl) GetThreads

func (rcv *PipelanerImpl) GetThreads() uint

func (*PipelanerImpl) GetUnixSocketPath added in v1.0.0

func (rcv *PipelanerImpl) GetUnixSocketPath() *string

Directories

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

Jump to

Keyboard shortcuts

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