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.
Click to show internal directories.
Click to hide internal directories.