Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2025 Changes in this version + var ErrNotFound = errors.New("not found") + func NewPlugin(provider Provider) volume.Plugin + type BlockCache struct + Direct bool + NoFlush bool + Writeback bool + type BlockDevice struct + BPS int + BPSRd int + BPSWr int + BackingFileDepth int + Cache BlockCache + DetectZeroes string + Drv string + Encrypted bool + File string + IOPS int + IOPSRd int + IOPSWr int + Image BlockImage + NodeName string + RO bool + WriteThreshold int + type BlockDevicesResponse struct + Data []BlockDevice + type BlockExportAddArguments struct + Addr struct{ ... } + ID string + NodeName string + Type string + Writable bool + type BlockExportNode struct + ID string + NodeName string + ShuttingDown bool + Type string + type BlockExportResponse struct + Data []BlockExportNode + type BlockImage struct + ClusterSize int64 + DirtyFlag bool + Filename string + Format string + FormatSpecific FormatSpecificDetail + VirtualSize int64 + type BlockdevAddArguments struct + Cache struct{ ... } + Conf string + Discard string + Driver string + Image string + NodeName string + Pool string + User string + type DeleteBlockDevArguments struct + Node string + type DeleteExportBlockDevArguments struct + ID string + type FormatSpecificDetail struct + Data interface{} + Type string + type Provider interface + Mount func(ctx context.Context, machineID string, volume *validatedVolume) (string, error) + Unmount func(ctx context.Context, machineID string, volumeID string) error + func QMPProvider(ctx context.Context, log logr.Logger, paths host.Paths, socket string) (Provider, error) + type QMP struct + func (q *QMP) Mount(_ context.Context, machineID string, volume *validatedVolume) (string, error) + func (q *QMP) Unmount(_ context.Context, machineID string, volumeName string) error + type QMPRequest struct + Arguments T + Execute string