facadeutil

package
v0.7.23 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TranslateWasmCreate

func TranslateWasmCreate(ctx context.Context, get WasmModuleGetter, catalogueID string, labels map[string]string) (models.CreateSandboxRequest, bool, error)

TranslateWasmCreate maps a facade template/snapshot id or runtime labels into a native wasm CreateSandboxRequest (plans/wasm-runtime.md UC-48).

Types

type WasmModuleGetter

type WasmModuleGetter interface {
	GetWasmModule(ctx context.Context, id string) (*models.WasmModule, error)
}

WasmModuleGetter resolves wasm_modules catalogue rows.

Jump to

Keyboard shortcuts

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