Documentation
¶
Index ¶
- Variables
- func NewPlugin(provider Provider) volume.Plugin
- type BlockCache
- type BlockDevice
- type BlockDevicesResponse
- type BlockExportAddArguments
- type BlockExportNode
- type BlockExportResponse
- type BlockImage
- type BlockdevAddArguments
- type DeleteBlockDevArguments
- type DeleteExportBlockDevArguments
- type FormatSpecificDetail
- type Provider
- type QMP
- type QMPRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
Types ¶
type BlockCache ¶
type BlockDevice ¶
type BlockDevice struct {
IOPSRd int `json:"iops_rd"`
IOPSWr int `json:"iops_wr"`
IOPS int `json:"iops"`
BPSRd int `json:"bps_rd"`
BPSWr int `json:"bps_wr"`
BPS int `json:"bps"`
WriteThreshold int `json:"write_threshold"`
DetectZeroes string `json:"detect_zeroes"`
NodeName string `json:"node-name"`
BackingFileDepth int `json:"backing_file_depth"`
Drv string `json:"drv"`
RO bool `json:"ro"`
Encrypted bool `json:"encrypted"`
Image BlockImage `json:"image"`
File string `json:"file"`
Cache BlockCache `json:"cache"`
}
type BlockDevicesResponse ¶
type BlockDevicesResponse struct {
Data []BlockDevice `json:"return"`
}
type BlockExportAddArguments ¶
type BlockExportNode ¶
type BlockExportResponse ¶
type BlockExportResponse struct {
Data []BlockExportNode `json:"return"`
}
type BlockImage ¶
type BlockdevAddArguments ¶
type DeleteBlockDevArguments ¶
type DeleteBlockDevArguments struct {
Node string `json:"node-name"`
}
type DeleteExportBlockDevArguments ¶
type DeleteExportBlockDevArguments struct {
ID string `json:"id"`
}
type FormatSpecificDetail ¶
type FormatSpecificDetail struct {
Type string `json:"type"`
Data interface{} `json:"data"` // empty object, or make a real struct if known
}
type Provider ¶
type QMPRequest ¶
Click to show internal directories.
Click to hide internal directories.