Documentation ¶
Overview ¶
Package iscsi contains the internal representation of Internet Small Computer System Interface (iSCSI) volumes.
Index ¶
- func ProbeVolumePlugins() []volume.VolumePlugin
- type GlobFunc
- type ISCSIUtil
- func (util *ISCSIUtil) AttachDisk(b iscsiDiskMounter) (string, error)
- func (util *ISCSIUtil) DetachBlockISCSIDisk(c iscsiDiskUnmapper, mapPath string) error
- func (util *ISCSIUtil) DetachDisk(c iscsiDiskUnmounter, mntPath string) error
- func (util *ISCSIUtil) MakeGlobalPDName(iscsi iscsiDisk) string
- func (util *ISCSIUtil) MakeGlobalVDPDName(iscsi iscsiDisk) string
- type StatFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins() []volume.VolumePlugin
ProbeVolumePlugins is the primary entrypoint for volume plugins.
Types ¶
type ISCSIUtil ¶
type ISCSIUtil struct{}
func (*ISCSIUtil) AttachDisk ¶
AttachDisk returns devicePath of volume if attach succeeded otherwise returns error
func (*ISCSIUtil) DetachBlockISCSIDisk ¶ added in v1.10.0
DetachBlockISCSIDisk removes loopback device for a volume and detaches a volume from node
func (*ISCSIUtil) DetachDisk ¶
DetachDisk unmounts and detaches a volume from node
func (*ISCSIUtil) MakeGlobalPDName ¶
MakeGlobalPDName returns path of global plugin dir
func (*ISCSIUtil) MakeGlobalVDPDName ¶ added in v1.10.0
MakeGlobalVDPDName returns path of global volume device plugin dir
Click to show internal directories.
Click to hide internal directories.