initiator

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

View Source
const FlushRetries = 3
View Source
const FlushTimeout = 10 * 1000
View Source
const KeyResetLIP = "RESET_LIP"
View Source
const SYSTOOL = "systool"
View Source
const SYSTOOL_TIMEOUT = 5 * 1000

Variables

View Source
var FC_HOST_SYSFS_PATH = "/sys/class/fc_host"
View Source
var SCSI_HOST_SYSFS_PATH = "/sys/class/scsi_host"
View Source
var SYS_BLOCK_PATH = "/sys/block"

Functions

This section is empty.

Types

type BaseInitiator

type BaseInitiator interface {
	RemoveSCSIDevice(device string) error
	FlushMultipath(deviceMapName string)
}

type Connector

type Connector interface {
	ConnectVolume(volumeMountProperties *resources.VolumeMountProperties) error
	DisconnectVolume(volumeMountProperties *resources.VolumeMountProperties) error
}

type Initiator

type Initiator interface {
	BaseInitiator
	GetHBAs() []string
	RescanHosts(hbas []string, volumeMountProperties *resources.VolumeMountProperties) error
}

func NewLinuxFibreChannel

func NewLinuxFibreChannel() Initiator

func NewLinuxFibreChannelWithExecutor

func NewLinuxFibreChannelWithExecutor(executor utils.Executor) Initiator

func NewLinuxISCSI

func NewLinuxISCSI() Initiator

func NewLinuxISCSIWithExecutor

func NewLinuxISCSIWithExecutor(executor utils.Executor) Initiator

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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