runpod_deploy.transport#

SSH and rsync primitives. RemoteRunner wraps subprocess for SSH command execution with explicit RemoteRunError semantics (distinguishes “SSH command failed” from “orchestrator state error”). rsync_argv constructs the rsync command line, including the resolved exclude list from RsyncPushSpec.effective_excludes.

RemoteRunner

Targets one SSH-ready pod.

RemoteRunError

Raised when remote execution or remote-log monitoring fails.

rsync_argv

Build the project-standard rsync argv.