JS API Reference

Module: package/package

Table of contents

Classes

Interfaces

Type Aliases

Type Aliases

AllPackageOptions

Ƭ AllPackageOptions: Object

Type declaration

NameTypeDescription
engine?stringType of engine required: vm, emscripten, sgx, sgx-js, sgx-wasm, sgx-wasi
minMemGib?numberMinimum required memory to execute application GB
minStorageGib?numberMinimum required disk storage to execute tasks in GB
minCpuThreads?numberMinimum required CPU threads
minCpuCores?numberMinimum required CPU cores
capabilities?string[]Required providers capabilities to run application
imageHash?stringfinds package by its contents hash
imageTag?stringfinds package by registry tag
manifest?string-
manifestSig?stringSignature of base64 encoded Computation Payload Manifest *
manifestSigAlgorithm?stringAlgorithm of manifest signature, e.g. "sha256" *
manifestCert?stringCertificate - base64 encoded public certificate (DER or PEM) matching key used to generate signature *
logger?Logger-

Defined in

src/package/package.ts:7


PackageOptions

Ƭ PackageOptions: RequireAtLeastOne<AllPackageOptions, "imageHash" | "imageTag" | "manifest">

Defined in

src/package/package.ts:34