Module holochain_cli_sandbox::calls [−][src]
Expand description
Helpers for making AdminRequest
s to the admin api.
This module is designed for use in a CLI so it is more simplified
then calling the CmdRunner
directly.
For simple calls like AdminRequest::ListDnas
this is probably easier
but if you want more control use CmdRunner::command
.
Structs
Calls AdminRequest::AddAdminInterfaces and adds another admin interface.
Calls AdminRequest::AttachAppInterface and adds another app interface.
Calls AdminRequest::DisableApp and disables the installed app.
Calls AdminRequest::DumpState and dumps the current cell’s state. TODO: Add pretty print. TODO: Default to dumping all cell state.
Calls AdminRequest::EnableApp and activates the installed app.
Calls AdminRequest::InstallApp and installs a new app.
Calls AdminRequest::InstallAppBundle and installs a new app.
Calls AdminRequest::RequestAgentInfo and pretty prints the agent info on this conductor.
Calls AdminRequest::ListApps and pretty prints the list of apps installed in this conductor.
Calls AdminRequest::RegisterDna and registers a Dna. You can only use a path or a hash not both.
Calls AdminRequest::UninstallApp and uninstalls the specified app.
Enums
Functions
Calls AdminRequest::AddAdminInterfaces
and adds another admin interface.
Calls AdminRequest::AddAgentInfo
with and adds the list of agent info.
Calls AdminRequest::AttachAppInterface
and adds another app interface.
Calls AdminRequest::DisableApp
and disables the installed app.
Calls AdminRequest::DumpState
and dumps the current cell’s state.
Calls AdminRequest::EnableApp
and activates the installed app.
Calls AdminRequest::InstallApp
and installs a new app.
Creates an app per dna with the app id of {app-id}-{dna-index}
e.g. my-cool-app-3
.
Calls AdminRequest::InstallApp
and installs a new app.
Calls AdminRequest::RegisterDna
and registers dna.
Calls AdminRequest::RequestAgentInfo
and pretty prints the agent info on this conductor.
Calls AdminRequest::UninstallApp
and uninstalls the installed app.