Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegisteredProbes = []func(){smartProbeRegister, udevProbeRegister}
RegisteredProbes contains register function of probes which we want to register
Functions ¶
Types ¶
type EventAction ¶
type EventAction string
const ( AttachEA EventAction = libudevwrapper.UDEV_ACTION_ADD // AttachEA is attach disk event name DetachEA EventAction = libudevwrapper.UDEV_ACTION_REMOVE // DetachEA is detach disk event name )
type ProbeEvent ¶
type ProbeEvent struct {
Controller *controller.Controller
}
ProbeEvent struct contain a copy of controller it will update disk resources
Click to show internal directories.
Click to hide internal directories.