SftpContainerResource.WithHostKeyFile
Method
type SftpContainerResource interface { // ... omitted for brevity WithHostKeyFile( keyFile string, keyType KeyType, ) SftpContainerResource}Signature
method
WithHostKeyFile builderAdds a bind mount for the specified host key file to an SFTP container resource.
WithHostKeyFile( keyFile string, keyType KeyType,) SftpContainerResourceParameters
keyFile stringThe path to the host key file.keyType KeyType The type of the host key.Returns
SftpContainerResource The I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: