-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an SFTP package #737
Add an SFTP package #737
Conversation
djjuhasz
commented
Oct 18, 2023
- Add an SFTP service definition
- Implement an SFTP upload service method using native Go SSH and SFTP packages
- Add SFTP configuration with some default values
- Generate a service mock with mockgen
- Add tests against a test SFTP server
88bafda
to
4014254
Compare
@sevein CI is passing now, so this is ready to review. |
4014254
to
ad179f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial feedback, I had to stop half-way through but will continue later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More suggestions, all minor.
46b118e
to
59e2333
Compare
84503ec
to
390c986
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor observations that shouldn't block you for merging. 👍
- Add an SFTP client interface definition - Implement an SFTP client upload method using native Go SSH and SFTP packages - Add SFTP configuration with some default values - Generate a client mock with mockgen - Add SFTP client tests against a test SFTP server
53e3241
to
83e2414
Compare