Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeMountPoint ¶
func ParseRemoteSpec ¶
func RemoveMountRecord ¶
func StateFilePath ¶
Types ¶
type CommandSpec ¶
func UnmountCommands ¶
func UnmountCommands(goos, mountpoint string) ([]CommandSpec, error)
type MountRecord ¶
type MountRecord struct {
Host string `json:"host"`
RemotePath string `json:"remote_path"`
MountPoint string `json:"mount_point"`
Backend string `json:"backend"`
PID int `json:"pid"`
ReadWrite bool `json:"read_write"`
}
func ListMountRecords ¶
func ListMountRecords() ([]MountRecord, error)
func LoadMountRecord ¶
func LoadMountRecord(mountpoint string) (MountRecord, error)
Click to show internal directories.
Click to hide internal directories.