sink

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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

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

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

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

Code generated from Pkl module `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

	GetAddress() string

	GetPassword() string

	GetDatabase() string

	GetMigrationEngine() string

	GetMigrationsPathClickhouse() string

	GetMaxExecutionTime() string
}

type ClickhouseImpl

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

	Address string `pkl:"address"`

	Password string `pkl:"password"`

	Database string `pkl:"database"`

	MigrationEngine string `pkl:"migrationEngine"`

	MigrationsPathClickhouse string `pkl:"migrationsPathClickhouse"`

	MaxExecutionTime string `pkl:"maxExecutionTime"`

	Name string `pkl:"name"`

	Inputs []string `pkl:"inputs"`

	Threads int `pkl:"threads"`
}

func (*ClickhouseImpl) GetAddress

func (rcv *ClickhouseImpl) GetAddress() string

func (*ClickhouseImpl) GetDatabase

func (rcv *ClickhouseImpl) GetDatabase() string

func (*ClickhouseImpl) GetInputs

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

func (*ClickhouseImpl) GetMaxExecutionTime

func (rcv *ClickhouseImpl) GetMaxExecutionTime() string

func (*ClickhouseImpl) GetMigrationEngine

func (rcv *ClickhouseImpl) GetMigrationEngine() string

func (*ClickhouseImpl) GetMigrationsPathClickhouse

func (rcv *ClickhouseImpl) GetMigrationsPathClickhouse() string

func (*ClickhouseImpl) GetName

func (rcv *ClickhouseImpl) GetName() string

func (*ClickhouseImpl) GetPassword

func (rcv *ClickhouseImpl) GetPassword() string

func (*ClickhouseImpl) GetSourceName

func (rcv *ClickhouseImpl) GetSourceName() string

func (*ClickhouseImpl) GetThreads

func (rcv *ClickhouseImpl) GetThreads() int

type Console

type Console interface {
	Sink
}

type ConsoleImpl

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

	Name string `pkl:"name"`

	Inputs []string `pkl:"inputs"`

	Threads int `pkl:"threads"`
}

func (*ConsoleImpl) GetInputs

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

func (*ConsoleImpl) GetName

func (rcv *ConsoleImpl) GetName() string

func (*ConsoleImpl) GetSourceName

func (rcv *ConsoleImpl) GetSourceName() string

func (*ConsoleImpl) GetThreads

func (rcv *ConsoleImpl) GetThreads() int

type Sink

type Sink interface {
	GetName() string

	GetSourceName() string

	GetInputs() []string

	GetThreads() int
}

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

Jump to

Keyboard shortcuts

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