custom

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

Documentation

Overview

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

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

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Custom

type Custom struct {
}

func Load

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

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

func LoadFromPath

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

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

type ExampleConsole

type ExampleConsole interface {
	sink.Sink
}

type ExampleConsoleImpl

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

	Name string `pkl:"name"`

	Inputs []string `pkl:"inputs"`

	Threads uint `pkl:"threads"`
}

func (*ExampleConsoleImpl) GetInputs

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

func (*ExampleConsoleImpl) GetName

func (rcv *ExampleConsoleImpl) GetName() string

func (*ExampleConsoleImpl) GetSourceName

func (rcv *ExampleConsoleImpl) GetSourceName() string

func (*ExampleConsoleImpl) GetThreads

func (rcv *ExampleConsoleImpl) GetThreads() uint

type ExampleGenInt

type ExampleGenInt interface {
	input.Input

	GetCount() int
}

type ExampleGenIntImpl

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

	Count int `pkl:"count"`

	Name string `pkl:"name"`

	Threads uint `pkl:"threads"`

	OutputBufferSize uint `pkl:"outputBufferSize"`
}

func (*ExampleGenIntImpl) GetCount

func (rcv *ExampleGenIntImpl) GetCount() int

func (*ExampleGenIntImpl) GetName

func (rcv *ExampleGenIntImpl) GetName() string

func (*ExampleGenIntImpl) GetOutputBufferSize

func (rcv *ExampleGenIntImpl) GetOutputBufferSize() uint

func (*ExampleGenIntImpl) GetSourceName

func (rcv *ExampleGenIntImpl) GetSourceName() string

func (*ExampleGenIntImpl) GetThreads

func (rcv *ExampleGenIntImpl) GetThreads() uint

type ExampleMul

type ExampleMul interface {
	transform.Transform

	GetMul() int
}

type ExampleMulImpl

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

	Mul int `pkl:"mul"`

	Name string `pkl:"name"`

	Inputs []string `pkl:"inputs"`

	Threads uint `pkl:"threads"`

	OutputBufferSize uint `pkl:"outputBufferSize"`
}

func (*ExampleMulImpl) GetInputs

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

func (*ExampleMulImpl) GetMul

func (rcv *ExampleMulImpl) GetMul() int

func (*ExampleMulImpl) GetName

func (rcv *ExampleMulImpl) GetName() string

func (*ExampleMulImpl) GetOutputBufferSize

func (rcv *ExampleMulImpl) GetOutputBufferSize() uint

func (*ExampleMulImpl) GetSourceName

func (rcv *ExampleMulImpl) GetSourceName() string

func (*ExampleMulImpl) GetThreads

func (rcv *ExampleMulImpl) GetThreads() uint

Jump to

Keyboard shortcuts

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