Skip to main content

Crate faucet_source_sftp

Crate faucet_source_sftp 

Source
Expand description

§faucet-source-sftp

SFTP source connector for the faucet-stream ecosystem.

Lists a remote directory (or reads a single file) over SFTP and streams the files as JSON Lines, JSON arrays, or raw text — with bounded memory for the line- and record-oriented formats. Connection, authentication, and host-key verification come from faucet-common-sftp.

Re-exports§

pub use config::SftpFormat;
pub use config::SftpSourceConfig;
pub use stream::SftpSource;

Modules§

config
SFTP source configuration.
stream
SFTP source stream executor.

Structs§

SftpConnectionConfig
Shared SFTP connection configuration.

Enums§

FaucetError
All possible errors returned by faucet-stream.
HostKeyPolicy
How the server’s host key is verified during the SSH handshake.
SftpAuth
SFTP authentication method.

Traits§

Source
A source fetches records from an external system.