Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeUdevDevice ¶
type FakeUdevDevice struct { KickDeviceFile string Settled bool SettleErr error Triggered bool TriggerErr error EnsureDeviceReadableFile string EnsureDeviceReadableError error }
func NewFakeUdevDevice ¶
func NewFakeUdevDevice() (lowlevel *FakeUdevDevice)
func (*FakeUdevDevice) EnsureDeviceReadable ¶
func (l *FakeUdevDevice) EnsureDeviceReadable(filePath string) (err error)
func (*FakeUdevDevice) KickDevice ¶
func (l *FakeUdevDevice) KickDevice(filePath string)
func (*FakeUdevDevice) Settle ¶
func (l *FakeUdevDevice) Settle() (err error)
func (*FakeUdevDevice) Trigger ¶
func (l *FakeUdevDevice) Trigger() (err error)
Click to show internal directories.
Click to hide internal directories.