input

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: Apache-2.0 Imports: 8 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.

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 CommitConfiguration added in v1.3.0

type CommitConfiguration struct {
	Strategy commitstrategy.CommitStrategy `pkl:"strategy"`

	Interval pkl.Duration `pkl:"interval"`
}

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

	GetCommitSrategy() CommitConfiguration

	GetConsumerGroupID() string

	GetAutoOffsetReset() autooffsetreset.AutoOffsetReset

	GetBalancerStrategy() []strategy.Strategy

	GetIsolationLevel() isolationlevel.IsolationLevel

	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"`

	CommitSrategy CommitConfiguration `pkl:"commitSrategy"`

	ConsumerGroupID string `pkl:"consumerGroupID"`

	AutoOffsetReset autooffsetreset.AutoOffsetReset `pkl:"autoOffsetReset"`

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

	IsolationLevel isolationlevel.IsolationLevel `pkl:"isolationLevel"`

	MaxPartitionFetchBytes pkl.DataSize `pkl:"maxPartitionFetchBytes"`

	FetchMaxBytes pkl.DataSize `pkl:"fetchMaxBytes"`

	Name string `pkl:"name"`

	Threads uint `pkl:"threads"`

	OutputBufferSize uint `pkl:"outputBufferSize"`
}

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) GetCommitSrategy added in v1.3.0

func (rcv KafkaImpl) GetCommitSrategy() CommitConfiguration

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) GetIsolationLevel added in v1.3.0

func (rcv KafkaImpl) GetIsolationLevel() isolationlevel.IsolationLevel

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`.
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