Tryorama
Tools for managing Holochain Conductors and TryCP Conductors.
TryCP stands for Tryorama Control Protocol and is a protocol to enable remote management of Holochain conductors on network hosts.
Class |
Description |
---|---|
A class to manage a conductor running on localhost. | |
An abstraction of a test scenario to write tests against Holochain hApps, running on a local conductor. | |
A factory class to create client connections to a running TryCP server. With a client, conductors on the server can ba configured, started and stopped. All valid Admin and App API commands can be sent to the server too. | |
A class to manage a conductor running on a TryCP server. | |
A test scenario abstraction with convenience functions to manage TryCP clients and players (agent + conductor). Clients in turn help manage conductors on TryCP servers. Clients can be added to a scenario to keep track of all server connections. When finishing a test scenario, all conductors of all clients can be easily cleaned up and the client connections closed. | |
A factory class to start and stop local instances of the TryCP server. |
Enumeration |
Description |
---|---|
The network type the conductor should use to communicate with peers. |
Function |
Description |
---|---|
Add all agents of all conductors to each other. Shortcuts peer discovery through a bootstrap server or gossiping. | |
A utility function to compare conductors' integrated DhtOps. | |
A utility function to compare conductors' integrated DhtOps. | |
Run the | |
A utility function to wait until all conductors' integrated DhtOps are identical for a DNA. | |
The function to create a conductor. It starts a sandbox conductor via the Holochain CLI. | |
The function to create a TryCP Conductor. By default configures and starts it. | |
A utility function to wait until all conductors' integrated DhtOps are identical for a DNA. | |
Enable an app and build an agent app object. | |
Create curried version of | |
Get a shorthand function to call a cell's zome. | |
A utility function to wait the given amount of time. | |
Spawn a signalling server to enable connections between conductors. | |
A wrapper function to create and run a scenario. A scenario is created and all involved conductors are shut down and cleaned up after running. | |
Shutdown signalling server process. |
Interface |
Description |
---|---|
Provides direct access to cells of an app and the agent key. | |
Error response from the Admin or App API. | |
Optional arguments when installing a hApp. | |
A TryCP client and its associated players. | |
DNA source and additional options. | |
Response for downloading logs. | |
Enumerated response for downloading logs. | |
Base interface of a Tryorama conductor. Both Conductor and TryCpConductor implement this interface. | |
A Conductor and a CellId | |
Combines an agent hApp with the conductor they belong to. | |
A player tied to a Conductor. | |
All possible calls to the Admin API. | |
Request app info from a conductor. | |
Request a call to the Admin API. | |
Request a call to the App API. | |
Msgpack encoded request to call an app interface. | |
Request to call a zome on a conductor's app interface. | |
Request to create configuration files and directories for a conductor. | |
Request to connect an app interface to a conductor. | |
Create a clone cell. | |
Delete a disabled clone cell. | |
Disable a clone cell. | |
Request to disconnect a connected app interface from a conductor. | |
Request to download a DNA from a URL. | |
Request type for fetching logs from a given conductor. | |
Request to enable the app. | |
Enable a disabled clone cell. | |
Request network info. | |
Request to provide deferred memproofs for an app. | |
Request deletion of **all** conductors. | |
Request to save a DNA to the server's file system. | |
Request shutdown of a conductor. | |
Request startup of a conductor. | |
Options when creating a scenario. | |
A player tied to a TryCpConductor. |
Variable |
Description |
---|---|
The default partial config for a TryCP conductor. | |
Default TryCP server host address. | |
Default TryCP server port. | |
Empty success response. |
Type Alias |
Description |
---|---|
All possible responses from the Admin API. | |
An app and an optional agent pub key for each agent. Optionally a network seed to be used for DNA installation. | |
App API Responses. | |
Extends an installed cell by a function to call a zome. | |
The function for calling a zome from a specific cell. | |
The zome request options adapted to a specific cell. | |
Options for using the conductor factory. | |
AdminWebsocket interface for local and TryCP conductors. | |
AppWebsocket interface for local and TryCP conductors. | |
The types of all possible calls to the Admin API. | |
All possible calls to the App API. | |
Possible responses from the Admin and App APIs. | |
Log level for a TryCP conductor. | |
A response from the TryCP server. | |
Contains all possible request types. | |
Error response values. | |
Possible values a for success response from the TryCP server. |