Skip to main content

Module worker

Module worker 

Source
Expand description

Worker module for executing commands across nodes.

This module provides the abstraction for executing commands across nodes, similar to ClusterShell’s Worker.

§Submodules

  • exec — Local command execution worker (ExecWorker)
  • ssh — SSH-based remote execution worker (SshWorker, ScpWorker)
  • tree — Tree-based propagation worker (TreeWorker)

Modules§

exec
ExecWorker implementation for running commands on nodes.
ssh
SSH Worker implementation.
tree
TreeWorker implementation for tree-based command propagation.

Structs§

StreamWriters
Registry of named output streams with ClusterShell EngineClient write semantics.

Enums§

StreamWriteOutcome
Outcome of a single stream flush attempt.
WorkerError
Error types for the worker module.
WorkerState
Current state of a worker.

Traits§

EventHandler
Event handler trait for worker events.
Worker
Trait for worker implementations.

Type Aliases§

Result
Result type alias for worker operations.
TakenBuffers
Buffered output taken from an EventHandler: (stdout, stderr, timeouts), with stdout/stderr keyed by node.