package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Functions

EnsureRuntimeStateDir ensures a specific per-runtime directory exists and returns its full path.
No description provided by the author
New creates a new runtime registry.
NewRuntimeHostHandler returns a protocol handler that provides the required host methods for the runtime to interact with the outside world.
NewRuntimeHostNode creates a new runtime host node.
NewRuntimeHostNotifier returns a protocol notifier that handles key manager policy updates.
ParseRuntimeMap parses strings in the format of <runtime-id>[:<value>] and returns them as a map of runtime IDs to value.

# Constants

LocalStorageFile is the filename of the worker's local storage database.
MaxRuntimeCount is the maximum number of runtimes that can be supported by a single node.
RuntimesDir is the name of the directory located inside the node's data directory which contains the per-runtime state.

# Variables

ErrRuntimeHostNotConfigured is the error returned when the runtime host is not configured for a specified runtime and a request is made to get the runtime host provisioner.

# Structs

RuntimeHostNode provides methods for nodes that need to host runtimes.

# Interfaces

Registry is the running node's runtime registry interface.
Runtime is the running node's supported runtime interface.
RuntimeHostHandlerEnvironment is the host environment interface.