pub async fn discover(config: &SingerSourceConfig) -> Result<Value, FaucetError>Available on crate features
source-rest and source-singer only.Expand description
Run the tap in discovery mode and parse its stdout as a Singer catalog.
Spawns <executable> --config <tmp> --discover <args…>, materializing
tap_config to a private temp file. A non-zero exit or non-JSON output is a
FaucetError::Source (with the tap’s stderr on failure).