iscsi

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetISCSIDiskMounter

func GetISCSIDiskMounter(iscsiInfo *iscsiDisk, req *csi.NodePublishVolumeRequest) *iscsiDiskMounter

func GetISCSIDiskUnmounter

func GetISCSIDiskUnmounter(req *csi.NodeUnpublishVolumeRequest) *iscsiDiskUnmounter

func GetISCSIInfo

func GetISCSIInfo(req *csi.NodePublishVolumeRequest) (*iscsiDisk, error)

Types

type ISCSIUtil

type ISCSIUtil struct{}

func (*ISCSIUtil) AttachDisk

func (util *ISCSIUtil) AttachDisk(b iscsiDiskMounter) (string, error)

func (*ISCSIUtil) DetachDisk

func (util *ISCSIUtil) DetachDisk(c iscsiDiskUnmounter, targetPath string) error

Jump to

Keyboard shortcuts

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