JS API Reference
Module: package/package
Table of contents
Classes
Interfaces
Type Aliases
Type Aliases
AllPackageOptions
Ƭ AllPackageOptions: Object
Type declaration
Name | Type | Description |
---|---|---|
engine? | string | Type of engine required: vm, emscripten, sgx, sgx-js, sgx-wasm, sgx-wasi |
minMemGib? | number | Minimum required memory to execute application GB |
minStorageGib? | number | Minimum required disk storage to execute tasks in GB |
minCpuThreads? | number | Minimum required CPU threads |
minCpuCores? | number | Minimum required CPU cores |
capabilities? | string [] | Required providers capabilities to run application |
imageHash? | string | finds package by its contents hash |
imageTag? | string | finds package by registry tag |
manifest? | string | - |
manifestSig? | string | Signature of base64 encoded Computation Payload Manifest * |
manifestSigAlgorithm? | string | Algorithm of manifest signature, e.g. "sha256" * |
manifestCert? | string | Certificate - base64 encoded public certificate (DER or PEM) matching key used to generate signature * |
logger? | Logger | - |
Defined in
PackageOptions
Ƭ PackageOptions: RequireAtLeastOne
<AllPackageOptions
, "imageHash"
| "imageTag"
| "manifest"
>