Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuseFTPManager ¶
type FuseFTPManager interface { DeferInit(ctx context.Context) error GetFuseFTPClient(ctx context.Context) rpc.FuseFTPClient }
func NewFuseFTPManager ¶
func NewFuseFTPManager() FuseFTPManager
type Mounter ¶
type Mounter interface { // Start mounts the remote directory given by mountPoint on the local directory or drive letter // given ty clientMountPoint. The podIP and port is the address to the remote FTP or SFTP server. // The id is just used for logging purposes. Start(ctx context.Context, id, clientMountPoint, mountPoint string, podIP net.IP, port uint16) error }
A Mounter is responsible for mounting a remote filesystem in a local directory or drive letter.
func NewBridgeMounter ¶
func NewBridgeMounter(sessionID string, managerClient manager.ManagerClient, localPort uint16) Mounter
func NewFTPMounter ¶
func NewFTPMounter(client rpc.FuseFTPClient) Mounter
func NewSFTPMounter ¶
Click to show internal directories.
Click to hide internal directories.