Versions in this module Expand all Collapse all v0 v0.1.1 Jun 1, 2026 v0.1.0 Jun 1, 2026 Changes in this version + const DefaultWASMABI + const ProductCaptureBrowserOperationCapture + const ProductCaptureBrowserProviderName + const ProductCaptureProviderBinaryPath + const ProductCaptureRequestPath + const ProductCaptureSnapshotPath + const WASMComponentOperationRun + const WASMComponentProviderName + func BoundedWASMStdin(input json.RawMessage) *bytes.Reader + func ProductCaptureBrowserContract(descriptor core.RuntimeDescriptor) core.RuntimeAdapterContract + func ProductCaptureCommand() []string + func SHA256Ref(data []byte) string + func WASMComponentContract(descriptor core.RuntimeDescriptor) core.RuntimeAdapterContract + func WASMMemoryLimitPages(memoryBytes int64) uint32 + func WriteStrictJSON(path string, value any) error + type ProductCaptureBrowserInvocationOptions struct + Image string + LeaseID string + Limits core.ResourceLimits + Network string + TaskID string + Timeout time.Duration + Workload core.ProductCaptureWorkload + Workspace string + type ProductCaptureBrowserRuntime interface + RunProductCaptureBrowser func(context.Context, ProductCaptureBrowserRuntimeInvocation) (core.RuntimeExecutionResult, error) + type ProductCaptureBrowserRuntimeInvocation struct + Image string + Network string + Request core.RuntimeExecutionRequest + Timeout time.Duration + Workspace string + func NewProductCaptureBrowserInvocation(opts ProductCaptureBrowserInvocationOptions) (ProductCaptureBrowserRuntimeInvocation, error) + type ProductCaptureProviderRequest struct + Workload core.ProductCaptureWorkload + type RuntimeAdapterCatalogDocument struct + Adapters []RuntimeAdapterCatalogEntry + HostOwnedResponsibilities []string + ProtocolVersion string + Version string + func (d RuntimeAdapterCatalogDocument) Validate() error + type RuntimeAdapterCatalogEntry struct + AdapterID string + ConformanceProfiles []string + Kinds []core.RuntimeAdapterKind + Operation string + RuntimeProfiles []core.RuntimeProfile + WorkloadKinds []core.WorkloadKind + WorkspacePolicy core.RuntimeWorkspacePolicy + func (e RuntimeAdapterCatalogEntry) Contract(descriptor core.RuntimeDescriptor) core.RuntimeAdapterContract + func (e RuntimeAdapterCatalogEntry) Validate() error + type SandboxRuntimeProductCaptureBrowserAdapter struct + Runtime computecontainer.SandboxRuntime + func (a SandboxRuntimeProductCaptureBrowserAdapter) RunProductCaptureBrowser(ctx context.Context, invocation ProductCaptureBrowserRuntimeInvocation) (core.RuntimeExecutionResult, error) + type WASMInvocationOptions struct + Kind core.WorkloadKind + LeaseID string + Limits core.ResourceLimits + Provider *core.ProviderWorkload + TaskID string + WASM *core.WASMWorkload + type WASMRunRequest struct + ABI string + Component []byte + ComponentDigest string + ComponentRef string + Input json.RawMessage + LeaseID string + Limits core.ResourceLimits + Operation string + ProtocolVersion string + ProviderConfig core.ProviderConfig + TaskID string + Workspace string + func NewWASMRunRequest(opts WASMInvocationOptions) (WASMRunRequest, error) + func (r WASMRunRequest) Validate() error + type WASMRunResult = core.RuntimeExecutionResult + type WASMRuntime interface + RunWASM func(context.Context, WASMRunRequest) (WASMRunResult, error) + type WazeroRuntime struct + func (WazeroRuntime) RunWASM(ctx context.Context, req WASMRunRequest) (WASMRunResult, error)