Documentation ¶
Index ¶
- type Mounter
- func (m *Mounter) BindMount(mountSource, targetPath string) error
- func (m *Mounter) FindMountByTargetPath(targetPath string) (*k8sMount.MountPoint, error)
- func (m *Mounter) FindMountByTargetPathHasPrefix(targetPath string) ([]k8sMount.MountPoint, error)
- func (m *Mounter) Mount(mountSource, targetPath, fsType string, mountOptions []string) error
- func (m *Mounter) Unmount(targetPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mounter ¶
type Mounter struct {
// contains filtered or unexported fields
}
Mounter executes mount/umount commands, finds out mount list
func (*Mounter) FindMountByTargetPath ¶
func (m *Mounter) FindMountByTargetPath(targetPath string) (*k8sMount.MountPoint, error)
FindMountByTargetPath finds mount by mount target path
func (*Mounter) FindMountByTargetPathHasPrefix ¶
func (m *Mounter) FindMountByTargetPathHasPrefix(targetPath string) ([]k8sMount.MountPoint, error)
FindMountByTargetPathHasPrefix finds mounts which target path with specified prefix
Click to show internal directories.
Click to hide internal directories.