fakes

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

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)

Jump to

Keyboard shortcuts

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