github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/pkg/model/schemas/bacalhau.ipldsch (about) 1 type Resource union { 2 | IPFS "ipfs" 3 | HTTP "http" 4 } representation stringprefix 5 6 type IPFS string 7 type HTTP string 8 9 type DockerInputs struct { 10 entrypoint [String] 11 workdir String 12 mounts {String:Resource} 13 outputs {String:nullable Any} 14 env {String:String} 15 } 16 17 type WasmInputs struct { 18 entrypoint String 19 parameters [String] 20 modules [Resource] 21 mounts {String:Resource} 22 outputs {String:nullable Any} 23 env {String:String} 24 } 25 26 type BacalhauConfig struct { 27 publisher Publisher 28 verifier Verifier 29 timeout Duration 30 resources ResourceSpec 31 annotations [String] 32 dnt Bool 33 } 34 35 type Publisher enum { 36 | Noop ("1") 37 | IPFS ("2") 38 | Estuary ("3") 39 | FilecoinLotus ("4") 40 } representation int 41 42 type Verifier enum { 43 | Noop ("1") 44 | Deterministic ("2") 45 } representation int 46 47 type ResourceSpec struct { 48 cpu Millicores 49 disk ByteSize 50 memory ByteSize 51 gpu Int 52 } 53 54 type Duration int 55 56 type ByteSize int 57 58 type Millicores int