fakes

package
v0.0.0-...-9a89ba0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2014 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
	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)

Jump to

Keyboard shortcuts

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