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.
Click to show internal directories.
Click to hide internal directories.