mirror of
https://github.com/fluencelabs/aqua-lib
synced 2024-12-03 14:50:24 +00:00
18 lines
392 B
Plaintext
18 lines
392 B
Plaintext
aqua SubnetLib declares *
|
|
|
|
data Worker:
|
|
cu_ids: []string
|
|
host_id: string
|
|
worker_id: ?string
|
|
|
|
data SubnetResolveResult:
|
|
-- Was call successful or not
|
|
success: bool
|
|
-- Error message. Will be null if the call is successful
|
|
error: ?string
|
|
workers: []Worker
|
|
|
|
service Subnet("subnet"):
|
|
-- Returns a list of workers by deal id
|
|
resolve(deal_id: string) -> SubnetResolveResult
|