drive

package
v0.0.0-...-c8a5df3 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drive

type Drive struct {
	Serial tape.Serial

	storage.Storage
	// contains filtered or unexported fields
}

Drive represents a tape drive.

func New

func New(name string, cfg tape.DriveConfig) (*Drive, error)

New returns a new fake tape drive implementation.

func (*Drive) Start

func (drv *Drive) Start(invdb inv.Inventory, chgr changer.Changer, fmtr format.Formatter) error

Start the drive.

Jump to

Keyboard shortcuts

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