Documentation ¶
Overview ¶
Package daemon is WORK IN PROGRESS
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartUDiskListener ¶
func StartUDiskListener()
Types ¶
type UDiskBlock ¶
func (*UDiskBlock) String ¶
func (block *UDiskBlock) String() string
type UDiskDrive ¶
func (*UDiskDrive) String ¶
func (drive *UDiskDrive) String() string
type UDiskFilesystem ¶
type UDiskFilesystem struct {
MountPoint []string
}
func (*UDiskFilesystem) String ¶
func (fs *UDiskFilesystem) String() string
type UDiskSignal ¶
type UDiskSignal struct { DrivePath string BlockPath string Drive *UDiskDrive Block *UDiskBlock FileSystem *UDiskFilesystem // contains filtered or unexported fields }
func HandleDBusSignal ¶
func HandleDBusSignal(v *dbus.Signal, removableDrives []*UDiskSignal) []*UDiskSignal
func ParseDbusObject ¶
func ParseDbusObject(signal *dbus.Signal) (*UDiskSignal, bool)
func (*UDiskSignal) String ¶
func (sig *UDiskSignal) String() string
type VolumeManagerPort ¶
type VolumeManagerPort interface { OnMountedVolume(volume backupmodel.VolumeToBackup) OnUnMountedVolume(uuid string) }
var (
VolumeManager VolumeManagerPort
)
Click to show internal directories.
Click to hide internal directories.