Documentation ¶
Index ¶
- type Guestfish
- func (fish *Guestfish) AddDrive(path, label string, readonly bool) error
- func (fish *Guestfish) Blkid(partDev string) ([]string, error)
- func (fish *Guestfish) Fsck(dev, fs string) error
- func (fish *Guestfish) IsAlive() bool
- func (fish *Guestfish) ListDevices() ([]string, error)
- func (fish *Guestfish) ListFilesystems() (*sortedmap.SSortedMap, error)
- func (fish *Guestfish) LvmClearFilter() error
- func (fish *Guestfish) Lvs() ([]string, error)
- func (fish *Guestfish) Mkfs(dev, fs string) error
- func (fish *Guestfish) Mkswap(partDev, uuid, label string) error
- func (fish *Guestfish) Mount(partition string) error
- func (fish *Guestfish) MountLocal(localmountpoint string, readonly bool) error
- func (fish *Guestfish) MountLocalRun() error
- func (fish *Guestfish) Ntfsfix(dev string) error
- func (fish *Guestfish) PartDisk(dev, diskType string) error
- func (fish *Guestfish) Quit() error
- func (fish *Guestfish) RemoveDrive() error
- func (fish *Guestfish) Run() error
- func (fish *Guestfish) SfdiskL(dev string) ([]string, error)
- func (fish *Guestfish) Umount(partition string) error
- func (fish *Guestfish) UmountLocal() error
- func (fish *Guestfish) ZeroFreeSpace(dir string) error
- func (fish *Guestfish) Zerofree(dev string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Guestfish ¶
func NewGuestfish ¶
func (*Guestfish) ListDevices ¶
func (*Guestfish) ListFilesystems ¶
func (fish *Guestfish) ListFilesystems() (*sortedmap.SSortedMap, error)
func (*Guestfish) LvmClearFilter ¶
Clears the LVM cache and performs a volume group scan.
func (*Guestfish) MountLocal ¶
func (*Guestfish) MountLocalRun ¶
This should only be called after "mount_local" returns successfully. * The call will not return until the filesystem is unmounted.
func (*Guestfish) RemoveDrive ¶
func (*Guestfish) UmountLocal ¶
func (*Guestfish) ZeroFreeSpace ¶
Click to show internal directories.
Click to hide internal directories.