mounter

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCSIProxyMounter

func NewCSIProxyMounter() (*csiProxyMounter, error)

NewCSIProxyMounter - creates a new CSI Proxy mounter struct which encompassed all the clients to the CSI proxy - filesystem, disk and volume clients.

func NewCSIProxyMounterV1Beta added in v1.6.0

func NewCSIProxyMounterV1Beta() (*csiProxyMounterV1Beta, error)

NewCSIProxyMounter - creates a new CSI Proxy mounter struct which encompassed all the clients to the CSI proxy - filesystem, disk and volume clients.

func NewSafeMounter

func NewSafeMounter(enableWindowsHostProcess bool) (*mount.SafeFormatAndMount, error)

func NewWinMounter added in v1.27.0

func NewWinMounter() *winMounter

Types

type CSIProxyMounter

type CSIProxyMounter interface {
	mount.Interface

	SMBMount(source, target, fsType string, mountOptions, sensitiveMountOptions []string) error
	MakeDir(path string) error
	Rmdir(path string) error
	IsMountPointMatch(mp mount.MountPoint, dir string) bool
	ExistsPath(path string) (bool, error)
	GetAPIVersions() string
	EvalHostSymlinks(pathname string) (string, error)
}

CSIProxyMounter extends the mount.Interface interface with CSI Proxy methods.

Jump to

Keyboard shortcuts

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