mount

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(mounterPath string) mount.Interface

func NewWithExecutor

func NewWithExecutor(mounterPath string, e executer.ExecuterInterface) mount.Interface

Types

type Mounter

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

Mounter is a warpper of mount.Mounter which has the ability to cancel a comand when timeout.

func (*Mounter) Unmount

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

Unmount unmounts the target.

Jump to

Keyboard shortcuts

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