mirror of
https://github.com/fluencelabs/aqua-lib
synced 2024-12-04 15:20:23 +00:00
Revert "Add new method for module upload from vault (#86)"
This reverts commit b439997ba7
.
This commit is contained in:
parent
b439997ba7
commit
4ec1498d32
@ -277,27 +277,20 @@ service Dist("dist"):
|
|||||||
-- module_name - import name of the module
|
-- module_name - import name of the module
|
||||||
default_module_config(module_name: string) -> ModuleConfig
|
default_module_config(module_name: string) -> ModuleConfig
|
||||||
|
|
||||||
|
|
||||||
-- Used to add modules to the node specified in the service call
|
-- Used to add modules to the node specified in the service call
|
||||||
-- Arguments:
|
-- Arguments:
|
||||||
-- bytes – a base64 string containing the .wasm module to add.
|
-- bytes – a base64 string containing the .wasm module to add.
|
||||||
-- config – module info
|
-- config – module info
|
||||||
-- Returns: blake3 hash of the module
|
-- Returns: blake3 hash of the module
|
||||||
-- NOTE: the config is IGNORED and only module's `name` is taken from it
|
|
||||||
add_module(wasm_b56_content: Bytes, conf: ModuleConfig) -> string
|
add_module(wasm_b56_content: Bytes, conf: ModuleConfig) -> string
|
||||||
|
|
||||||
-- Adds module by copying it from Particle Vault directory
|
-- Adds module by copying it from Particle Vault directory
|
||||||
-- Arguments:
|
-- Arguments:
|
||||||
-- path – path or a filename
|
-- path – path or a filename
|
||||||
-- config - module config
|
-- config - module config
|
||||||
-- NOTE: the config is IGNORED and only module's `name` is taken from it
|
|
||||||
add_module_from_vault(path: Path, config: ModuleConfig) -> Hash
|
add_module_from_vault(path: Path, config: ModuleConfig) -> Hash
|
||||||
|
|
||||||
-- Adds module by copying it from Particle Vault directory
|
|
||||||
-- Arguments:
|
|
||||||
-- path – path or a filename
|
|
||||||
-- config - module config
|
|
||||||
add_module_bytes_from_vault(name: string, module_cid: string) -> string
|
|
||||||
|
|
||||||
-- Get a list of modules available on the node
|
-- Get a list of modules available on the node
|
||||||
list_modules() -> []Module
|
list_modules() -> []Module
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user