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 theis_fail_fastflag 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ยง
- GCContainer
Runner - Manages runtime containers via the
podmanCLI. - GCContainer
Runner Builder - GCProcess
Runner - Starts and stops plugin runtimes via
systemctl. - GCRuntime
Manager - The runtime manager is responsible for managing the runtimes.
- GCRuntime
Runner Manager - Wraps a
RuntimeRunnerwith higher-level lifecycle management: - GCShared
Runtime Manager - Shared handle to
GCRuntimeManager, cheap to clone.
Enumsยง
- Container
Runner Error - Runner
Error - Low-level error returned by
crate::RuntimeRunnerimplementations. - Runtime
Manager Error - Start
Runtime Error - Error type returned by runtime start operations.
- Stop
Runtime Error - Error type returned by runtime stop operations.
Traitsยง
- Runtime
Runner - Abstraction over the mechanism used to start and stop plugin runtimes.
Type Aliasesยง
- GCRuntime
Identifier ๐ - Runner
Future - Boxed, send-able future returned by
RuntimeRunnermethods.