remotefs

package
v2.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

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, iceptWG *sync.WaitGroup) Mounter

func NewSFTPMounter

func NewSFTPMounter(iceptWG, podWG *sync.WaitGroup) Mounter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL