Documentation
¶
Index ¶
- type MountService
- func (s *MountService) GetManager() *rclonecli.Manager
- func (s *MountService) GetStatus() rclonecli.MountInfo
- func (s *MountService) Mount(ctx context.Context) error
- func (s *MountService) RefreshPath(ctx context.Context, path string) error
- func (s *MountService) Start(ctx context.Context) error
- func (s *MountService) StartRCServer(ctx context.Context) error
- func (s *MountService) Stop(ctx context.Context) error
- func (s *MountService) Unmount(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MountService ¶
type MountService struct {
// contains filtered or unexported fields
}
MountService handles rclone mount operations using RC server
func NewMountService ¶
func NewMountService(cfm *config.Manager) *MountService
NewMountService creates a new mount service
func (*MountService) GetManager ¶
func (s *MountService) GetManager() *rclonecli.Manager
GetManager returns the underlying rclone manager for RC operations
func (*MountService) GetStatus ¶
func (s *MountService) GetStatus() rclonecli.MountInfo
GetStatus returns the current mount status
func (*MountService) Mount ¶
func (s *MountService) Mount(ctx context.Context) error
Mount creates the rclone mount
func (*MountService) RefreshPath ¶
func (s *MountService) RefreshPath(ctx context.Context, path string) error
RefreshPath refreshes a path in the VFS cache
func (*MountService) Start ¶
func (s *MountService) Start(ctx context.Context) error
Start starts the mount if enabled in configuration
func (*MountService) StartRCServer ¶
func (s *MountService) StartRCServer(ctx context.Context) error
StartRCServer starts the RC server if RClone is enabled but doesn't create a mount
Click to show internal directories.
Click to hide internal directories.