engines

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config = map[string]any

type Engine

type Engine interface {
	GetComputeInstances(ctx context.Context, environment Environment) ([]topology.ComputeInstances, *httperr.Error)
	GenerateOutput(ctx context.Context, vertex *topology.Vertex, params map[string]any) ([]byte, *httperr.Error)
}

type Environment

type Environment any

type Loader

type Loader = component.Loader[Engine, Config]

type NamedLoader

type NamedLoader = component.NamedLoader[Engine, Config]

type Registry

type Registry component.Registry[Engine, Config]

func NewRegistry

func NewRegistry(namedLoaders ...NamedLoader) Registry

func (Registry) Get

func (r Registry) Get(name string) (Loader, *httperr.Error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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