Documentation ¶
Index ¶
- Constants
- func DiskCreate(spdkClient *spdkclient.Client, diskName, diskPath, diskDriver string, ...) (string, error)
- func DiskDelete(spdkClient *spdkclient.Client, diskName, diskPath, diskDriver string) (bool, error)
- func DiskGet(spdkClient *spdkclient.Client, diskName, diskPath, diskDriver string, ...) ([]spdktypes.BdevInfo, error)
- func GetDiskDriver(diskDriver commonTypes.DiskDriver, diskPathOrBdf string) (commonTypes.DiskDriver, error)
- func RegisterDiskDriver(diskDriver string, ops DiskDriver)
- type BlockDiskSubsystem
- type BlockDiskType
- type DiskDriver
Constants ¶
View Source
const ( BlockDiskSubsystemVirtio = BlockDiskSubsystem("virtio") BlockDiskSubsystemPci = BlockDiskSubsystem("pci") BlockDiskSubsystemNvme = BlockDiskSubsystem("nvme") BlockDiskSubsystemScsi = BlockDiskSubsystem("scsi") )
View Source
const ( BlockDiskTypeDisk = BlockDiskType("disk") BlockDiskTypeLoop = BlockDiskType("loop") )
Variables ¶
This section is empty.
Functions ¶
func DiskCreate ¶
func DiskDelete ¶
func DiskDelete(spdkClient *spdkclient.Client, diskName, diskPath, diskDriver string) (bool, error)
func GetDiskDriver ¶
func GetDiskDriver(diskDriver commonTypes.DiskDriver, diskPathOrBdf string) (commonTypes.DiskDriver, error)
func RegisterDiskDriver ¶
func RegisterDiskDriver(diskDriver string, ops DiskDriver)
Types ¶
type BlockDiskSubsystem ¶
type BlockDiskSubsystem string
type BlockDiskType ¶
type BlockDiskType string
Click to show internal directories.
Click to hide internal directories.