WithHostKeyFile
Method
func (SftpContainerResource) WithHostKeyFile( keyFile string, keyType KeyType,) SftpContainerResourceSignature
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().
Applies to
This method applies to the following types: