package iscsi
import "k8s.io/kubernetes/pkg/volume/iscsi"
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
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins() []volume.VolumePlugin
ProbeVolumePlugins is the primary entrypoint for volume plugins.
Types ¶
type GlobFunc ¶
type ISCSIUtil ¶
type ISCSIUtil struct{}
func (*ISCSIUtil) AttachDisk ¶
AttachDisk returns devicePath of volume if attach succeeded otherwise returns error
func (*ISCSIUtil) DetachBlockISCSIDisk ¶
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 ¶
MakeGlobalVDPDName returns path of global volume device plugin dir
type StatFunc ¶
stat a path, if not exists, retry maxRetries times when iscsi transports other than default are used, use glob instead as pci id of device is unknown
Source Files ¶
attacher.go disk_manager.go doc.go iscsi.go iscsi_util.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 28 packages
- Last checked
- 6 hours ago –
Tools for package owners.