Fdb.Provisioning.FdbCliRunner
Namespace: FoundationDB.Client · delegate
Implements: MulticastDelegate, ICloneable, ISerializable
Runs fdbcli with the given arguments, and returns its exit code and combined console output
Remarks
The delegate owns the transport (docker exec into a container, a local binary, ...); the arguments never need extra quoting beyond what that transport requires.
Constructors
FdbCliRunner
FdbCliRunner(object object, IntPtr method)
Methods
BeginInvoke
IAsyncResult BeginInvoke(string[] arguments, CancellationToken ct, AsyncCallback callback, object object)
EndInvoke
Task<(int, string)> EndInvoke(IAsyncResult result)
Invoke
Task<(int, string)> Invoke(string[] arguments, CancellationToken ct)