sdk

package
v0.18.18 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuntimeWorkdirPath = "/scratch"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct{}

func NewLoader

func NewLoader() *Loader

func (*Loader) SDKForModule

func (l *Loader) SDKForModule(
	ctx context.Context,
	query *core.Query,
	sdk *core.SDKConfig,
	parentSrc *core.ModuleSource,
) (_ core.SDK, rerr error)

SDKForModule loads an SDK module based on the given SDK configuration.

If it's a builtin SDK, it will load it from the engine container. Otherwise, it will load it from the given source either from a URL or from a local path.

Jump to

Keyboard shortcuts

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