pkg

package
v0.0.0-...-98bb15d Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockDevice

type BlockDevice struct {
	Name   string `json:"name"`
	Serial string `json:"serial"`
}

type BlockDeviceList

type BlockDeviceList struct {
	BlockDevices []BlockDevice `json:"blockdevices"`
}

type ExecResult

type ExecResult struct {
	ExitCode int
	Output   string
	Error    error
}

type LibvirtCsiController

type LibvirtCsiController struct {
	csi.IdentityServer
	csi.ControllerServer
	CommandRunner remoteSshRunner
}

func (*LibvirtCsiController) ControllerExpandVolume

func (*LibvirtCsiController) ControllerGetCapabilities

func (*LibvirtCsiController) ControllerGetVolume

func (*LibvirtCsiController) ControllerPublishVolume

func (*LibvirtCsiController) ControllerUnpublishVolume

func (*LibvirtCsiController) CreateSnapshot

func (*LibvirtCsiController) CreateVolume

func (*LibvirtCsiController) DeleteSnapshot

func (*LibvirtCsiController) DeleteVolume

func (*LibvirtCsiController) GetCapacity

func (*LibvirtCsiController) GetPluginCapabilities

func (*LibvirtCsiController) GetPluginInfo

func (*LibvirtCsiController) ListSnapshots

func (*LibvirtCsiController) ListVolumes

func (*LibvirtCsiController) Probe

func (*LibvirtCsiController) ValidateVolumeCapabilities

type LibvirtCsiDriver

type LibvirtCsiDriver struct {
	csi.NodeServer
}

func (*LibvirtCsiDriver) NodeExpandVolume

NodeExpandVolume Not supported capability

func (*LibvirtCsiDriver) NodeGetCapabilities

func (*LibvirtCsiDriver) NodeGetInfo

func (*LibvirtCsiDriver) NodeGetVolumeStats

NodeGetVolumeStats Not supported capability

func (*LibvirtCsiDriver) NodePublishVolume

NodePublishVolume Mount a volume to the target path

func (*LibvirtCsiDriver) NodeStageVolume

NodeStageVolume Not supported capability

func (*LibvirtCsiDriver) NodeUnpublishVolume

NodeUnpublishVolume Unmount a volume from the target path

func (*LibvirtCsiDriver) NodeUnstageVolume

NodeUnstageVolume Not supported capability

type VolumeInfo

type VolumeInfo struct {
	Id       string
	Capacity int64
	Owners   []string
}

Jump to

Keyboard shortcuts

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