Class MonitorRunCommand
- Namespace
- Kuestenlogik.Bowire.Monitoring.Cli
- Assembly
- Kuestenlogik.Bowire.Monitoring.dll
The bowire monitor run implementation, split out of the CLI command
so it is testable with a pinned TextWriter and a swapped
executor. Loads the probe files, wires the recording-replay executor to the
installed protocol plugins, and either runs each probe once (--once)
or loops on the schedule until cancelled.
public static class MonitorRunCommand
- Inheritance
-
MonitorRunCommand
- Inherited Members
Methods
RunAsync(MonitorRunOptions, TextWriter, TextWriter, CancellationToken)
Run the command. Returns a process exit code.
public static Task<int> RunAsync(MonitorRunOptions options, TextWriter output, TextWriter error, CancellationToken ct = default)
Parameters
optionsMonitorRunOptionsoutputTextWritererrorTextWriterctCancellationToken