devicepathresolver

package
v0.0.0-...-3fc8308 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2015 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDummyDevicePathResolver

func NewDummyDevicePathResolver() dummyDevicePathResolver

func NewIDDevicePathResolver

func NewIDDevicePathResolver(
	diskWaitTimeout time.Duration,
	udev boshudev.UdevDevice,
	fs boshsys.FileSystem,
) idDevicePathResolver

func NewMappedDevicePathResolver

func NewMappedDevicePathResolver(
	diskWaitTimeout time.Duration,
	fs boshsys.FileSystem,
) mappedDevicePathResolver

func NewScsiDevicePathResolver

func NewScsiDevicePathResolver(
	diskWaitTimeout time.Duration,
	fs boshsys.FileSystem,
) (scsiDevicePathResolver scsiDevicePathResolver)

func NewVirtioDevicePathResolver

func NewVirtioDevicePathResolver(
	idDevicePathResolver DevicePathResolver,
	mappedDevicePathResolver DevicePathResolver,
	logger boshlog.Logger,
) virtioDevicePathResolver

Types

type DevicePathResolver

type DevicePathResolver interface {
	GetRealDevicePath(diskSettings boshsettings.DiskSettings) (realPath string, timedOut bool, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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