engines

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 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 {
	ResolveComputeInstances(context.Context, []topology.ComputeInstances, any) ([]topology.ComputeInstances, *httperr.Error)
	GenerateOutput(context.Context, *topology.Graph, map[string]any) ([]byte, *httperr.Error)
}

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
* Copyright 2026, NVIDIA CORPORATION * SPDX-License-Identifier: Apache-2.0
* Copyright 2026, NVIDIA CORPORATION * SPDX-License-Identifier: Apache-2.0

Jump to

Keyboard shortcuts

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