CommunityToolkit.Aspire.Hosting.Sftp
📦 CommunityToolkit.Aspire.Hosting.Sftpv13.6.1Import path
apphost/modules/aspire4Functions
3Types
3 types, 4 functions and 4 members
Handles
Enums
Functions
DistributedApplicationBuilder
SftpContainerResource
method
WithHostKeyFilebuilderAdds a bind mount for the specified host key file to an SFTP container resource.
WithHostKeyFile(keyFile string, keyType KeyType) SftpContainerResourcemethod
WithUserKeyFilebuilderAdds a bind mount for the public key file of the specified user to an SFTP container resource.
WithUserKeyFile(username string, keyFile string, keyType KeyType) SftpContainerResourcemethod
WithUsersFilebuilderAdds a bind mount for the users.conf file to an SFTP container resource.
WithUsersFile(usersFile string) SftpContainerResource