csimounter

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(mounterPath, fuseSocketDir string) (mount.Interface, error)

New returns a mount.MounterForceUnmounter for the current system. It provides options to override the default mounter behavior. mounterPath allows using an alternative to `/bin/mount` for mounting.

Types

type Mounter

type Mounter struct {
	mount.MounterForceUnmounter
	// contains filtered or unexported fields
}

Mounter provides the Cloud Storage FUSE CSI implementation of mount.Interface for the linux platform.

func (*Mounter) Mount

func (m *Mounter) Mount(source string, target string, fstype string, options []string) error

func (*Mounter) Unmount added in v1.6.0

func (m *Mounter) Unmount(target string) error

func (*Mounter) UnmountWithForce added in v1.6.0

func (m *Mounter) UnmountWithForce(target string, umountTimeout time.Duration) error

Jump to

Keyboard shortcuts

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