Documentation
¶
Overview ¶
Package vdiskmanager implements a VMware vdiskmanager command wrapper.
Index ¶
- func Check(src string) error
- func Convert(src, dst string, diskType int) error
- func Create(dst string, config *Config) error
- func Defrag(src string) error
- func Delete(src string) error
- func Expand(capacity int, src string) error
- func Prepare(src string) error
- func Rename(src, dst string) error
- func Repair(src string) error
- func Shrink(src string) error
- type AdapterType
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdapterType ¶
type AdapterType int
AdapterType represents a adapter type.
const ( // LsiLogic is a lsilogic type. LsiLogic AdapterType = iota // Ide is a ide type. Ide // BusLogic is a buslogic type. BusLogic )
func (AdapterType) String ¶
func (a AdapterType) String() string
String implements a fmt.Stringer interface.
type Config ¶
type Config struct { Size int DiskType int Adapter AdapterType }
Config represents a vdiskmanager create config.
Click to show internal directories.
Click to hide internal directories.