Skip to main content

Crate gc_hub_rt_manager

Crate gc_hub_rt_manager 

Expand description

This module is responsible for managing the runtime instances of the Service hub.

Modulesยง

error ๐Ÿ”’
runner ๐Ÿ”’
Trait abstraction for runtime lifecycle management.
runtime_handler ๐Ÿ”’
runtime_manager ๐Ÿ”’

Macrosยง

request
This macro is used specifically for the function push_configuration. It simplifies the error handling and logging of the requests to the runtime. If the is_fail_fast flag is set to true, the function will return immediately if an error occurs. Otherwise, the error will be logged and the function will continue.

Structsยง

GCContainerRunner
Manages runtime containers via the podman CLI.
GCContainerRunnerBuilder
GCProcessRunner
Starts and stops plugin runtimes via systemctl.
GCRuntimeManager
The runtime manager is responsible for managing the runtimes.
GCRuntimeRunnerManager
Wraps a RuntimeRunner with higher-level lifecycle management:
GCSharedRuntimeManager
Shared handle to GCRuntimeManager, cheap to clone.

Enumsยง

ContainerRunnerError
RunnerError
Low-level error returned by crate::RuntimeRunner implementations.
RuntimeManagerError
StartRuntimeError
Error type returned by runtime start operations.
StopRuntimeError
Error type returned by runtime stop operations.

Traitsยง

RuntimeRunner
Abstraction over the mechanism used to start and stop plugin runtimes.

Type Aliasesยง

GCRuntimeIdentifier ๐Ÿ”’
RunnerFuture
Boxed, send-able future returned by RuntimeRunner methods.