Documentation ¶
Index ¶
- Constants
- type Application
- type Application2
- type BTRFSSubvolume
- type CreateFlags
- type Dirent
- type Guestfs
- func (g *Guestfs) Acl_delete_def_file(dir string) *GuestfsError
- func (g *Guestfs) Acl_get_file(path string, acltype string) (string, *GuestfsError)
- func (g *Guestfs) Acl_set_file(path string, acltype string, acl string) *GuestfsError
- func (g *Guestfs) Add_cdrom(filename string) *GuestfsError
- func (g *Guestfs) Add_domain(dom string, optargs *OptargsAdd_domain) (int, *GuestfsError)
- func (g *Guestfs) Add_drive(filename string, optargs *OptargsAdd_drive) *GuestfsError
- func (g *Guestfs) Add_drive_ro(filename string) *GuestfsError
- func (g *Guestfs) Add_drive_ro_with_if(filename string, iface string) *GuestfsError
- func (g *Guestfs) Add_drive_scratch(size int64, optargs *OptargsAdd_drive_scratch) *GuestfsError
- func (g *Guestfs) Add_drive_with_if(filename string, iface string) *GuestfsError
- func (g *Guestfs) Aug_clear(augpath string) *GuestfsError
- func (g *Guestfs) Aug_close() *GuestfsError
- func (g *Guestfs) Aug_defnode(name string, expr string, val string) (*IntBool, *GuestfsError)
- func (g *Guestfs) Aug_defvar(name string, expr *string) (int, *GuestfsError)
- func (g *Guestfs) Aug_get(augpath string) (string, *GuestfsError)
- func (g *Guestfs) Aug_init(root string, flags int) *GuestfsError
- func (g *Guestfs) Aug_insert(augpath string, label string, before bool) *GuestfsError
- func (g *Guestfs) Aug_label(augpath string) (string, *GuestfsError)
- func (g *Guestfs) Aug_load() *GuestfsError
- func (g *Guestfs) Aug_ls(augpath string) ([]string, *GuestfsError)
- func (g *Guestfs) Aug_match(augpath string) ([]string, *GuestfsError)
- func (g *Guestfs) Aug_mv(src string, dest string) *GuestfsError
- func (g *Guestfs) Aug_rm(augpath string) (int, *GuestfsError)
- func (g *Guestfs) Aug_save() *GuestfsError
- func (g *Guestfs) Aug_set(augpath string, val string) *GuestfsError
- func (g *Guestfs) Aug_setm(base string, sub *string, val string) (int, *GuestfsError)
- func (g *Guestfs) Available(groups []string) *GuestfsError
- func (g *Guestfs) Available_all_groups() ([]string, *GuestfsError)
- func (g *Guestfs) Base64_in(base64file string, filename string) *GuestfsError
- func (g *Guestfs) Base64_out(filename string, base64file string) *GuestfsError
- func (g *Guestfs) Blkid(device string) (map[string]string, *GuestfsError)
- func (g *Guestfs) Blockdev_flushbufs(device string) *GuestfsError
- func (g *Guestfs) Blockdev_getbsz(device string) (int, *GuestfsError)
- func (g *Guestfs) Blockdev_getro(device string) (bool, *GuestfsError)
- func (g *Guestfs) Blockdev_getsize64(device string) (int64, *GuestfsError)
- func (g *Guestfs) Blockdev_getss(device string) (int, *GuestfsError)
- func (g *Guestfs) Blockdev_getsz(device string) (int64, *GuestfsError)
- func (g *Guestfs) Blockdev_rereadpt(device string) *GuestfsError
- func (g *Guestfs) Blockdev_setbsz(device string, blocksize int) *GuestfsError
- func (g *Guestfs) Blockdev_setro(device string) *GuestfsError
- func (g *Guestfs) Blockdev_setrw(device string) *GuestfsError
- func (g *Guestfs) Btrfs_device_add(devices []string, fs string) *GuestfsError
- func (g *Guestfs) Btrfs_device_delete(devices []string, fs string) *GuestfsError
- func (g *Guestfs) Btrfs_filesystem_balance(fs string) *GuestfsError
- func (g *Guestfs) Btrfs_filesystem_resize(mountpoint string, optargs *OptargsBtrfs_filesystem_resize) *GuestfsError
- func (g *Guestfs) Btrfs_filesystem_sync(fs string) *GuestfsError
- func (g *Guestfs) Btrfs_fsck(device string, optargs *OptargsBtrfs_fsck) *GuestfsError
- func (g *Guestfs) Btrfs_set_seeding(device string, seeding bool) *GuestfsError
- func (g *Guestfs) Btrfs_subvolume_create(dest string) *GuestfsError
- func (g *Guestfs) Btrfs_subvolume_delete(subvolume string) *GuestfsError
- func (g *Guestfs) Btrfs_subvolume_list(fs string) (*[]BTRFSSubvolume, *GuestfsError)
- func (g *Guestfs) Btrfs_subvolume_set_default(id int64, fs string) *GuestfsError
- func (g *Guestfs) Btrfs_subvolume_snapshot(source string, dest string) *GuestfsError
- func (g *Guestfs) Canonical_device_name(device string) (string, *GuestfsError)
- func (g *Guestfs) Cap_get_file(path string) (string, *GuestfsError)
- func (g *Guestfs) Cap_set_file(path string, cap string) *GuestfsError
- func (g *Guestfs) Case_sensitive_path(path string) (string, *GuestfsError)
- func (g *Guestfs) Cat(path string) (string, *GuestfsError)
- func (g *Guestfs) Checksum(csumtype string, path string) (string, *GuestfsError)
- func (g *Guestfs) Checksum_device(csumtype string, device string) (string, *GuestfsError)
- func (g *Guestfs) Checksums_out(csumtype string, directory string, sumsfile string) *GuestfsError
- func (g *Guestfs) Chmod(mode int, path string) *GuestfsError
- func (g *Guestfs) Chown(owner int, group int, path string) *GuestfsError
- func (g *Guestfs) Close() *GuestfsError
- func (g *Guestfs) Command(arguments []string) (string, *GuestfsError)
- func (g *Guestfs) Command_lines(arguments []string) ([]string, *GuestfsError)
- func (g *Guestfs) Compress_device_out(ctype string, device string, zdevice string, ...) *GuestfsError
- func (g *Guestfs) Compress_out(ctype string, file string, zfile string, optargs *OptargsCompress_out) *GuestfsError
- func (g *Guestfs) Config(hvparam string, hvvalue *string) *GuestfsError
- func (g *Guestfs) Copy_device_to_device(src string, dest string, optargs *OptargsCopy_device_to_device) *GuestfsError
- func (g *Guestfs) Copy_device_to_file(src string, dest string, optargs *OptargsCopy_device_to_file) *GuestfsError
- func (g *Guestfs) Copy_file_to_device(src string, dest string, optargs *OptargsCopy_file_to_device) *GuestfsError
- func (g *Guestfs) Copy_file_to_file(src string, dest string, optargs *OptargsCopy_file_to_file) *GuestfsError
- func (g *Guestfs) Copy_size(src string, dest string, size int64) *GuestfsError
- func (g *Guestfs) Cp(src string, dest string) *GuestfsError
- func (g *Guestfs) Cp_a(src string, dest string) *GuestfsError
- func (g *Guestfs) Cp_r(src string, dest string) *GuestfsError
- func (g *Guestfs) Dd(src string, dest string) *GuestfsError
- func (g *Guestfs) Debug(subcmd string, extraargs []string) (string, *GuestfsError)
- func (g *Guestfs) Debug_drives() ([]string, *GuestfsError)
- func (g *Guestfs) Debug_upload(filename string, tmpname string, mode int) *GuestfsError
- func (g *Guestfs) Device_index(device string) (int, *GuestfsError)
- func (g *Guestfs) Df() (string, *GuestfsError)
- func (g *Guestfs) Df_h() (string, *GuestfsError)
- func (g *Guestfs) Disk_format(filename string) (string, *GuestfsError)
- func (g *Guestfs) Disk_has_backing_file(filename string) (bool, *GuestfsError)
- func (g *Guestfs) Disk_virtual_size(filename string) (int64, *GuestfsError)
- func (g *Guestfs) Dmesg() (string, *GuestfsError)
- func (g *Guestfs) Download(remotefilename string, filename string) *GuestfsError
- func (g *Guestfs) Download_offset(remotefilename string, filename string, offset int64, size int64) *GuestfsError
- func (g *Guestfs) Drop_caches(whattodrop int) *GuestfsError
- func (g *Guestfs) Du(path string) (int64, *GuestfsError)
- func (g *Guestfs) E2fsck(device string, optargs *OptargsE2fsck) *GuestfsError
- func (g *Guestfs) E2fsck_f(device string) *GuestfsError
- func (g *Guestfs) Echo_daemon(words []string) (string, *GuestfsError)
- func (g *Guestfs) Egrep(regex string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Egrepi(regex string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Equal(file1 string, file2 string) (bool, *GuestfsError)
- func (g *Guestfs) Exists(path string) (bool, *GuestfsError)
- func (g *Guestfs) Extlinux(directory string) *GuestfsError
- func (g *Guestfs) Fallocate(path string, len int) *GuestfsError
- func (g *Guestfs) Fallocate64(path string, len int64) *GuestfsError
- func (g *Guestfs) Feature_available(groups []string) (bool, *GuestfsError)
- func (g *Guestfs) Fgrep(pattern string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Fgrepi(pattern string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) File(path string) (string, *GuestfsError)
- func (g *Guestfs) File_architecture(filename string) (string, *GuestfsError)
- func (g *Guestfs) Filesize(file string) (int64, *GuestfsError)
- func (g *Guestfs) Filesystem_available(filesystem string) (bool, *GuestfsError)
- func (g *Guestfs) Fill(c int, len int, path string) *GuestfsError
- func (g *Guestfs) Fill_dir(dir string, nr int) *GuestfsError
- func (g *Guestfs) Fill_pattern(pattern string, len int, path string) *GuestfsError
- func (g *Guestfs) Find(directory string) ([]string, *GuestfsError)
- func (g *Guestfs) Find0(directory string, files string) *GuestfsError
- func (g *Guestfs) Findfs_label(label string) (string, *GuestfsError)
- func (g *Guestfs) Findfs_uuid(uuid string) (string, *GuestfsError)
- func (g *Guestfs) Fsck(fstype string, device string) (int, *GuestfsError)
- func (g *Guestfs) Fstrim(mountpoint string, optargs *OptargsFstrim) *GuestfsError
- func (g *Guestfs) Get_append() (*string, *GuestfsError)
- func (g *Guestfs) Get_attach_method() (string, *GuestfsError)
- func (g *Guestfs) Get_autosync() (bool, *GuestfsError)
- func (g *Guestfs) Get_backend() (string, *GuestfsError)
- func (g *Guestfs) Get_cachedir() (string, *GuestfsError)
- func (g *Guestfs) Get_direct() (bool, *GuestfsError)
- func (g *Guestfs) Get_e2attrs(file string) (string, *GuestfsError)
- func (g *Guestfs) Get_e2generation(file string) (int64, *GuestfsError)
- func (g *Guestfs) Get_e2label(device string) (string, *GuestfsError)
- func (g *Guestfs) Get_e2uuid(device string) (string, *GuestfsError)
- func (g *Guestfs) Get_hv() (string, *GuestfsError)
- func (g *Guestfs) Get_libvirt_requested_credential_challenge(index int) (string, *GuestfsError)
- func (g *Guestfs) Get_libvirt_requested_credential_defresult(index int) (string, *GuestfsError)
- func (g *Guestfs) Get_libvirt_requested_credential_prompt(index int) (string, *GuestfsError)
- func (g *Guestfs) Get_libvirt_requested_credentials() ([]string, *GuestfsError)
- func (g *Guestfs) Get_memsize() (int, *GuestfsError)
- func (g *Guestfs) Get_network() (bool, *GuestfsError)
- func (g *Guestfs) Get_path() (string, *GuestfsError)
- func (g *Guestfs) Get_pgroup() (bool, *GuestfsError)
- func (g *Guestfs) Get_pid() (int, *GuestfsError)
- func (g *Guestfs) Get_program() (string, *GuestfsError)
- func (g *Guestfs) Get_qemu() (string, *GuestfsError)
- func (g *Guestfs) Get_recovery_proc() (bool, *GuestfsError)
- func (g *Guestfs) Get_selinux() (bool, *GuestfsError)
- func (g *Guestfs) Get_smp() (int, *GuestfsError)
- func (g *Guestfs) Get_state() (int, *GuestfsError)
- func (g *Guestfs) Get_tmpdir() (string, *GuestfsError)
- func (g *Guestfs) Get_trace() (bool, *GuestfsError)
- func (g *Guestfs) Get_umask() (int, *GuestfsError)
- func (g *Guestfs) Get_verbose() (bool, *GuestfsError)
- func (g *Guestfs) Getcon() (string, *GuestfsError)
- func (g *Guestfs) Getxattr(path string, name string) ([]byte, *GuestfsError)
- func (g *Guestfs) Getxattrs(path string) (*[]XAttr, *GuestfsError)
- func (g *Guestfs) Glob_expand(pattern string) ([]string, *GuestfsError)
- func (g *Guestfs) Grep(regex string, path string, optargs *OptargsGrep) ([]string, *GuestfsError)
- func (g *Guestfs) Grepi(regex string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Grub_install(root string, device string) *GuestfsError
- func (g *Guestfs) Head(path string) ([]string, *GuestfsError)
- func (g *Guestfs) Head_n(nrlines int, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Hexdump(path string) (string, *GuestfsError)
- func (g *Guestfs) Hivex_close() *GuestfsError
- func (g *Guestfs) Hivex_commit(filename *string) *GuestfsError
- func (g *Guestfs) Hivex_node_add_child(parent int64, name string) (int64, *GuestfsError)
- func (g *Guestfs) Hivex_node_children(nodeh int64) (*[]HivexNode, *GuestfsError)
- func (g *Guestfs) Hivex_node_delete_child(nodeh int64) *GuestfsError
- func (g *Guestfs) Hivex_node_get_child(nodeh int64, name string) (int64, *GuestfsError)
- func (g *Guestfs) Hivex_node_get_value(nodeh int64, key string) (int64, *GuestfsError)
- func (g *Guestfs) Hivex_node_name(nodeh int64) (string, *GuestfsError)
- func (g *Guestfs) Hivex_node_parent(nodeh int64) (int64, *GuestfsError)
- func (g *Guestfs) Hivex_node_set_value(nodeh int64, key string, t int64, val []byte) *GuestfsError
- func (g *Guestfs) Hivex_node_values(nodeh int64) (*[]HivexValue, *GuestfsError)
- func (g *Guestfs) Hivex_open(filename string, optargs *OptargsHivex_open) *GuestfsError
- func (g *Guestfs) Hivex_root() (int64, *GuestfsError)
- func (g *Guestfs) Hivex_value_key(valueh int64) (string, *GuestfsError)
- func (g *Guestfs) Hivex_value_type(valueh int64) (int64, *GuestfsError)
- func (g *Guestfs) Hivex_value_utf8(valueh int64) (string, *GuestfsError)
- func (g *Guestfs) Hivex_value_value(valueh int64) ([]byte, *GuestfsError)
- func (g *Guestfs) Initrd_cat(initrdpath string, filename string) ([]byte, *GuestfsError)
- func (g *Guestfs) Initrd_list(path string) ([]string, *GuestfsError)
- func (g *Guestfs) Inotify_add_watch(path string, mask int) (int64, *GuestfsError)
- func (g *Guestfs) Inotify_close() *GuestfsError
- func (g *Guestfs) Inotify_files() ([]string, *GuestfsError)
- func (g *Guestfs) Inotify_init(maxevents int) *GuestfsError
- func (g *Guestfs) Inotify_read() (*[]INotifyEvent, *GuestfsError)
- func (g *Guestfs) Inotify_rm_watch(wd int) *GuestfsError
- func (g *Guestfs) Inspect_get_arch(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_distro(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_drive_mappings(root string) (map[string]string, *GuestfsError)
- func (g *Guestfs) Inspect_get_filesystems(root string) ([]string, *GuestfsError)
- func (g *Guestfs) Inspect_get_format(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_hostname(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_icon(root string, optargs *OptargsInspect_get_icon) ([]byte, *GuestfsError)
- func (g *Guestfs) Inspect_get_major_version(root string) (int, *GuestfsError)
- func (g *Guestfs) Inspect_get_minor_version(root string) (int, *GuestfsError)
- func (g *Guestfs) Inspect_get_mountpoints(root string) (map[string]string, *GuestfsError)
- func (g *Guestfs) Inspect_get_package_format(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_package_management(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_product_name(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_product_variant(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_roots() ([]string, *GuestfsError)
- func (g *Guestfs) Inspect_get_type(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_windows_current_control_set(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_get_windows_systemroot(root string) (string, *GuestfsError)
- func (g *Guestfs) Inspect_is_live(root string) (bool, *GuestfsError)
- func (g *Guestfs) Inspect_is_multipart(root string) (bool, *GuestfsError)
- func (g *Guestfs) Inspect_is_netinst(root string) (bool, *GuestfsError)
- func (g *Guestfs) Inspect_list_applications(root string) (*[]Application, *GuestfsError)
- func (g *Guestfs) Inspect_list_applications2(root string) (*[]Application2, *GuestfsError)
- func (g *Guestfs) Inspect_os() ([]string, *GuestfsError)
- func (g *Guestfs) Internal_test(str string, optstr *string, strlist []string, b bool, integer int, ...) *GuestfsError
- func (g *Guestfs) Internal_test_63_optargs(optargs *OptargsInternal_test_63_optargs) *GuestfsError
- func (g *Guestfs) Internal_test_close_output() *GuestfsError
- func (g *Guestfs) Internal_test_only_optargs(optargs *OptargsInternal_test_only_optargs) *GuestfsError
- func (g *Guestfs) Internal_test_rbool(val string) (bool, *GuestfsError)
- func (g *Guestfs) Internal_test_rboolerr() (bool, *GuestfsError)
- func (g *Guestfs) Internal_test_rbufferout(val string) ([]byte, *GuestfsError)
- func (g *Guestfs) Internal_test_rbufferouterr() ([]byte, *GuestfsError)
- func (g *Guestfs) Internal_test_rconstoptstring(val string) (*string, *GuestfsError)
- func (g *Guestfs) Internal_test_rconstoptstringerr() (*string, *GuestfsError)
- func (g *Guestfs) Internal_test_rconststring(val string) (string, *GuestfsError)
- func (g *Guestfs) Internal_test_rconststringerr() (string, *GuestfsError)
- func (g *Guestfs) Internal_test_rhashtable(val string) (map[string]string, *GuestfsError)
- func (g *Guestfs) Internal_test_rhashtableerr() (map[string]string, *GuestfsError)
- func (g *Guestfs) Internal_test_rint(val string) (int, *GuestfsError)
- func (g *Guestfs) Internal_test_rint64(val string) (int64, *GuestfsError)
- func (g *Guestfs) Internal_test_rint64err() (int64, *GuestfsError)
- func (g *Guestfs) Internal_test_rinterr() (int, *GuestfsError)
- func (g *Guestfs) Internal_test_rstring(val string) (string, *GuestfsError)
- func (g *Guestfs) Internal_test_rstringerr() (string, *GuestfsError)
- func (g *Guestfs) Internal_test_rstringlist(val string) ([]string, *GuestfsError)
- func (g *Guestfs) Internal_test_rstringlisterr() ([]string, *GuestfsError)
- func (g *Guestfs) Internal_test_rstruct(val string) (*PV, *GuestfsError)
- func (g *Guestfs) Internal_test_rstructerr() (*PV, *GuestfsError)
- func (g *Guestfs) Internal_test_rstructlist(val string) (*[]PV, *GuestfsError)
- func (g *Guestfs) Internal_test_rstructlisterr() (*[]PV, *GuestfsError)
- func (g *Guestfs) Internal_test_set_output(filename string) *GuestfsError
- func (g *Guestfs) Is_blockdev(path string, optargs *OptargsIs_blockdev) (bool, *GuestfsError)
- func (g *Guestfs) Is_busy() (bool, *GuestfsError)
- func (g *Guestfs) Is_chardev(path string, optargs *OptargsIs_chardev) (bool, *GuestfsError)
- func (g *Guestfs) Is_config() (bool, *GuestfsError)
- func (g *Guestfs) Is_dir(path string, optargs *OptargsIs_dir) (bool, *GuestfsError)
- func (g *Guestfs) Is_fifo(path string, optargs *OptargsIs_fifo) (bool, *GuestfsError)
- func (g *Guestfs) Is_file(path string, optargs *OptargsIs_file) (bool, *GuestfsError)
- func (g *Guestfs) Is_launching() (bool, *GuestfsError)
- func (g *Guestfs) Is_lv(device string) (bool, *GuestfsError)
- func (g *Guestfs) Is_ready() (bool, *GuestfsError)
- func (g *Guestfs) Is_socket(path string, optargs *OptargsIs_socket) (bool, *GuestfsError)
- func (g *Guestfs) Is_symlink(path string) (bool, *GuestfsError)
- func (g *Guestfs) Is_whole_device(device string) (bool, *GuestfsError)
- func (g *Guestfs) Is_zero(path string) (bool, *GuestfsError)
- func (g *Guestfs) Is_zero_device(device string) (bool, *GuestfsError)
- func (g *Guestfs) Isoinfo(isofile string) (*ISOInfo, *GuestfsError)
- func (g *Guestfs) Isoinfo_device(device string) (*ISOInfo, *GuestfsError)
- func (g *Guestfs) Journal_close() *GuestfsError
- func (g *Guestfs) Journal_get() (*[]XAttr, *GuestfsError)
- func (g *Guestfs) Journal_get_data_threshold() (int64, *GuestfsError)
- func (g *Guestfs) Journal_next() (bool, *GuestfsError)
- func (g *Guestfs) Journal_open(directory string) *GuestfsError
- func (g *Guestfs) Journal_set_data_threshold(threshold int64) *GuestfsError
- func (g *Guestfs) Journal_skip(skip int64) (int64, *GuestfsError)
- func (g *Guestfs) Kill_subprocess() *GuestfsError
- func (g *Guestfs) Launch() *GuestfsError
- func (g *Guestfs) Lchown(owner int, group int, path string) *GuestfsError
- func (g *Guestfs) Ldmtool_create_all() *GuestfsError
- func (g *Guestfs) Ldmtool_diskgroup_disks(diskgroup string) ([]string, *GuestfsError)
- func (g *Guestfs) Ldmtool_diskgroup_name(diskgroup string) (string, *GuestfsError)
- func (g *Guestfs) Ldmtool_diskgroup_volumes(diskgroup string) ([]string, *GuestfsError)
- func (g *Guestfs) Ldmtool_remove_all() *GuestfsError
- func (g *Guestfs) Ldmtool_scan() ([]string, *GuestfsError)
- func (g *Guestfs) Ldmtool_scan_devices(devices []string) ([]string, *GuestfsError)
- func (g *Guestfs) Ldmtool_volume_hint(diskgroup string, volume string) (string, *GuestfsError)
- func (g *Guestfs) Ldmtool_volume_partitions(diskgroup string, volume string) ([]string, *GuestfsError)
- func (g *Guestfs) Ldmtool_volume_type(diskgroup string, volume string) (string, *GuestfsError)
- func (g *Guestfs) Lgetxattr(path string, name string) ([]byte, *GuestfsError)
- func (g *Guestfs) Lgetxattrs(path string) (*[]XAttr, *GuestfsError)
- func (g *Guestfs) List_9p() ([]string, *GuestfsError)
- func (g *Guestfs) List_devices() ([]string, *GuestfsError)
- func (g *Guestfs) List_disk_labels() (map[string]string, *GuestfsError)
- func (g *Guestfs) List_dm_devices() ([]string, *GuestfsError)
- func (g *Guestfs) List_filesystems() (map[string]string, *GuestfsError)
- func (g *Guestfs) List_ldm_partitions() ([]string, *GuestfsError)
- func (g *Guestfs) List_ldm_volumes() ([]string, *GuestfsError)
- func (g *Guestfs) List_md_devices() ([]string, *GuestfsError)
- func (g *Guestfs) List_partitions() ([]string, *GuestfsError)
- func (g *Guestfs) Ll(directory string) (string, *GuestfsError)
- func (g *Guestfs) Llz(directory string) (string, *GuestfsError)
- func (g *Guestfs) Ln(target string, linkname string) *GuestfsError
- func (g *Guestfs) Ln_f(target string, linkname string) *GuestfsError
- func (g *Guestfs) Ln_s(target string, linkname string) *GuestfsError
- func (g *Guestfs) Ln_sf(target string, linkname string) *GuestfsError
- func (g *Guestfs) Lremovexattr(xattr string, path string) *GuestfsError
- func (g *Guestfs) Ls(directory string) ([]string, *GuestfsError)
- func (g *Guestfs) Ls0(dir string, filenames string) *GuestfsError
- func (g *Guestfs) Lsetxattr(xattr string, val string, vallen int, path string) *GuestfsError
- func (g *Guestfs) Lstat(path string) (*Stat, *GuestfsError)
- func (g *Guestfs) Lstatlist(path string, names []string) (*[]Stat, *GuestfsError)
- func (g *Guestfs) Luks_add_key(device string, key string, newkey string, keyslot int) *GuestfsError
- func (g *Guestfs) Luks_close(device string) *GuestfsError
- func (g *Guestfs) Luks_format(device string, key string, keyslot int) *GuestfsError
- func (g *Guestfs) Luks_format_cipher(device string, key string, keyslot int, cipher string) *GuestfsError
- func (g *Guestfs) Luks_kill_slot(device string, key string, keyslot int) *GuestfsError
- func (g *Guestfs) Luks_open(device string, key string, mapname string) *GuestfsError
- func (g *Guestfs) Luks_open_ro(device string, key string, mapname string) *GuestfsError
- func (g *Guestfs) Lvcreate(logvol string, volgroup string, mbytes int) *GuestfsError
- func (g *Guestfs) Lvcreate_free(logvol string, volgroup string, percent int) *GuestfsError
- func (g *Guestfs) Lvm_canonical_lv_name(lvname string) (string, *GuestfsError)
- func (g *Guestfs) Lvm_clear_filter() *GuestfsError
- func (g *Guestfs) Lvm_remove_all() *GuestfsError
- func (g *Guestfs) Lvm_set_filter(devices []string) *GuestfsError
- func (g *Guestfs) Lvremove(device string) *GuestfsError
- func (g *Guestfs) Lvrename(logvol string, newlogvol string) *GuestfsError
- func (g *Guestfs) Lvresize(device string, mbytes int) *GuestfsError
- func (g *Guestfs) Lvresize_free(lv string, percent int) *GuestfsError
- func (g *Guestfs) Lvs() ([]string, *GuestfsError)
- func (g *Guestfs) Lvs_full() (*[]LV, *GuestfsError)
- func (g *Guestfs) Lvuuid(device string) (string, *GuestfsError)
- func (g *Guestfs) Lxattrlist(path string, names []string) (*[]XAttr, *GuestfsError)
- func (g *Guestfs) Max_disks() (int, *GuestfsError)
- func (g *Guestfs) Md_create(name string, devices []string, optargs *OptargsMd_create) *GuestfsError
- func (g *Guestfs) Md_detail(md string) (map[string]string, *GuestfsError)
- func (g *Guestfs) Md_stat(md string) (*[]MDStat, *GuestfsError)
- func (g *Guestfs) Md_stop(md string) *GuestfsError
- func (g *Guestfs) Mkdir(path string) *GuestfsError
- func (g *Guestfs) Mkdir_mode(path string, mode int) *GuestfsError
- func (g *Guestfs) Mkdir_p(path string) *GuestfsError
- func (g *Guestfs) Mkdtemp(tmpl string) (string, *GuestfsError)
- func (g *Guestfs) Mke2fs(device string, optargs *OptargsMke2fs) *GuestfsError
- func (g *Guestfs) Mke2fs_J(fstype string, blocksize int, device string, journal string) *GuestfsError
- func (g *Guestfs) Mke2fs_JL(fstype string, blocksize int, device string, label string) *GuestfsError
- func (g *Guestfs) Mke2fs_JU(fstype string, blocksize int, device string, uuid string) *GuestfsError
- func (g *Guestfs) Mke2journal(blocksize int, device string) *GuestfsError
- func (g *Guestfs) Mke2journal_L(blocksize int, label string, device string) *GuestfsError
- func (g *Guestfs) Mke2journal_U(blocksize int, uuid string, device string) *GuestfsError
- func (g *Guestfs) Mkfifo(mode int, path string) *GuestfsError
- func (g *Guestfs) Mkfs(fstype string, device string, optargs *OptargsMkfs) *GuestfsError
- func (g *Guestfs) Mkfs_b(fstype string, blocksize int, device string) *GuestfsError
- func (g *Guestfs) Mkfs_btrfs(devices []string, optargs *OptargsMkfs_btrfs) *GuestfsError
- func (g *Guestfs) Mklost_and_found(mountpoint string) *GuestfsError
- func (g *Guestfs) Mkmountpoint(exemptpath string) *GuestfsError
- func (g *Guestfs) Mknod(mode int, devmajor int, devminor int, path string) *GuestfsError
- func (g *Guestfs) Mknod_b(mode int, devmajor int, devminor int, path string) *GuestfsError
- func (g *Guestfs) Mknod_c(mode int, devmajor int, devminor int, path string) *GuestfsError
- func (g *Guestfs) Mkswap(device string, optargs *OptargsMkswap) *GuestfsError
- func (g *Guestfs) Mkswap_L(label string, device string) *GuestfsError
- func (g *Guestfs) Mkswap_U(uuid string, device string) *GuestfsError
- func (g *Guestfs) Mkswap_file(path string) *GuestfsError
- func (g *Guestfs) Mktemp(tmpl string, optargs *OptargsMktemp) (string, *GuestfsError)
- func (g *Guestfs) Modprobe(modulename string) *GuestfsError
- func (g *Guestfs) Mount(mountable string, mountpoint string) *GuestfsError
- func (g *Guestfs) Mount_9p(mounttag string, mountpoint string, optargs *OptargsMount_9p) *GuestfsError
- func (g *Guestfs) Mount_local(localmountpoint string, optargs *OptargsMount_local) *GuestfsError
- func (g *Guestfs) Mount_local_run() *GuestfsError
- func (g *Guestfs) Mount_loop(file string, mountpoint string) *GuestfsError
- func (g *Guestfs) Mount_options(options string, mountable string, mountpoint string) *GuestfsError
- func (g *Guestfs) Mount_ro(mountable string, mountpoint string) *GuestfsError
- func (g *Guestfs) Mount_vfs(options string, vfstype string, mountable string, mountpoint string) *GuestfsError
- func (g *Guestfs) Mountpoints() (map[string]string, *GuestfsError)
- func (g *Guestfs) Mounts() ([]string, *GuestfsError)
- func (g *Guestfs) Mv(src string, dest string) *GuestfsError
- func (g *Guestfs) Nr_devices() (int, *GuestfsError)
- func (g *Guestfs) Ntfs_3g_probe(rw bool, device string) (int, *GuestfsError)
- func (g *Guestfs) Ntfsclone_in(backupfile string, device string) *GuestfsError
- func (g *Guestfs) Ntfsclone_out(device string, backupfile string, optargs *OptargsNtfsclone_out) *GuestfsError
- func (g *Guestfs) Ntfsfix(device string, optargs *OptargsNtfsfix) *GuestfsError
- func (g *Guestfs) Ntfsresize(device string, optargs *OptargsNtfsresize) *GuestfsError
- func (g *Guestfs) Ntfsresize_size(device string, size int64) *GuestfsError
- func (g *Guestfs) Parse_environment() *GuestfsError
- func (g *Guestfs) Parse_environment_list(environment []string) *GuestfsError
- func (g *Guestfs) Part_add(device string, prlogex string, startsect int64, endsect int64) *GuestfsError
- func (g *Guestfs) Part_del(device string, partnum int) *GuestfsError
- func (g *Guestfs) Part_disk(device string, parttype string) *GuestfsError
- func (g *Guestfs) Part_get_bootable(device string, partnum int) (bool, *GuestfsError)
- func (g *Guestfs) Part_get_gpt_type(device string, partnum int) (string, *GuestfsError)
- func (g *Guestfs) Part_get_mbr_id(device string, partnum int) (int, *GuestfsError)
- func (g *Guestfs) Part_get_parttype(device string) (string, *GuestfsError)
- func (g *Guestfs) Part_init(device string, parttype string) *GuestfsError
- func (g *Guestfs) Part_list(device string) (*[]Partition, *GuestfsError)
- func (g *Guestfs) Part_set_bootable(device string, partnum int, bootable bool) *GuestfsError
- func (g *Guestfs) Part_set_gpt_type(device string, partnum int, guid string) *GuestfsError
- func (g *Guestfs) Part_set_mbr_id(device string, partnum int, idbyte int) *GuestfsError
- func (g *Guestfs) Part_set_name(device string, partnum int, name string) *GuestfsError
- func (g *Guestfs) Part_to_dev(partition string) (string, *GuestfsError)
- func (g *Guestfs) Part_to_partnum(partition string) (int, *GuestfsError)
- func (g *Guestfs) Ping_daemon() *GuestfsError
- func (g *Guestfs) Pread(path string, count int, offset int64) ([]byte, *GuestfsError)
- func (g *Guestfs) Pread_device(device string, count int, offset int64) ([]byte, *GuestfsError)
- func (g *Guestfs) Pvchange_uuid(device string) *GuestfsError
- func (g *Guestfs) Pvchange_uuid_all() *GuestfsError
- func (g *Guestfs) Pvcreate(device string) *GuestfsError
- func (g *Guestfs) Pvremove(device string) *GuestfsError
- func (g *Guestfs) Pvresize(device string) *GuestfsError
- func (g *Guestfs) Pvresize_size(device string, size int64) *GuestfsError
- func (g *Guestfs) Pvs() ([]string, *GuestfsError)
- func (g *Guestfs) Pvs_full() (*[]PV, *GuestfsError)
- func (g *Guestfs) Pvuuid(device string) (string, *GuestfsError)
- func (g *Guestfs) Pwrite(path string, content []byte, offset int64) (int, *GuestfsError)
- func (g *Guestfs) Pwrite_device(device string, content []byte, offset int64) (int, *GuestfsError)
- func (g *Guestfs) Read_file(path string) ([]byte, *GuestfsError)
- func (g *Guestfs) Read_lines(path string) ([]string, *GuestfsError)
- func (g *Guestfs) Readdir(dir string) (*[]Dirent, *GuestfsError)
- func (g *Guestfs) Readlink(path string) (string, *GuestfsError)
- func (g *Guestfs) Readlinklist(path string, names []string) ([]string, *GuestfsError)
- func (g *Guestfs) Realpath(path string) (string, *GuestfsError)
- func (g *Guestfs) Remount(mountpoint string, optargs *OptargsRemount) *GuestfsError
- func (g *Guestfs) Remove_drive(label string) *GuestfsError
- func (g *Guestfs) Removexattr(xattr string, path string) *GuestfsError
- func (g *Guestfs) Rename(oldpath string, newpath string) *GuestfsError
- func (g *Guestfs) Resize2fs(device string) *GuestfsError
- func (g *Guestfs) Resize2fs_M(device string) *GuestfsError
- func (g *Guestfs) Resize2fs_size(device string, size int64) *GuestfsError
- func (g *Guestfs) Rm(path string) *GuestfsError
- func (g *Guestfs) Rm_f(path string) *GuestfsError
- func (g *Guestfs) Rm_rf(path string) *GuestfsError
- func (g *Guestfs) Rmdir(path string) *GuestfsError
- func (g *Guestfs) Rmmountpoint(exemptpath string) *GuestfsError
- func (g *Guestfs) Rsync(src string, dest string, optargs *OptargsRsync) *GuestfsError
- func (g *Guestfs) Rsync_in(remote string, dest string, optargs *OptargsRsync_in) *GuestfsError
- func (g *Guestfs) Rsync_out(src string, remote string, optargs *OptargsRsync_out) *GuestfsError
- func (g *Guestfs) Scrub_device(device string) *GuestfsError
- func (g *Guestfs) Scrub_file(file string) *GuestfsError
- func (g *Guestfs) Scrub_freespace(dir string) *GuestfsError
- func (g *Guestfs) Set_append(append *string) *GuestfsError
- func (g *Guestfs) Set_attach_method(backend string) *GuestfsError
- func (g *Guestfs) Set_autosync(autosync bool) *GuestfsError
- func (g *Guestfs) Set_backend(backend string) *GuestfsError
- func (g *Guestfs) Set_cachedir(cachedir *string) *GuestfsError
- func (g *Guestfs) Set_direct(direct bool) *GuestfsError
- func (g *Guestfs) Set_e2attrs(file string, attrs string, optargs *OptargsSet_e2attrs) *GuestfsError
- func (g *Guestfs) Set_e2generation(file string, generation int64) *GuestfsError
- func (g *Guestfs) Set_e2label(device string, label string) *GuestfsError
- func (g *Guestfs) Set_e2uuid(device string, uuid string) *GuestfsError
- func (g *Guestfs) Set_hv(hv string) *GuestfsError
- func (g *Guestfs) Set_label(mountable string, label string) *GuestfsError
- func (g *Guestfs) Set_libvirt_requested_credential(index int, cred []byte) *GuestfsError
- func (g *Guestfs) Set_libvirt_supported_credentials(creds []string) *GuestfsError
- func (g *Guestfs) Set_memsize(memsize int) *GuestfsError
- func (g *Guestfs) Set_network(network bool) *GuestfsError
- func (g *Guestfs) Set_path(searchpath *string) *GuestfsError
- func (g *Guestfs) Set_pgroup(pgroup bool) *GuestfsError
- func (g *Guestfs) Set_program(program string) *GuestfsError
- func (g *Guestfs) Set_qemu(hv *string) *GuestfsError
- func (g *Guestfs) Set_recovery_proc(recoveryproc bool) *GuestfsError
- func (g *Guestfs) Set_selinux(selinux bool) *GuestfsError
- func (g *Guestfs) Set_smp(smp int) *GuestfsError
- func (g *Guestfs) Set_tmpdir(tmpdir *string) *GuestfsError
- func (g *Guestfs) Set_trace(trace bool) *GuestfsError
- func (g *Guestfs) Set_uuid(device string, uuid string) *GuestfsError
- func (g *Guestfs) Set_verbose(verbose bool) *GuestfsError
- func (g *Guestfs) Setcon(context string) *GuestfsError
- func (g *Guestfs) Setxattr(xattr string, val string, vallen int, path string) *GuestfsError
- func (g *Guestfs) Sfdisk(device string, cyls int, heads int, sectors int, lines []string) *GuestfsError
- func (g *Guestfs) SfdiskM(device string, lines []string) *GuestfsError
- func (g *Guestfs) Sfdisk_N(device string, partnum int, cyls int, heads int, sectors int, line string) *GuestfsError
- func (g *Guestfs) Sfdisk_disk_geometry(device string) (string, *GuestfsError)
- func (g *Guestfs) Sfdisk_kernel_geometry(device string) (string, *GuestfsError)
- func (g *Guestfs) Sfdisk_l(device string) (string, *GuestfsError)
- func (g *Guestfs) Sh(command string) (string, *GuestfsError)
- func (g *Guestfs) Sh_lines(command string) ([]string, *GuestfsError)
- func (g *Guestfs) Shutdown() *GuestfsError
- func (g *Guestfs) Sleep(secs int) *GuestfsError
- func (g *Guestfs) Stat(path string) (*Stat, *GuestfsError)
- func (g *Guestfs) Statvfs(path string) (*StatVFS, *GuestfsError)
- func (g *Guestfs) String() string
- func (g *Guestfs) Strings(path string) ([]string, *GuestfsError)
- func (g *Guestfs) Strings_e(encoding string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Swapoff_device(device string) *GuestfsError
- func (g *Guestfs) Swapoff_file(file string) *GuestfsError
- func (g *Guestfs) Swapoff_label(label string) *GuestfsError
- func (g *Guestfs) Swapoff_uuid(uuid string) *GuestfsError
- func (g *Guestfs) Swapon_device(device string) *GuestfsError
- func (g *Guestfs) Swapon_file(file string) *GuestfsError
- func (g *Guestfs) Swapon_label(label string) *GuestfsError
- func (g *Guestfs) Swapon_uuid(uuid string) *GuestfsError
- func (g *Guestfs) Sync() *GuestfsError
- func (g *Guestfs) Syslinux(device string, optargs *OptargsSyslinux) *GuestfsError
- func (g *Guestfs) Tail(path string) ([]string, *GuestfsError)
- func (g *Guestfs) Tail_n(nrlines int, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Tar_in(tarfile string, directory string, optargs *OptargsTar_in) *GuestfsError
- func (g *Guestfs) Tar_out(directory string, tarfile string, optargs *OptargsTar_out) *GuestfsError
- func (g *Guestfs) Tgz_in(tarball string, directory string) *GuestfsError
- func (g *Guestfs) Tgz_out(directory string, tarball string) *GuestfsError
- func (g *Guestfs) Touch(path string) *GuestfsError
- func (g *Guestfs) Truncate(path string) *GuestfsError
- func (g *Guestfs) Truncate_size(path string, size int64) *GuestfsError
- func (g *Guestfs) Tune2fs(device string, optargs *OptargsTune2fs) *GuestfsError
- func (g *Guestfs) Tune2fs_l(device string) (map[string]string, *GuestfsError)
- func (g *Guestfs) Txz_in(tarball string, directory string) *GuestfsError
- func (g *Guestfs) Txz_out(directory string, tarball string) *GuestfsError
- func (g *Guestfs) Umask(mask int) (int, *GuestfsError)
- func (g *Guestfs) Umount(pathordevice string, optargs *OptargsUmount) *GuestfsError
- func (g *Guestfs) Umount_all() *GuestfsError
- func (g *Guestfs) Umount_local(optargs *OptargsUmount_local) *GuestfsError
- func (g *Guestfs) Upload(filename string, remotefilename string) *GuestfsError
- func (g *Guestfs) Upload_offset(filename string, remotefilename string, offset int64) *GuestfsError
- func (g *Guestfs) User_cancel() *GuestfsError
- func (g *Guestfs) Utimens(path string, atsecs int64, atnsecs int64, mtsecs int64, mtnsecs int64) *GuestfsError
- func (g *Guestfs) Utsname() (*UTSName, *GuestfsError)
- func (g *Guestfs) Version() (*Version, *GuestfsError)
- func (g *Guestfs) Vfs_label(mountable string) (string, *GuestfsError)
- func (g *Guestfs) Vfs_type(mountable string) (string, *GuestfsError)
- func (g *Guestfs) Vfs_uuid(mountable string) (string, *GuestfsError)
- func (g *Guestfs) Vg_activate(activate bool, volgroups []string) *GuestfsError
- func (g *Guestfs) Vg_activate_all(activate bool) *GuestfsError
- func (g *Guestfs) Vgchange_uuid(vg string) *GuestfsError
- func (g *Guestfs) Vgchange_uuid_all() *GuestfsError
- func (g *Guestfs) Vgcreate(volgroup string, physvols []string) *GuestfsError
- func (g *Guestfs) Vglvuuids(vgname string) ([]string, *GuestfsError)
- func (g *Guestfs) Vgmeta(vgname string) ([]byte, *GuestfsError)
- func (g *Guestfs) Vgpvuuids(vgname string) ([]string, *GuestfsError)
- func (g *Guestfs) Vgremove(vgname string) *GuestfsError
- func (g *Guestfs) Vgrename(volgroup string, newvolgroup string) *GuestfsError
- func (g *Guestfs) Vgs() ([]string, *GuestfsError)
- func (g *Guestfs) Vgs_full() (*[]VG, *GuestfsError)
- func (g *Guestfs) Vgscan() *GuestfsError
- func (g *Guestfs) Vguuid(vgname string) (string, *GuestfsError)
- func (g *Guestfs) Wait_ready() *GuestfsError
- func (g *Guestfs) Wc_c(path string) (int, *GuestfsError)
- func (g *Guestfs) Wc_l(path string) (int, *GuestfsError)
- func (g *Guestfs) Wc_w(path string) (int, *GuestfsError)
- func (g *Guestfs) Wipefs(device string) *GuestfsError
- func (g *Guestfs) Write(path string, content []byte) *GuestfsError
- func (g *Guestfs) Write_append(path string, content []byte) *GuestfsError
- func (g *Guestfs) Write_file(path string, content string, size int) *GuestfsError
- func (g *Guestfs) Xfs_admin(device string, optargs *OptargsXfs_admin) *GuestfsError
- func (g *Guestfs) Xfs_growfs(path string, optargs *OptargsXfs_growfs) *GuestfsError
- func (g *Guestfs) Xfs_info(pathordevice string) (*XFSInfo, *GuestfsError)
- func (g *Guestfs) Xfs_repair(device string, optargs *OptargsXfs_repair) (int, *GuestfsError)
- func (g *Guestfs) Zegrep(regex string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Zegrepi(regex string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Zero(device string) *GuestfsError
- func (g *Guestfs) Zero_device(device string) *GuestfsError
- func (g *Guestfs) Zero_free_space(directory string) *GuestfsError
- func (g *Guestfs) Zerofree(device string) *GuestfsError
- func (g *Guestfs) Zfgrep(pattern string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Zfgrepi(pattern string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Zfile(meth string, path string) (string, *GuestfsError)
- func (g *Guestfs) Zgrep(regex string, path string) ([]string, *GuestfsError)
- func (g *Guestfs) Zgrepi(regex string, path string) ([]string, *GuestfsError)
- type GuestfsError
- type HivexNode
- type HivexValue
- type INotifyEvent
- type ISOInfo
- type IntBool
- type LV
- type MDStat
- type OptargsAdd_domain
- type OptargsAdd_drive
- type OptargsAdd_drive_scratch
- type OptargsBtrfs_filesystem_resize
- type OptargsBtrfs_fsck
- type OptargsCompress_device_out
- type OptargsCompress_out
- type OptargsCopy_device_to_device
- type OptargsCopy_device_to_file
- type OptargsCopy_file_to_device
- type OptargsCopy_file_to_file
- type OptargsE2fsck
- type OptargsFstrim
- type OptargsGrep
- type OptargsHivex_open
- type OptargsInspect_get_icon
- type OptargsInternal_test
- type OptargsInternal_test_63_optargs
- type OptargsInternal_test_only_optargs
- type OptargsIs_blockdev
- type OptargsIs_chardev
- type OptargsIs_dir
- type OptargsIs_fifo
- type OptargsIs_file
- type OptargsIs_socket
- type OptargsMd_create
- type OptargsMke2fs
- type OptargsMkfs
- type OptargsMkfs_btrfs
- type OptargsMkswap
- type OptargsMktemp
- type OptargsMount_9p
- type OptargsMount_local
- type OptargsNtfsclone_out
- type OptargsNtfsfix
- type OptargsNtfsresize
- type OptargsRemount
- type OptargsRsync
- type OptargsRsync_in
- type OptargsRsync_out
- type OptargsSet_e2attrs
- type OptargsSyslinux
- type OptargsTar_in
- type OptargsTar_out
- type OptargsTune2fs
- type OptargsUmount
- type OptargsUmount_local
- type OptargsXfs_admin
- type OptargsXfs_growfs
- type OptargsXfs_repair
- type PV
- type Partition
- type Stat
- type StatVFS
- type UTSName
- type VG
- type Version
- type XAttr
- type XFSInfo
Constants ¶
const ( CREATE_NO_ENVIRONMENT = CreateFlags(C.GUESTFS_CREATE_NO_ENVIRONMENT) CREATE_NO_CLOSE_ON_EXIT = CreateFlags(C.GUESTFS_CREATE_NO_CLOSE_ON_EXIT) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
type Application2 ¶
type Application2 struct {
// contains filtered or unexported fields
}
type BTRFSSubvolume ¶
type BTRFSSubvolume struct {
// contains filtered or unexported fields
}
type Guestfs ¶
type Guestfs struct {
// contains filtered or unexported fields
}
Handle.
func Create_flags ¶
func Create_flags(flags CreateFlags) (*Guestfs, error)
func (*Guestfs) Acl_delete_def_file ¶
func (g *Guestfs) Acl_delete_def_file(dir string) *GuestfsError
acl_delete_def_file : delete the default POSIX ACL of a directory
func (*Guestfs) Acl_get_file ¶
func (g *Guestfs) Acl_get_file(path string, acltype string) (string, *GuestfsError)
acl_get_file : get the POSIX ACL attached to a file
func (*Guestfs) Acl_set_file ¶
func (g *Guestfs) Acl_set_file(path string, acltype string, acl string) *GuestfsError
acl_set_file : set the POSIX ACL attached to a file
func (*Guestfs) Add_cdrom ¶
func (g *Guestfs) Add_cdrom(filename string) *GuestfsError
add_cdrom : add a CD-ROM disk image to examine
func (*Guestfs) Add_domain ¶
func (g *Guestfs) Add_domain(dom string, optargs *OptargsAdd_domain) (int, *GuestfsError)
add_domain : add the disk(s) from a named libvirt domain
func (*Guestfs) Add_drive ¶
func (g *Guestfs) Add_drive(filename string, optargs *OptargsAdd_drive) *GuestfsError
add_drive : add an image to examine or modify
func (*Guestfs) Add_drive_ro ¶
func (g *Guestfs) Add_drive_ro(filename string) *GuestfsError
add_drive_ro : add a drive in snapshot mode (read-only)
func (*Guestfs) Add_drive_ro_with_if ¶
func (g *Guestfs) Add_drive_ro_with_if(filename string, iface string) *GuestfsError
add_drive_ro_with_if : add a drive read-only specifying the QEMU block emulation to use
func (*Guestfs) Add_drive_scratch ¶
func (g *Guestfs) Add_drive_scratch(size int64, optargs *OptargsAdd_drive_scratch) *GuestfsError
add_drive_scratch : add a temporary scratch drive
func (*Guestfs) Add_drive_with_if ¶
func (g *Guestfs) Add_drive_with_if(filename string, iface string) *GuestfsError
add_drive_with_if : add a drive specifying the QEMU block emulation to use
func (*Guestfs) Aug_clear ¶
func (g *Guestfs) Aug_clear(augpath string) *GuestfsError
aug_clear : clear Augeas path
func (*Guestfs) Aug_close ¶
func (g *Guestfs) Aug_close() *GuestfsError
aug_close : close the current Augeas handle
func (*Guestfs) Aug_defnode ¶
aug_defnode : define an Augeas node
func (*Guestfs) Aug_defvar ¶
func (g *Guestfs) Aug_defvar(name string, expr *string) (int, *GuestfsError)
aug_defvar : define an Augeas variable
func (*Guestfs) Aug_get ¶
func (g *Guestfs) Aug_get(augpath string) (string, *GuestfsError)
aug_get : look up the value of an Augeas path
func (*Guestfs) Aug_init ¶
func (g *Guestfs) Aug_init(root string, flags int) *GuestfsError
aug_init : create a new Augeas handle
func (*Guestfs) Aug_insert ¶
func (g *Guestfs) Aug_insert(augpath string, label string, before bool) *GuestfsError
aug_insert : insert a sibling Augeas node
func (*Guestfs) Aug_label ¶
func (g *Guestfs) Aug_label(augpath string) (string, *GuestfsError)
aug_label : return the label from an Augeas path expression
func (*Guestfs) Aug_load ¶
func (g *Guestfs) Aug_load() *GuestfsError
aug_load : load files into the tree
func (*Guestfs) Aug_ls ¶
func (g *Guestfs) Aug_ls(augpath string) ([]string, *GuestfsError)
aug_ls : list Augeas nodes under augpath
func (*Guestfs) Aug_match ¶
func (g *Guestfs) Aug_match(augpath string) ([]string, *GuestfsError)
aug_match : return Augeas nodes which match augpath
func (*Guestfs) Aug_mv ¶
func (g *Guestfs) Aug_mv(src string, dest string) *GuestfsError
aug_mv : move Augeas node
func (*Guestfs) Aug_rm ¶
func (g *Guestfs) Aug_rm(augpath string) (int, *GuestfsError)
aug_rm : remove an Augeas path
func (*Guestfs) Aug_save ¶
func (g *Guestfs) Aug_save() *GuestfsError
aug_save : write all pending Augeas changes to disk
func (*Guestfs) Aug_set ¶
func (g *Guestfs) Aug_set(augpath string, val string) *GuestfsError
aug_set : set Augeas path to value
func (*Guestfs) Available ¶
func (g *Guestfs) Available(groups []string) *GuestfsError
available : test availability of some parts of the API
func (*Guestfs) Available_all_groups ¶
func (g *Guestfs) Available_all_groups() ([]string, *GuestfsError)
available_all_groups : return a list of all optional groups
func (*Guestfs) Base64_in ¶
func (g *Guestfs) Base64_in(base64file string, filename string) *GuestfsError
base64_in : upload base64-encoded data to file
func (*Guestfs) Base64_out ¶
func (g *Guestfs) Base64_out(filename string, base64file string) *GuestfsError
base64_out : download file and encode as base64
func (*Guestfs) Blkid ¶
func (g *Guestfs) Blkid(device string) (map[string]string, *GuestfsError)
blkid : print block device attributes
func (*Guestfs) Blockdev_flushbufs ¶
func (g *Guestfs) Blockdev_flushbufs(device string) *GuestfsError
blockdev_flushbufs : flush device buffers
func (*Guestfs) Blockdev_getbsz ¶
func (g *Guestfs) Blockdev_getbsz(device string) (int, *GuestfsError)
blockdev_getbsz : get blocksize of block device
func (*Guestfs) Blockdev_getro ¶
func (g *Guestfs) Blockdev_getro(device string) (bool, *GuestfsError)
blockdev_getro : is block device set to read-only
func (*Guestfs) Blockdev_getsize64 ¶
func (g *Guestfs) Blockdev_getsize64(device string) (int64, *GuestfsError)
blockdev_getsize64 : get total size of device in bytes
func (*Guestfs) Blockdev_getss ¶
func (g *Guestfs) Blockdev_getss(device string) (int, *GuestfsError)
blockdev_getss : get sectorsize of block device
func (*Guestfs) Blockdev_getsz ¶
func (g *Guestfs) Blockdev_getsz(device string) (int64, *GuestfsError)
blockdev_getsz : get total size of device in 512-byte sectors
func (*Guestfs) Blockdev_rereadpt ¶
func (g *Guestfs) Blockdev_rereadpt(device string) *GuestfsError
blockdev_rereadpt : reread partition table
func (*Guestfs) Blockdev_setbsz ¶
func (g *Guestfs) Blockdev_setbsz(device string, blocksize int) *GuestfsError
blockdev_setbsz : set blocksize of block device
func (*Guestfs) Blockdev_setro ¶
func (g *Guestfs) Blockdev_setro(device string) *GuestfsError
blockdev_setro : set block device to read-only
func (*Guestfs) Blockdev_setrw ¶
func (g *Guestfs) Blockdev_setrw(device string) *GuestfsError
blockdev_setrw : set block device to read-write
func (*Guestfs) Btrfs_device_add ¶
func (g *Guestfs) Btrfs_device_add(devices []string, fs string) *GuestfsError
btrfs_device_add : add devices to a btrfs filesystem
func (*Guestfs) Btrfs_device_delete ¶
func (g *Guestfs) Btrfs_device_delete(devices []string, fs string) *GuestfsError
btrfs_device_delete : remove devices from a btrfs filesystem
func (*Guestfs) Btrfs_filesystem_balance ¶
func (g *Guestfs) Btrfs_filesystem_balance(fs string) *GuestfsError
btrfs_filesystem_balance : balance a btrfs filesystem
func (*Guestfs) Btrfs_filesystem_resize ¶
func (g *Guestfs) Btrfs_filesystem_resize(mountpoint string, optargs *OptargsBtrfs_filesystem_resize) *GuestfsError
btrfs_filesystem_resize : resize a btrfs filesystem
func (*Guestfs) Btrfs_filesystem_sync ¶
func (g *Guestfs) Btrfs_filesystem_sync(fs string) *GuestfsError
btrfs_filesystem_sync : sync a btrfs filesystem
func (*Guestfs) Btrfs_fsck ¶
func (g *Guestfs) Btrfs_fsck(device string, optargs *OptargsBtrfs_fsck) *GuestfsError
btrfs_fsck : check a btrfs filesystem
func (*Guestfs) Btrfs_set_seeding ¶
func (g *Guestfs) Btrfs_set_seeding(device string, seeding bool) *GuestfsError
btrfs_set_seeding : enable or disable the seeding feature of device
func (*Guestfs) Btrfs_subvolume_create ¶
func (g *Guestfs) Btrfs_subvolume_create(dest string) *GuestfsError
btrfs_subvolume_create : create a btrfs snapshot
func (*Guestfs) Btrfs_subvolume_delete ¶
func (g *Guestfs) Btrfs_subvolume_delete(subvolume string) *GuestfsError
btrfs_subvolume_delete : delete a btrfs snapshot
func (*Guestfs) Btrfs_subvolume_list ¶
func (g *Guestfs) Btrfs_subvolume_list(fs string) (*[]BTRFSSubvolume, *GuestfsError)
btrfs_subvolume_list : list btrfs snapshots and subvolumes
func (*Guestfs) Btrfs_subvolume_set_default ¶
func (g *Guestfs) Btrfs_subvolume_set_default(id int64, fs string) *GuestfsError
btrfs_subvolume_set_default : set default btrfs subvolume
func (*Guestfs) Btrfs_subvolume_snapshot ¶
func (g *Guestfs) Btrfs_subvolume_snapshot(source string, dest string) *GuestfsError
btrfs_subvolume_snapshot : create a writable btrfs snapshot
func (*Guestfs) Canonical_device_name ¶
func (g *Guestfs) Canonical_device_name(device string) (string, *GuestfsError)
canonical_device_name : return canonical device name
func (*Guestfs) Cap_get_file ¶
func (g *Guestfs) Cap_get_file(path string) (string, *GuestfsError)
cap_get_file : get the Linux capabilities attached to a file
func (*Guestfs) Cap_set_file ¶
func (g *Guestfs) Cap_set_file(path string, cap string) *GuestfsError
cap_set_file : set the Linux capabilities attached to a file
func (*Guestfs) Case_sensitive_path ¶
func (g *Guestfs) Case_sensitive_path(path string) (string, *GuestfsError)
case_sensitive_path : return true path on case-insensitive filesystem
func (*Guestfs) Cat ¶
func (g *Guestfs) Cat(path string) (string, *GuestfsError)
cat : list the contents of a file
func (*Guestfs) Checksum ¶
func (g *Guestfs) Checksum(csumtype string, path string) (string, *GuestfsError)
checksum : compute MD5, SHAx or CRC checksum of file
func (*Guestfs) Checksum_device ¶
func (g *Guestfs) Checksum_device(csumtype string, device string) (string, *GuestfsError)
checksum_device : compute MD5, SHAx or CRC checksum of the contents of a device
func (*Guestfs) Checksums_out ¶
func (g *Guestfs) Checksums_out(csumtype string, directory string, sumsfile string) *GuestfsError
checksums_out : compute MD5, SHAx or CRC checksum of files in a directory
func (*Guestfs) Chmod ¶
func (g *Guestfs) Chmod(mode int, path string) *GuestfsError
chmod : change file mode
func (*Guestfs) Chown ¶
func (g *Guestfs) Chown(owner int, group int, path string) *GuestfsError
chown : change file owner and group
func (*Guestfs) Command ¶
func (g *Guestfs) Command(arguments []string) (string, *GuestfsError)
command : run a command from the guest filesystem
func (*Guestfs) Command_lines ¶
func (g *Guestfs) Command_lines(arguments []string) ([]string, *GuestfsError)
command_lines : run a command, returning lines
func (*Guestfs) Compress_device_out ¶
func (g *Guestfs) Compress_device_out(ctype string, device string, zdevice string, optargs *OptargsCompress_device_out) *GuestfsError
compress_device_out : output compressed device
func (*Guestfs) Compress_out ¶
func (g *Guestfs) Compress_out(ctype string, file string, zfile string, optargs *OptargsCompress_out) *GuestfsError
compress_out : output compressed file
func (*Guestfs) Config ¶
func (g *Guestfs) Config(hvparam string, hvvalue *string) *GuestfsError
config : add hypervisor parameters
func (*Guestfs) Copy_device_to_device ¶
func (g *Guestfs) Copy_device_to_device(src string, dest string, optargs *OptargsCopy_device_to_device) *GuestfsError
copy_device_to_device : copy from source device to destination device
func (*Guestfs) Copy_device_to_file ¶
func (g *Guestfs) Copy_device_to_file(src string, dest string, optargs *OptargsCopy_device_to_file) *GuestfsError
copy_device_to_file : copy from source device to destination file
func (*Guestfs) Copy_file_to_device ¶
func (g *Guestfs) Copy_file_to_device(src string, dest string, optargs *OptargsCopy_file_to_device) *GuestfsError
copy_file_to_device : copy from source file to destination device
func (*Guestfs) Copy_file_to_file ¶
func (g *Guestfs) Copy_file_to_file(src string, dest string, optargs *OptargsCopy_file_to_file) *GuestfsError
copy_file_to_file : copy from source file to destination file
func (*Guestfs) Copy_size ¶
func (g *Guestfs) Copy_size(src string, dest string, size int64) *GuestfsError
copy_size : copy size bytes from source to destination using dd
func (*Guestfs) Cp_a ¶
func (g *Guestfs) Cp_a(src string, dest string) *GuestfsError
cp_a : copy a file or directory recursively
func (*Guestfs) Cp_r ¶
func (g *Guestfs) Cp_r(src string, dest string) *GuestfsError
cp_r : copy a file or directory recursively
func (*Guestfs) Dd ¶
func (g *Guestfs) Dd(src string, dest string) *GuestfsError
dd : copy from source to destination using dd
func (*Guestfs) Debug ¶
func (g *Guestfs) Debug(subcmd string, extraargs []string) (string, *GuestfsError)
debug : debugging and internals
func (*Guestfs) Debug_drives ¶
func (g *Guestfs) Debug_drives() ([]string, *GuestfsError)
debug_drives : debug the drives (internal use only)
func (*Guestfs) Debug_upload ¶
func (g *Guestfs) Debug_upload(filename string, tmpname string, mode int) *GuestfsError
debug_upload : upload a file to the appliance (internal use only)
func (*Guestfs) Device_index ¶
func (g *Guestfs) Device_index(device string) (int, *GuestfsError)
device_index : convert device to index
func (*Guestfs) Df ¶
func (g *Guestfs) Df() (string, *GuestfsError)
df : report file system disk space usage
func (*Guestfs) Df_h ¶
func (g *Guestfs) Df_h() (string, *GuestfsError)
df_h : report file system disk space usage (human readable)
func (*Guestfs) Disk_format ¶
func (g *Guestfs) Disk_format(filename string) (string, *GuestfsError)
disk_format : detect the disk format of a disk image
func (*Guestfs) Disk_has_backing_file ¶
func (g *Guestfs) Disk_has_backing_file(filename string) (bool, *GuestfsError)
disk_has_backing_file : return whether disk has a backing file
func (*Guestfs) Disk_virtual_size ¶
func (g *Guestfs) Disk_virtual_size(filename string) (int64, *GuestfsError)
disk_virtual_size : return virtual size of a disk
func (*Guestfs) Dmesg ¶
func (g *Guestfs) Dmesg() (string, *GuestfsError)
dmesg : return kernel messages
func (*Guestfs) Download ¶
func (g *Guestfs) Download(remotefilename string, filename string) *GuestfsError
download : download a file to the local machine
func (*Guestfs) Download_offset ¶
func (g *Guestfs) Download_offset(remotefilename string, filename string, offset int64, size int64) *GuestfsError
download_offset : download a file to the local machine with offset and size
func (*Guestfs) Drop_caches ¶
func (g *Guestfs) Drop_caches(whattodrop int) *GuestfsError
drop_caches : drop kernel page cache, dentries and inodes
func (*Guestfs) Du ¶
func (g *Guestfs) Du(path string) (int64, *GuestfsError)
du : estimate file space usage
func (*Guestfs) E2fsck ¶
func (g *Guestfs) E2fsck(device string, optargs *OptargsE2fsck) *GuestfsError
e2fsck : check an ext2/ext3 filesystem
func (*Guestfs) E2fsck_f ¶
func (g *Guestfs) E2fsck_f(device string) *GuestfsError
e2fsck_f : check an ext2/ext3 filesystem
func (*Guestfs) Echo_daemon ¶
func (g *Guestfs) Echo_daemon(words []string) (string, *GuestfsError)
echo_daemon : echo arguments back to the client
func (*Guestfs) Egrep ¶
func (g *Guestfs) Egrep(regex string, path string) ([]string, *GuestfsError)
egrep : return lines matching a pattern
func (*Guestfs) Egrepi ¶
func (g *Guestfs) Egrepi(regex string, path string) ([]string, *GuestfsError)
egrepi : return lines matching a pattern
func (*Guestfs) Equal ¶
func (g *Guestfs) Equal(file1 string, file2 string) (bool, *GuestfsError)
equal : test if two files have equal contents
func (*Guestfs) Exists ¶
func (g *Guestfs) Exists(path string) (bool, *GuestfsError)
exists : test if file or directory exists
func (*Guestfs) Extlinux ¶
func (g *Guestfs) Extlinux(directory string) *GuestfsError
extlinux : install the SYSLINUX bootloader on an ext2/3/4 or btrfs filesystem
func (*Guestfs) Fallocate ¶
func (g *Guestfs) Fallocate(path string, len int) *GuestfsError
fallocate : preallocate a file in the guest filesystem
func (*Guestfs) Fallocate64 ¶
func (g *Guestfs) Fallocate64(path string, len int64) *GuestfsError
fallocate64 : preallocate a file in the guest filesystem
func (*Guestfs) Feature_available ¶
func (g *Guestfs) Feature_available(groups []string) (bool, *GuestfsError)
feature_available : test availability of some parts of the API
func (*Guestfs) Fgrep ¶
func (g *Guestfs) Fgrep(pattern string, path string) ([]string, *GuestfsError)
fgrep : return lines matching a pattern
func (*Guestfs) Fgrepi ¶
func (g *Guestfs) Fgrepi(pattern string, path string) ([]string, *GuestfsError)
fgrepi : return lines matching a pattern
func (*Guestfs) File ¶
func (g *Guestfs) File(path string) (string, *GuestfsError)
file : determine file type
func (*Guestfs) File_architecture ¶
func (g *Guestfs) File_architecture(filename string) (string, *GuestfsError)
file_architecture : detect the architecture of a binary file
func (*Guestfs) Filesize ¶
func (g *Guestfs) Filesize(file string) (int64, *GuestfsError)
filesize : return the size of the file in bytes
func (*Guestfs) Filesystem_available ¶
func (g *Guestfs) Filesystem_available(filesystem string) (bool, *GuestfsError)
filesystem_available : check if filesystem is available
func (*Guestfs) Fill ¶
func (g *Guestfs) Fill(c int, len int, path string) *GuestfsError
fill : fill a file with octets
func (*Guestfs) Fill_dir ¶
func (g *Guestfs) Fill_dir(dir string, nr int) *GuestfsError
fill_dir : fill a directory with empty files
func (*Guestfs) Fill_pattern ¶
func (g *Guestfs) Fill_pattern(pattern string, len int, path string) *GuestfsError
fill_pattern : fill a file with a repeating pattern of bytes
func (*Guestfs) Find ¶
func (g *Guestfs) Find(directory string) ([]string, *GuestfsError)
find : find all files and directories
func (*Guestfs) Find0 ¶
func (g *Guestfs) Find0(directory string, files string) *GuestfsError
find0 : find all files and directories, returning NUL-separated list
func (*Guestfs) Findfs_label ¶
func (g *Guestfs) Findfs_label(label string) (string, *GuestfsError)
findfs_label : find a filesystem by label
func (*Guestfs) Findfs_uuid ¶
func (g *Guestfs) Findfs_uuid(uuid string) (string, *GuestfsError)
findfs_uuid : find a filesystem by UUID
func (*Guestfs) Fsck ¶
func (g *Guestfs) Fsck(fstype string, device string) (int, *GuestfsError)
fsck : run the filesystem checker
func (*Guestfs) Fstrim ¶
func (g *Guestfs) Fstrim(mountpoint string, optargs *OptargsFstrim) *GuestfsError
fstrim : trim free space in a filesystem
func (*Guestfs) Get_append ¶
func (g *Guestfs) Get_append() (*string, *GuestfsError)
get_append : get the additional kernel options
func (*Guestfs) Get_attach_method ¶
func (g *Guestfs) Get_attach_method() (string, *GuestfsError)
get_attach_method : get the backend
func (*Guestfs) Get_autosync ¶
func (g *Guestfs) Get_autosync() (bool, *GuestfsError)
get_autosync : get autosync mode
func (*Guestfs) Get_backend ¶
func (g *Guestfs) Get_backend() (string, *GuestfsError)
get_backend : get the backend
func (*Guestfs) Get_cachedir ¶
func (g *Guestfs) Get_cachedir() (string, *GuestfsError)
get_cachedir : get the appliance cache directory
func (*Guestfs) Get_direct ¶
func (g *Guestfs) Get_direct() (bool, *GuestfsError)
get_direct : get direct appliance mode flag
func (*Guestfs) Get_e2attrs ¶
func (g *Guestfs) Get_e2attrs(file string) (string, *GuestfsError)
get_e2attrs : get ext2 file attributes of a file
func (*Guestfs) Get_e2generation ¶
func (g *Guestfs) Get_e2generation(file string) (int64, *GuestfsError)
get_e2generation : get ext2 file generation of a file
func (*Guestfs) Get_e2label ¶
func (g *Guestfs) Get_e2label(device string) (string, *GuestfsError)
get_e2label : get the ext2/3/4 filesystem label
func (*Guestfs) Get_e2uuid ¶
func (g *Guestfs) Get_e2uuid(device string) (string, *GuestfsError)
get_e2uuid : get the ext2/3/4 filesystem UUID
func (*Guestfs) Get_hv ¶
func (g *Guestfs) Get_hv() (string, *GuestfsError)
get_hv : get the hypervisor binary
func (*Guestfs) Get_libvirt_requested_credential_challenge ¶
func (g *Guestfs) Get_libvirt_requested_credential_challenge(index int) (string, *GuestfsError)
get_libvirt_requested_credential_challenge : challenge of i'th requested credential
func (*Guestfs) Get_libvirt_requested_credential_defresult ¶
func (g *Guestfs) Get_libvirt_requested_credential_defresult(index int) (string, *GuestfsError)
get_libvirt_requested_credential_defresult : default result of i'th requested credential
func (*Guestfs) Get_libvirt_requested_credential_prompt ¶
func (g *Guestfs) Get_libvirt_requested_credential_prompt(index int) (string, *GuestfsError)
get_libvirt_requested_credential_prompt : prompt of i'th requested credential
func (*Guestfs) Get_libvirt_requested_credentials ¶
func (g *Guestfs) Get_libvirt_requested_credentials() ([]string, *GuestfsError)
get_libvirt_requested_credentials : get list of credentials requested by libvirt
func (*Guestfs) Get_memsize ¶
func (g *Guestfs) Get_memsize() (int, *GuestfsError)
get_memsize : get memory allocated to the hypervisor
func (*Guestfs) Get_network ¶
func (g *Guestfs) Get_network() (bool, *GuestfsError)
get_network : get enable network flag
func (*Guestfs) Get_path ¶
func (g *Guestfs) Get_path() (string, *GuestfsError)
get_path : get the search path
func (*Guestfs) Get_pgroup ¶
func (g *Guestfs) Get_pgroup() (bool, *GuestfsError)
get_pgroup : get process group flag
func (*Guestfs) Get_pid ¶
func (g *Guestfs) Get_pid() (int, *GuestfsError)
get_pid : get PID of hypervisor
func (*Guestfs) Get_program ¶
func (g *Guestfs) Get_program() (string, *GuestfsError)
get_program : get the program name
func (*Guestfs) Get_qemu ¶
func (g *Guestfs) Get_qemu() (string, *GuestfsError)
get_qemu : get the hypervisor binary (usually qemu)
func (*Guestfs) Get_recovery_proc ¶
func (g *Guestfs) Get_recovery_proc() (bool, *GuestfsError)
get_recovery_proc : get recovery process enabled flag
func (*Guestfs) Get_selinux ¶
func (g *Guestfs) Get_selinux() (bool, *GuestfsError)
get_selinux : get SELinux enabled flag
func (*Guestfs) Get_smp ¶
func (g *Guestfs) Get_smp() (int, *GuestfsError)
get_smp : get number of virtual CPUs in appliance
func (*Guestfs) Get_state ¶
func (g *Guestfs) Get_state() (int, *GuestfsError)
get_state : get the current state
func (*Guestfs) Get_tmpdir ¶
func (g *Guestfs) Get_tmpdir() (string, *GuestfsError)
get_tmpdir : get the temporary directory
func (*Guestfs) Get_trace ¶
func (g *Guestfs) Get_trace() (bool, *GuestfsError)
get_trace : get command trace enabled flag
func (*Guestfs) Get_umask ¶
func (g *Guestfs) Get_umask() (int, *GuestfsError)
get_umask : get the current umask
func (*Guestfs) Get_verbose ¶
func (g *Guestfs) Get_verbose() (bool, *GuestfsError)
get_verbose : get verbose mode
func (*Guestfs) Getcon ¶
func (g *Guestfs) Getcon() (string, *GuestfsError)
getcon : get SELinux security context
func (*Guestfs) Getxattr ¶
func (g *Guestfs) Getxattr(path string, name string) ([]byte, *GuestfsError)
getxattr : get a single extended attribute
func (*Guestfs) Getxattrs ¶
func (g *Guestfs) Getxattrs(path string) (*[]XAttr, *GuestfsError)
getxattrs : list extended attributes of a file or directory
func (*Guestfs) Glob_expand ¶
func (g *Guestfs) Glob_expand(pattern string) ([]string, *GuestfsError)
glob_expand : expand a wildcard path
func (*Guestfs) Grep ¶
func (g *Guestfs) Grep(regex string, path string, optargs *OptargsGrep) ([]string, *GuestfsError)
grep : return lines matching a pattern
func (*Guestfs) Grepi ¶
func (g *Guestfs) Grepi(regex string, path string) ([]string, *GuestfsError)
grepi : return lines matching a pattern
func (*Guestfs) Grub_install ¶
func (g *Guestfs) Grub_install(root string, device string) *GuestfsError
grub_install : install GRUB 1
func (*Guestfs) Head ¶
func (g *Guestfs) Head(path string) ([]string, *GuestfsError)
head : return first 10 lines of a file
func (*Guestfs) Head_n ¶
func (g *Guestfs) Head_n(nrlines int, path string) ([]string, *GuestfsError)
head_n : return first N lines of a file
func (*Guestfs) Hexdump ¶
func (g *Guestfs) Hexdump(path string) (string, *GuestfsError)
hexdump : dump a file in hexadecimal
func (*Guestfs) Hivex_close ¶
func (g *Guestfs) Hivex_close() *GuestfsError
hivex_close : close the current hivex handle
func (*Guestfs) Hivex_commit ¶
func (g *Guestfs) Hivex_commit(filename *string) *GuestfsError
hivex_commit : commit (write) changes back to the hive
func (*Guestfs) Hivex_node_add_child ¶
func (g *Guestfs) Hivex_node_add_child(parent int64, name string) (int64, *GuestfsError)
hivex_node_add_child : add a child node
func (*Guestfs) Hivex_node_children ¶
func (g *Guestfs) Hivex_node_children(nodeh int64) (*[]HivexNode, *GuestfsError)
hivex_node_children : return list of nodes which are subkeys of node
func (*Guestfs) Hivex_node_delete_child ¶
func (g *Guestfs) Hivex_node_delete_child(nodeh int64) *GuestfsError
hivex_node_delete_child : delete a node (recursively)
func (*Guestfs) Hivex_node_get_child ¶
func (g *Guestfs) Hivex_node_get_child(nodeh int64, name string) (int64, *GuestfsError)
hivex_node_get_child : return the named child of node
func (*Guestfs) Hivex_node_get_value ¶
func (g *Guestfs) Hivex_node_get_value(nodeh int64, key string) (int64, *GuestfsError)
hivex_node_get_value : return the named value
func (*Guestfs) Hivex_node_name ¶
func (g *Guestfs) Hivex_node_name(nodeh int64) (string, *GuestfsError)
hivex_node_name : return the name of the node
func (*Guestfs) Hivex_node_parent ¶
func (g *Guestfs) Hivex_node_parent(nodeh int64) (int64, *GuestfsError)
hivex_node_parent : return the parent of node
func (*Guestfs) Hivex_node_set_value ¶
hivex_node_set_value : set or replace a single value in a node
func (*Guestfs) Hivex_node_values ¶
func (g *Guestfs) Hivex_node_values(nodeh int64) (*[]HivexValue, *GuestfsError)
hivex_node_values : return list of values attached to node
func (*Guestfs) Hivex_open ¶
func (g *Guestfs) Hivex_open(filename string, optargs *OptargsHivex_open) *GuestfsError
hivex_open : open a Windows Registry hive file
func (*Guestfs) Hivex_root ¶
func (g *Guestfs) Hivex_root() (int64, *GuestfsError)
hivex_root : return the root node of the hive
func (*Guestfs) Hivex_value_key ¶
func (g *Guestfs) Hivex_value_key(valueh int64) (string, *GuestfsError)
hivex_value_key : return the key field from the (key, datatype, data) tuple
func (*Guestfs) Hivex_value_type ¶
func (g *Guestfs) Hivex_value_type(valueh int64) (int64, *GuestfsError)
hivex_value_type : return the data type from the (key, datatype, data) tuple
func (*Guestfs) Hivex_value_utf8 ¶
func (g *Guestfs) Hivex_value_utf8(valueh int64) (string, *GuestfsError)
hivex_value_utf8 : return the data field from the (key, datatype, data) tuple
func (*Guestfs) Hivex_value_value ¶
func (g *Guestfs) Hivex_value_value(valueh int64) ([]byte, *GuestfsError)
hivex_value_value : return the data field from the (key, datatype, data) tuple
func (*Guestfs) Initrd_cat ¶
func (g *Guestfs) Initrd_cat(initrdpath string, filename string) ([]byte, *GuestfsError)
initrd_cat : list the contents of a single file in an initrd
func (*Guestfs) Initrd_list ¶
func (g *Guestfs) Initrd_list(path string) ([]string, *GuestfsError)
initrd_list : list files in an initrd
func (*Guestfs) Inotify_add_watch ¶
func (g *Guestfs) Inotify_add_watch(path string, mask int) (int64, *GuestfsError)
inotify_add_watch : add an inotify watch
func (*Guestfs) Inotify_close ¶
func (g *Guestfs) Inotify_close() *GuestfsError
inotify_close : close the inotify handle
func (*Guestfs) Inotify_files ¶
func (g *Guestfs) Inotify_files() ([]string, *GuestfsError)
inotify_files : return list of watched files that had events
func (*Guestfs) Inotify_init ¶
func (g *Guestfs) Inotify_init(maxevents int) *GuestfsError
inotify_init : create an inotify handle
func (*Guestfs) Inotify_read ¶
func (g *Guestfs) Inotify_read() (*[]INotifyEvent, *GuestfsError)
inotify_read : return list of inotify events
func (*Guestfs) Inotify_rm_watch ¶
func (g *Guestfs) Inotify_rm_watch(wd int) *GuestfsError
inotify_rm_watch : remove an inotify watch
func (*Guestfs) Inspect_get_arch ¶
func (g *Guestfs) Inspect_get_arch(root string) (string, *GuestfsError)
inspect_get_arch : get architecture of inspected operating system
func (*Guestfs) Inspect_get_distro ¶
func (g *Guestfs) Inspect_get_distro(root string) (string, *GuestfsError)
inspect_get_distro : get distro of inspected operating system
func (*Guestfs) Inspect_get_drive_mappings ¶
func (g *Guestfs) Inspect_get_drive_mappings(root string) (map[string]string, *GuestfsError)
inspect_get_drive_mappings : get drive letter mappings
func (*Guestfs) Inspect_get_filesystems ¶
func (g *Guestfs) Inspect_get_filesystems(root string) ([]string, *GuestfsError)
inspect_get_filesystems : get filesystems associated with inspected operating system
func (*Guestfs) Inspect_get_format ¶
func (g *Guestfs) Inspect_get_format(root string) (string, *GuestfsError)
inspect_get_format : get format of inspected operating system
func (*Guestfs) Inspect_get_hostname ¶
func (g *Guestfs) Inspect_get_hostname(root string) (string, *GuestfsError)
inspect_get_hostname : get hostname of the operating system
func (*Guestfs) Inspect_get_icon ¶
func (g *Guestfs) Inspect_get_icon(root string, optargs *OptargsInspect_get_icon) ([]byte, *GuestfsError)
inspect_get_icon : get the icon corresponding to this operating system
func (*Guestfs) Inspect_get_major_version ¶
func (g *Guestfs) Inspect_get_major_version(root string) (int, *GuestfsError)
inspect_get_major_version : get major version of inspected operating system
func (*Guestfs) Inspect_get_minor_version ¶
func (g *Guestfs) Inspect_get_minor_version(root string) (int, *GuestfsError)
inspect_get_minor_version : get minor version of inspected operating system
func (*Guestfs) Inspect_get_mountpoints ¶
func (g *Guestfs) Inspect_get_mountpoints(root string) (map[string]string, *GuestfsError)
inspect_get_mountpoints : get mountpoints of inspected operating system
func (*Guestfs) Inspect_get_package_format ¶
func (g *Guestfs) Inspect_get_package_format(root string) (string, *GuestfsError)
inspect_get_package_format : get package format used by the operating system
func (*Guestfs) Inspect_get_package_management ¶
func (g *Guestfs) Inspect_get_package_management(root string) (string, *GuestfsError)
inspect_get_package_management : get package management tool used by the operating system
func (*Guestfs) Inspect_get_product_name ¶
func (g *Guestfs) Inspect_get_product_name(root string) (string, *GuestfsError)
inspect_get_product_name : get product name of inspected operating system
func (*Guestfs) Inspect_get_product_variant ¶
func (g *Guestfs) Inspect_get_product_variant(root string) (string, *GuestfsError)
inspect_get_product_variant : get product variant of inspected operating system
func (*Guestfs) Inspect_get_roots ¶
func (g *Guestfs) Inspect_get_roots() ([]string, *GuestfsError)
inspect_get_roots : return list of operating systems found by last inspection
func (*Guestfs) Inspect_get_type ¶
func (g *Guestfs) Inspect_get_type(root string) (string, *GuestfsError)
inspect_get_type : get type of inspected operating system
func (*Guestfs) Inspect_get_windows_current_control_set ¶
func (g *Guestfs) Inspect_get_windows_current_control_set(root string) (string, *GuestfsError)
inspect_get_windows_current_control_set : get Windows CurrentControlSet of inspected operating system
func (*Guestfs) Inspect_get_windows_systemroot ¶
func (g *Guestfs) Inspect_get_windows_systemroot(root string) (string, *GuestfsError)
inspect_get_windows_systemroot : get Windows systemroot of inspected operating system
func (*Guestfs) Inspect_is_live ¶
func (g *Guestfs) Inspect_is_live(root string) (bool, *GuestfsError)
inspect_is_live : get live flag for install disk
func (*Guestfs) Inspect_is_multipart ¶
func (g *Guestfs) Inspect_is_multipart(root string) (bool, *GuestfsError)
inspect_is_multipart : get multipart flag for install disk
func (*Guestfs) Inspect_is_netinst ¶
func (g *Guestfs) Inspect_is_netinst(root string) (bool, *GuestfsError)
inspect_is_netinst : get netinst (network installer) flag for install disk
func (*Guestfs) Inspect_list_applications ¶
func (g *Guestfs) Inspect_list_applications(root string) (*[]Application, *GuestfsError)
inspect_list_applications : get list of applications installed in the operating system
func (*Guestfs) Inspect_list_applications2 ¶
func (g *Guestfs) Inspect_list_applications2(root string) (*[]Application2, *GuestfsError)
inspect_list_applications2 : get list of applications installed in the operating system
func (*Guestfs) Inspect_os ¶
func (g *Guestfs) Inspect_os() ([]string, *GuestfsError)
inspect_os : inspect disk and return list of operating systems found
func (*Guestfs) Internal_test ¶
func (g *Guestfs) Internal_test(str string, optstr *string, strlist []string, b bool, integer int, integer64 int64, filein string, fileout string, bufferin []byte, optargs *OptargsInternal_test) *GuestfsError
internal_test : internal test function - do not use
func (*Guestfs) Internal_test_63_optargs ¶
func (g *Guestfs) Internal_test_63_optargs(optargs *OptargsInternal_test_63_optargs) *GuestfsError
internal_test_63_optargs : internal test function - do not use
func (*Guestfs) Internal_test_close_output ¶
func (g *Guestfs) Internal_test_close_output() *GuestfsError
internal_test_close_output : internal test function - do not use
func (*Guestfs) Internal_test_only_optargs ¶
func (g *Guestfs) Internal_test_only_optargs(optargs *OptargsInternal_test_only_optargs) *GuestfsError
internal_test_only_optargs : internal test function - do not use
func (*Guestfs) Internal_test_rbool ¶
func (g *Guestfs) Internal_test_rbool(val string) (bool, *GuestfsError)
internal_test_rbool : internal test function - do not use
func (*Guestfs) Internal_test_rboolerr ¶
func (g *Guestfs) Internal_test_rboolerr() (bool, *GuestfsError)
internal_test_rboolerr : internal test function - do not use
func (*Guestfs) Internal_test_rbufferout ¶
func (g *Guestfs) Internal_test_rbufferout(val string) ([]byte, *GuestfsError)
internal_test_rbufferout : internal test function - do not use
func (*Guestfs) Internal_test_rbufferouterr ¶
func (g *Guestfs) Internal_test_rbufferouterr() ([]byte, *GuestfsError)
internal_test_rbufferouterr : internal test function - do not use
func (*Guestfs) Internal_test_rconstoptstring ¶
func (g *Guestfs) Internal_test_rconstoptstring(val string) (*string, *GuestfsError)
internal_test_rconstoptstring : internal test function - do not use
func (*Guestfs) Internal_test_rconstoptstringerr ¶
func (g *Guestfs) Internal_test_rconstoptstringerr() (*string, *GuestfsError)
internal_test_rconstoptstringerr : internal test function - do not use
func (*Guestfs) Internal_test_rconststring ¶
func (g *Guestfs) Internal_test_rconststring(val string) (string, *GuestfsError)
internal_test_rconststring : internal test function - do not use
func (*Guestfs) Internal_test_rconststringerr ¶
func (g *Guestfs) Internal_test_rconststringerr() (string, *GuestfsError)
internal_test_rconststringerr : internal test function - do not use
func (*Guestfs) Internal_test_rhashtable ¶
func (g *Guestfs) Internal_test_rhashtable(val string) (map[string]string, *GuestfsError)
internal_test_rhashtable : internal test function - do not use
func (*Guestfs) Internal_test_rhashtableerr ¶
func (g *Guestfs) Internal_test_rhashtableerr() (map[string]string, *GuestfsError)
internal_test_rhashtableerr : internal test function - do not use
func (*Guestfs) Internal_test_rint ¶
func (g *Guestfs) Internal_test_rint(val string) (int, *GuestfsError)
internal_test_rint : internal test function - do not use
func (*Guestfs) Internal_test_rint64 ¶
func (g *Guestfs) Internal_test_rint64(val string) (int64, *GuestfsError)
internal_test_rint64 : internal test function - do not use
func (*Guestfs) Internal_test_rint64err ¶
func (g *Guestfs) Internal_test_rint64err() (int64, *GuestfsError)
internal_test_rint64err : internal test function - do not use
func (*Guestfs) Internal_test_rinterr ¶
func (g *Guestfs) Internal_test_rinterr() (int, *GuestfsError)
internal_test_rinterr : internal test function - do not use
func (*Guestfs) Internal_test_rstring ¶
func (g *Guestfs) Internal_test_rstring(val string) (string, *GuestfsError)
internal_test_rstring : internal test function - do not use
func (*Guestfs) Internal_test_rstringerr ¶
func (g *Guestfs) Internal_test_rstringerr() (string, *GuestfsError)
internal_test_rstringerr : internal test function - do not use
func (*Guestfs) Internal_test_rstringlist ¶
func (g *Guestfs) Internal_test_rstringlist(val string) ([]string, *GuestfsError)
internal_test_rstringlist : internal test function - do not use
func (*Guestfs) Internal_test_rstringlisterr ¶
func (g *Guestfs) Internal_test_rstringlisterr() ([]string, *GuestfsError)
internal_test_rstringlisterr : internal test function - do not use
func (*Guestfs) Internal_test_rstruct ¶
func (g *Guestfs) Internal_test_rstruct(val string) (*PV, *GuestfsError)
internal_test_rstruct : internal test function - do not use
func (*Guestfs) Internal_test_rstructerr ¶
func (g *Guestfs) Internal_test_rstructerr() (*PV, *GuestfsError)
internal_test_rstructerr : internal test function - do not use
func (*Guestfs) Internal_test_rstructlist ¶
func (g *Guestfs) Internal_test_rstructlist(val string) (*[]PV, *GuestfsError)
internal_test_rstructlist : internal test function - do not use
func (*Guestfs) Internal_test_rstructlisterr ¶
func (g *Guestfs) Internal_test_rstructlisterr() (*[]PV, *GuestfsError)
internal_test_rstructlisterr : internal test function - do not use
func (*Guestfs) Internal_test_set_output ¶
func (g *Guestfs) Internal_test_set_output(filename string) *GuestfsError
internal_test_set_output : internal test function - do not use
func (*Guestfs) Is_blockdev ¶
func (g *Guestfs) Is_blockdev(path string, optargs *OptargsIs_blockdev) (bool, *GuestfsError)
is_blockdev : test if block device
func (*Guestfs) Is_busy ¶
func (g *Guestfs) Is_busy() (bool, *GuestfsError)
is_busy : is busy processing a command
func (*Guestfs) Is_chardev ¶
func (g *Guestfs) Is_chardev(path string, optargs *OptargsIs_chardev) (bool, *GuestfsError)
is_chardev : test if character device
func (*Guestfs) Is_config ¶
func (g *Guestfs) Is_config() (bool, *GuestfsError)
is_config : is in configuration state
func (*Guestfs) Is_dir ¶
func (g *Guestfs) Is_dir(path string, optargs *OptargsIs_dir) (bool, *GuestfsError)
is_dir : test if a directory
func (*Guestfs) Is_fifo ¶
func (g *Guestfs) Is_fifo(path string, optargs *OptargsIs_fifo) (bool, *GuestfsError)
is_fifo : test if FIFO (named pipe)
func (*Guestfs) Is_file ¶
func (g *Guestfs) Is_file(path string, optargs *OptargsIs_file) (bool, *GuestfsError)
is_file : test if a regular file
func (*Guestfs) Is_launching ¶
func (g *Guestfs) Is_launching() (bool, *GuestfsError)
is_launching : is launching subprocess
func (*Guestfs) Is_lv ¶
func (g *Guestfs) Is_lv(device string) (bool, *GuestfsError)
is_lv : test if device is a logical volume
func (*Guestfs) Is_ready ¶
func (g *Guestfs) Is_ready() (bool, *GuestfsError)
is_ready : is ready to accept commands
func (*Guestfs) Is_socket ¶
func (g *Guestfs) Is_socket(path string, optargs *OptargsIs_socket) (bool, *GuestfsError)
is_socket : test if socket
func (*Guestfs) Is_symlink ¶
func (g *Guestfs) Is_symlink(path string) (bool, *GuestfsError)
is_symlink : test if symbolic link
func (*Guestfs) Is_whole_device ¶
func (g *Guestfs) Is_whole_device(device string) (bool, *GuestfsError)
is_whole_device : test if a device is a whole device
func (*Guestfs) Is_zero ¶
func (g *Guestfs) Is_zero(path string) (bool, *GuestfsError)
is_zero : test if a file contains all zero bytes
func (*Guestfs) Is_zero_device ¶
func (g *Guestfs) Is_zero_device(device string) (bool, *GuestfsError)
is_zero_device : test if a device contains all zero bytes
func (*Guestfs) Isoinfo ¶
func (g *Guestfs) Isoinfo(isofile string) (*ISOInfo, *GuestfsError)
isoinfo : get ISO information from primary volume descriptor of ISO file
func (*Guestfs) Isoinfo_device ¶
func (g *Guestfs) Isoinfo_device(device string) (*ISOInfo, *GuestfsError)
isoinfo_device : get ISO information from primary volume descriptor of device
func (*Guestfs) Journal_close ¶
func (g *Guestfs) Journal_close() *GuestfsError
journal_close : close the systemd journal
func (*Guestfs) Journal_get ¶
func (g *Guestfs) Journal_get() (*[]XAttr, *GuestfsError)
journal_get : read the current journal entry
func (*Guestfs) Journal_get_data_threshold ¶
func (g *Guestfs) Journal_get_data_threshold() (int64, *GuestfsError)
journal_get_data_threshold : get the data threshold for reading journal entries
func (*Guestfs) Journal_next ¶
func (g *Guestfs) Journal_next() (bool, *GuestfsError)
journal_next : move to the next journal entry
func (*Guestfs) Journal_open ¶
func (g *Guestfs) Journal_open(directory string) *GuestfsError
journal_open : open the systemd journal
func (*Guestfs) Journal_set_data_threshold ¶
func (g *Guestfs) Journal_set_data_threshold(threshold int64) *GuestfsError
journal_set_data_threshold : set the data threshold for reading journal entries
func (*Guestfs) Journal_skip ¶
func (g *Guestfs) Journal_skip(skip int64) (int64, *GuestfsError)
journal_skip : skip forwards or backwards in the journal
func (*Guestfs) Kill_subprocess ¶
func (g *Guestfs) Kill_subprocess() *GuestfsError
kill_subprocess : kill the hypervisor
func (*Guestfs) Lchown ¶
func (g *Guestfs) Lchown(owner int, group int, path string) *GuestfsError
lchown : change file owner and group
func (*Guestfs) Ldmtool_create_all ¶
func (g *Guestfs) Ldmtool_create_all() *GuestfsError
ldmtool_create_all : scan and create Windows dynamic disk volumes
func (*Guestfs) Ldmtool_diskgroup_disks ¶
func (g *Guestfs) Ldmtool_diskgroup_disks(diskgroup string) ([]string, *GuestfsError)
ldmtool_diskgroup_disks : return the disks in a Windows dynamic disk group
func (*Guestfs) Ldmtool_diskgroup_name ¶
func (g *Guestfs) Ldmtool_diskgroup_name(diskgroup string) (string, *GuestfsError)
ldmtool_diskgroup_name : return the name of a Windows dynamic disk group
func (*Guestfs) Ldmtool_diskgroup_volumes ¶
func (g *Guestfs) Ldmtool_diskgroup_volumes(diskgroup string) ([]string, *GuestfsError)
ldmtool_diskgroup_volumes : return the volumes in a Windows dynamic disk group
func (*Guestfs) Ldmtool_remove_all ¶
func (g *Guestfs) Ldmtool_remove_all() *GuestfsError
ldmtool_remove_all : remove all Windows dynamic disk volumes
func (*Guestfs) Ldmtool_scan ¶
func (g *Guestfs) Ldmtool_scan() ([]string, *GuestfsError)
ldmtool_scan : scan for Windows dynamic disks
func (*Guestfs) Ldmtool_scan_devices ¶
func (g *Guestfs) Ldmtool_scan_devices(devices []string) ([]string, *GuestfsError)
ldmtool_scan_devices : scan for Windows dynamic disks
func (*Guestfs) Ldmtool_volume_hint ¶
func (g *Guestfs) Ldmtool_volume_hint(diskgroup string, volume string) (string, *GuestfsError)
ldmtool_volume_hint : return the hint field of a Windows dynamic disk volume
func (*Guestfs) Ldmtool_volume_partitions ¶
func (g *Guestfs) Ldmtool_volume_partitions(diskgroup string, volume string) ([]string, *GuestfsError)
ldmtool_volume_partitions : return the partitions in a Windows dynamic disk volume
func (*Guestfs) Ldmtool_volume_type ¶
func (g *Guestfs) Ldmtool_volume_type(diskgroup string, volume string) (string, *GuestfsError)
ldmtool_volume_type : return the type of a Windows dynamic disk volume
func (*Guestfs) Lgetxattr ¶
func (g *Guestfs) Lgetxattr(path string, name string) ([]byte, *GuestfsError)
lgetxattr : get a single extended attribute
func (*Guestfs) Lgetxattrs ¶
func (g *Guestfs) Lgetxattrs(path string) (*[]XAttr, *GuestfsError)
lgetxattrs : list extended attributes of a file or directory
func (*Guestfs) List_9p ¶
func (g *Guestfs) List_9p() ([]string, *GuestfsError)
list_9p : list 9p filesystems
func (*Guestfs) List_devices ¶
func (g *Guestfs) List_devices() ([]string, *GuestfsError)
list_devices : list the block devices
func (*Guestfs) List_disk_labels ¶
func (g *Guestfs) List_disk_labels() (map[string]string, *GuestfsError)
list_disk_labels : mapping of disk labels to devices
func (*Guestfs) List_dm_devices ¶
func (g *Guestfs) List_dm_devices() ([]string, *GuestfsError)
list_dm_devices : list device mapper devices
func (*Guestfs) List_filesystems ¶
func (g *Guestfs) List_filesystems() (map[string]string, *GuestfsError)
list_filesystems : list filesystems
func (*Guestfs) List_ldm_partitions ¶
func (g *Guestfs) List_ldm_partitions() ([]string, *GuestfsError)
list_ldm_partitions : list all Windows dynamic disk partitions
func (*Guestfs) List_ldm_volumes ¶
func (g *Guestfs) List_ldm_volumes() ([]string, *GuestfsError)
list_ldm_volumes : list all Windows dynamic disk volumes
func (*Guestfs) List_md_devices ¶
func (g *Guestfs) List_md_devices() ([]string, *GuestfsError)
list_md_devices : list Linux md (RAID) devices
func (*Guestfs) List_partitions ¶
func (g *Guestfs) List_partitions() ([]string, *GuestfsError)
list_partitions : list the partitions
func (*Guestfs) Ll ¶
func (g *Guestfs) Ll(directory string) (string, *GuestfsError)
ll : list the files in a directory (long format)
func (*Guestfs) Llz ¶
func (g *Guestfs) Llz(directory string) (string, *GuestfsError)
llz : list the files in a directory (long format with SELinux contexts)
func (*Guestfs) Ln ¶
func (g *Guestfs) Ln(target string, linkname string) *GuestfsError
ln : create a hard link
func (*Guestfs) Ln_f ¶
func (g *Guestfs) Ln_f(target string, linkname string) *GuestfsError
ln_f : create a hard link
func (*Guestfs) Ln_s ¶
func (g *Guestfs) Ln_s(target string, linkname string) *GuestfsError
ln_s : create a symbolic link
func (*Guestfs) Ln_sf ¶
func (g *Guestfs) Ln_sf(target string, linkname string) *GuestfsError
ln_sf : create a symbolic link
func (*Guestfs) Lremovexattr ¶
func (g *Guestfs) Lremovexattr(xattr string, path string) *GuestfsError
lremovexattr : remove extended attribute of a file or directory
func (*Guestfs) Ls ¶
func (g *Guestfs) Ls(directory string) ([]string, *GuestfsError)
ls : list the files in a directory
func (*Guestfs) Ls0 ¶
func (g *Guestfs) Ls0(dir string, filenames string) *GuestfsError
ls0 : get list of files in a directory
func (*Guestfs) Lstat ¶
func (g *Guestfs) Lstat(path string) (*Stat, *GuestfsError)
lstat : get file information for a symbolic link
func (*Guestfs) Lstatlist ¶
func (g *Guestfs) Lstatlist(path string, names []string) (*[]Stat, *GuestfsError)
lstatlist : lstat on multiple files
func (*Guestfs) Luks_add_key ¶
luks_add_key : add a key on a LUKS encrypted device
func (*Guestfs) Luks_close ¶
func (g *Guestfs) Luks_close(device string) *GuestfsError
luks_close : close a LUKS device
func (*Guestfs) Luks_format ¶
func (g *Guestfs) Luks_format(device string, key string, keyslot int) *GuestfsError
luks_format : format a block device as a LUKS encrypted device
func (*Guestfs) Luks_format_cipher ¶
func (g *Guestfs) Luks_format_cipher(device string, key string, keyslot int, cipher string) *GuestfsError
luks_format_cipher : format a block device as a LUKS encrypted device
func (*Guestfs) Luks_kill_slot ¶
func (g *Guestfs) Luks_kill_slot(device string, key string, keyslot int) *GuestfsError
luks_kill_slot : remove a key from a LUKS encrypted device
func (*Guestfs) Luks_open ¶
func (g *Guestfs) Luks_open(device string, key string, mapname string) *GuestfsError
luks_open : open a LUKS-encrypted block device
func (*Guestfs) Luks_open_ro ¶
func (g *Guestfs) Luks_open_ro(device string, key string, mapname string) *GuestfsError
luks_open_ro : open a LUKS-encrypted block device read-only
func (*Guestfs) Lvcreate ¶
func (g *Guestfs) Lvcreate(logvol string, volgroup string, mbytes int) *GuestfsError
lvcreate : create an LVM logical volume
func (*Guestfs) Lvcreate_free ¶
func (g *Guestfs) Lvcreate_free(logvol string, volgroup string, percent int) *GuestfsError
lvcreate_free : create an LVM logical volume in % remaining free space
func (*Guestfs) Lvm_canonical_lv_name ¶
func (g *Guestfs) Lvm_canonical_lv_name(lvname string) (string, *GuestfsError)
lvm_canonical_lv_name : get canonical name of an LV
func (*Guestfs) Lvm_clear_filter ¶
func (g *Guestfs) Lvm_clear_filter() *GuestfsError
lvm_clear_filter : clear LVM device filter
func (*Guestfs) Lvm_remove_all ¶
func (g *Guestfs) Lvm_remove_all() *GuestfsError
lvm_remove_all : remove all LVM LVs, VGs and PVs
func (*Guestfs) Lvm_set_filter ¶
func (g *Guestfs) Lvm_set_filter(devices []string) *GuestfsError
lvm_set_filter : set LVM device filter
func (*Guestfs) Lvremove ¶
func (g *Guestfs) Lvremove(device string) *GuestfsError
lvremove : remove an LVM logical volume
func (*Guestfs) Lvrename ¶
func (g *Guestfs) Lvrename(logvol string, newlogvol string) *GuestfsError
lvrename : rename an LVM logical volume
func (*Guestfs) Lvresize ¶
func (g *Guestfs) Lvresize(device string, mbytes int) *GuestfsError
lvresize : resize an LVM logical volume
func (*Guestfs) Lvresize_free ¶
func (g *Guestfs) Lvresize_free(lv string, percent int) *GuestfsError
lvresize_free : expand an LV to fill free space
func (*Guestfs) Lvs ¶
func (g *Guestfs) Lvs() ([]string, *GuestfsError)
lvs : list the LVM logical volumes (LVs)
func (*Guestfs) Lvs_full ¶
func (g *Guestfs) Lvs_full() (*[]LV, *GuestfsError)
lvs_full : list the LVM logical volumes (LVs)
func (*Guestfs) Lvuuid ¶
func (g *Guestfs) Lvuuid(device string) (string, *GuestfsError)
lvuuid : get the UUID of a logical volume
func (*Guestfs) Lxattrlist ¶
func (g *Guestfs) Lxattrlist(path string, names []string) (*[]XAttr, *GuestfsError)
lxattrlist : lgetxattr on multiple files
func (*Guestfs) Max_disks ¶
func (g *Guestfs) Max_disks() (int, *GuestfsError)
max_disks : maximum number of disks that may be added
func (*Guestfs) Md_create ¶
func (g *Guestfs) Md_create(name string, devices []string, optargs *OptargsMd_create) *GuestfsError
md_create : create a Linux md (RAID) device
func (*Guestfs) Md_detail ¶
func (g *Guestfs) Md_detail(md string) (map[string]string, *GuestfsError)
md_detail : obtain metadata for an MD device
func (*Guestfs) Md_stat ¶
func (g *Guestfs) Md_stat(md string) (*[]MDStat, *GuestfsError)
md_stat : get underlying devices from an MD device
func (*Guestfs) Md_stop ¶
func (g *Guestfs) Md_stop(md string) *GuestfsError
md_stop : stop a Linux md (RAID) device
func (*Guestfs) Mkdir ¶
func (g *Guestfs) Mkdir(path string) *GuestfsError
mkdir : create a directory
func (*Guestfs) Mkdir_mode ¶
func (g *Guestfs) Mkdir_mode(path string, mode int) *GuestfsError
mkdir_mode : create a directory with a particular mode
func (*Guestfs) Mkdir_p ¶
func (g *Guestfs) Mkdir_p(path string) *GuestfsError
mkdir_p : create a directory and parents
func (*Guestfs) Mkdtemp ¶
func (g *Guestfs) Mkdtemp(tmpl string) (string, *GuestfsError)
mkdtemp : create a temporary directory
func (*Guestfs) Mke2fs ¶
func (g *Guestfs) Mke2fs(device string, optargs *OptargsMke2fs) *GuestfsError
mke2fs : create an ext2/ext3/ext4 filesystem on device
func (*Guestfs) Mke2fs_J ¶
func (g *Guestfs) Mke2fs_J(fstype string, blocksize int, device string, journal string) *GuestfsError
mke2fs_J : make ext2/3/4 filesystem with external journal
func (*Guestfs) Mke2fs_JL ¶
func (g *Guestfs) Mke2fs_JL(fstype string, blocksize int, device string, label string) *GuestfsError
mke2fs_JL : make ext2/3/4 filesystem with external journal
func (*Guestfs) Mke2journal ¶
func (g *Guestfs) Mke2journal(blocksize int, device string) *GuestfsError
mke2journal : make ext2/3/4 external journal
func (*Guestfs) Mke2journal_L ¶
func (g *Guestfs) Mke2journal_L(blocksize int, label string, device string) *GuestfsError
mke2journal_L : make ext2/3/4 external journal with label
func (*Guestfs) Mke2journal_U ¶
func (g *Guestfs) Mke2journal_U(blocksize int, uuid string, device string) *GuestfsError
mke2journal_U : make ext2/3/4 external journal with UUID
func (*Guestfs) Mkfifo ¶
func (g *Guestfs) Mkfifo(mode int, path string) *GuestfsError
mkfifo : make FIFO (named pipe)
func (*Guestfs) Mkfs ¶
func (g *Guestfs) Mkfs(fstype string, device string, optargs *OptargsMkfs) *GuestfsError
mkfs : make a filesystem
func (*Guestfs) Mkfs_b ¶
func (g *Guestfs) Mkfs_b(fstype string, blocksize int, device string) *GuestfsError
mkfs_b : make a filesystem with block size
func (*Guestfs) Mkfs_btrfs ¶
func (g *Guestfs) Mkfs_btrfs(devices []string, optargs *OptargsMkfs_btrfs) *GuestfsError
mkfs_btrfs : create a btrfs filesystem
func (*Guestfs) Mklost_and_found ¶
func (g *Guestfs) Mklost_and_found(mountpoint string) *GuestfsError
mklost_and_found : make lost+found directory on an ext2/3/4 filesystem
func (*Guestfs) Mkmountpoint ¶
func (g *Guestfs) Mkmountpoint(exemptpath string) *GuestfsError
mkmountpoint : create a mountpoint
func (*Guestfs) Mkswap ¶
func (g *Guestfs) Mkswap(device string, optargs *OptargsMkswap) *GuestfsError
mkswap : create a swap partition
func (*Guestfs) Mkswap_L ¶
func (g *Guestfs) Mkswap_L(label string, device string) *GuestfsError
mkswap_L : create a swap partition with a label
func (*Guestfs) Mkswap_U ¶
func (g *Guestfs) Mkswap_U(uuid string, device string) *GuestfsError
mkswap_U : create a swap partition with an explicit UUID
func (*Guestfs) Mkswap_file ¶
func (g *Guestfs) Mkswap_file(path string) *GuestfsError
mkswap_file : create a swap file
func (*Guestfs) Mktemp ¶
func (g *Guestfs) Mktemp(tmpl string, optargs *OptargsMktemp) (string, *GuestfsError)
mktemp : create a temporary file
func (*Guestfs) Modprobe ¶
func (g *Guestfs) Modprobe(modulename string) *GuestfsError
modprobe : load a kernel module
func (*Guestfs) Mount ¶
func (g *Guestfs) Mount(mountable string, mountpoint string) *GuestfsError
mount : mount a guest disk at a position in the filesystem
func (*Guestfs) Mount_9p ¶
func (g *Guestfs) Mount_9p(mounttag string, mountpoint string, optargs *OptargsMount_9p) *GuestfsError
mount_9p : mount 9p filesystem
func (*Guestfs) Mount_local ¶
func (g *Guestfs) Mount_local(localmountpoint string, optargs *OptargsMount_local) *GuestfsError
mount_local : mount on the local filesystem
func (*Guestfs) Mount_local_run ¶
func (g *Guestfs) Mount_local_run() *GuestfsError
mount_local_run : run main loop of mount on the local filesystem
func (*Guestfs) Mount_loop ¶
func (g *Guestfs) Mount_loop(file string, mountpoint string) *GuestfsError
mount_loop : mount a file using the loop device
func (*Guestfs) Mount_options ¶
func (g *Guestfs) Mount_options(options string, mountable string, mountpoint string) *GuestfsError
mount_options : mount a guest disk with mount options
func (*Guestfs) Mount_ro ¶
func (g *Guestfs) Mount_ro(mountable string, mountpoint string) *GuestfsError
mount_ro : mount a guest disk, read-only
func (*Guestfs) Mount_vfs ¶
func (g *Guestfs) Mount_vfs(options string, vfstype string, mountable string, mountpoint string) *GuestfsError
mount_vfs : mount a guest disk with mount options and vfstype
func (*Guestfs) Mountpoints ¶
func (g *Guestfs) Mountpoints() (map[string]string, *GuestfsError)
mountpoints : show mountpoints
func (*Guestfs) Mounts ¶
func (g *Guestfs) Mounts() ([]string, *GuestfsError)
mounts : show mounted filesystems
func (*Guestfs) Nr_devices ¶
func (g *Guestfs) Nr_devices() (int, *GuestfsError)
nr_devices : return number of whole block devices (disks) added
func (*Guestfs) Ntfs_3g_probe ¶
func (g *Guestfs) Ntfs_3g_probe(rw bool, device string) (int, *GuestfsError)
ntfs_3g_probe : probe NTFS volume
func (*Guestfs) Ntfsclone_in ¶
func (g *Guestfs) Ntfsclone_in(backupfile string, device string) *GuestfsError
ntfsclone_in : restore NTFS from backup file
func (*Guestfs) Ntfsclone_out ¶
func (g *Guestfs) Ntfsclone_out(device string, backupfile string, optargs *OptargsNtfsclone_out) *GuestfsError
ntfsclone_out : save NTFS to backup file
func (*Guestfs) Ntfsfix ¶
func (g *Guestfs) Ntfsfix(device string, optargs *OptargsNtfsfix) *GuestfsError
ntfsfix : fix common errors and force Windows to check NTFS
func (*Guestfs) Ntfsresize ¶
func (g *Guestfs) Ntfsresize(device string, optargs *OptargsNtfsresize) *GuestfsError
ntfsresize : resize an NTFS filesystem
func (*Guestfs) Ntfsresize_size ¶
func (g *Guestfs) Ntfsresize_size(device string, size int64) *GuestfsError
ntfsresize_size : resize an NTFS filesystem (with size)
func (*Guestfs) Parse_environment ¶
func (g *Guestfs) Parse_environment() *GuestfsError
parse_environment : parse the environment and set handle flags accordingly
func (*Guestfs) Parse_environment_list ¶
func (g *Guestfs) Parse_environment_list(environment []string) *GuestfsError
parse_environment_list : parse the environment and set handle flags accordingly
func (*Guestfs) Part_add ¶
func (g *Guestfs) Part_add(device string, prlogex string, startsect int64, endsect int64) *GuestfsError
part_add : add a partition to the device
func (*Guestfs) Part_del ¶
func (g *Guestfs) Part_del(device string, partnum int) *GuestfsError
part_del : delete a partition
func (*Guestfs) Part_disk ¶
func (g *Guestfs) Part_disk(device string, parttype string) *GuestfsError
part_disk : partition whole disk with a single primary partition
func (*Guestfs) Part_get_bootable ¶
func (g *Guestfs) Part_get_bootable(device string, partnum int) (bool, *GuestfsError)
part_get_bootable : return true if a partition is bootable
func (*Guestfs) Part_get_gpt_type ¶
func (g *Guestfs) Part_get_gpt_type(device string, partnum int) (string, *GuestfsError)
part_get_gpt_type : get the type GUID of a GPT partition
func (*Guestfs) Part_get_mbr_id ¶
func (g *Guestfs) Part_get_mbr_id(device string, partnum int) (int, *GuestfsError)
part_get_mbr_id : get the MBR type byte (ID byte) from a partition
func (*Guestfs) Part_get_parttype ¶
func (g *Guestfs) Part_get_parttype(device string) (string, *GuestfsError)
part_get_parttype : get the partition table type
func (*Guestfs) Part_init ¶
func (g *Guestfs) Part_init(device string, parttype string) *GuestfsError
part_init : create an empty partition table
func (*Guestfs) Part_list ¶
func (g *Guestfs) Part_list(device string) (*[]Partition, *GuestfsError)
part_list : list partitions on a device
func (*Guestfs) Part_set_bootable ¶
func (g *Guestfs) Part_set_bootable(device string, partnum int, bootable bool) *GuestfsError
part_set_bootable : make a partition bootable
func (*Guestfs) Part_set_gpt_type ¶
func (g *Guestfs) Part_set_gpt_type(device string, partnum int, guid string) *GuestfsError
part_set_gpt_type : set the type GUID of a GPT partition
func (*Guestfs) Part_set_mbr_id ¶
func (g *Guestfs) Part_set_mbr_id(device string, partnum int, idbyte int) *GuestfsError
part_set_mbr_id : set the MBR type byte (ID byte) of a partition
func (*Guestfs) Part_set_name ¶
func (g *Guestfs) Part_set_name(device string, partnum int, name string) *GuestfsError
part_set_name : set partition name
func (*Guestfs) Part_to_dev ¶
func (g *Guestfs) Part_to_dev(partition string) (string, *GuestfsError)
part_to_dev : convert partition name to device name
func (*Guestfs) Part_to_partnum ¶
func (g *Guestfs) Part_to_partnum(partition string) (int, *GuestfsError)
part_to_partnum : convert partition name to partition number
func (*Guestfs) Ping_daemon ¶
func (g *Guestfs) Ping_daemon() *GuestfsError
ping_daemon : ping the guest daemon
func (*Guestfs) Pread_device ¶
pread_device : read part of a device
func (*Guestfs) Pvchange_uuid ¶
func (g *Guestfs) Pvchange_uuid(device string) *GuestfsError
pvchange_uuid : generate a new random UUID for a physical volume
func (*Guestfs) Pvchange_uuid_all ¶
func (g *Guestfs) Pvchange_uuid_all() *GuestfsError
pvchange_uuid_all : generate new random UUIDs for all physical volumes
func (*Guestfs) Pvcreate ¶
func (g *Guestfs) Pvcreate(device string) *GuestfsError
pvcreate : create an LVM physical volume
func (*Guestfs) Pvremove ¶
func (g *Guestfs) Pvremove(device string) *GuestfsError
pvremove : remove an LVM physical volume
func (*Guestfs) Pvresize ¶
func (g *Guestfs) Pvresize(device string) *GuestfsError
pvresize : resize an LVM physical volume
func (*Guestfs) Pvresize_size ¶
func (g *Guestfs) Pvresize_size(device string, size int64) *GuestfsError
pvresize_size : resize an LVM physical volume (with size)
func (*Guestfs) Pvs ¶
func (g *Guestfs) Pvs() ([]string, *GuestfsError)
pvs : list the LVM physical volumes (PVs)
func (*Guestfs) Pvs_full ¶
func (g *Guestfs) Pvs_full() (*[]PV, *GuestfsError)
pvs_full : list the LVM physical volumes (PVs)
func (*Guestfs) Pvuuid ¶
func (g *Guestfs) Pvuuid(device string) (string, *GuestfsError)
pvuuid : get the UUID of a physical volume
func (*Guestfs) Pwrite_device ¶
pwrite_device : write to part of a device
func (*Guestfs) Read_file ¶
func (g *Guestfs) Read_file(path string) ([]byte, *GuestfsError)
read_file : read a file
func (*Guestfs) Read_lines ¶
func (g *Guestfs) Read_lines(path string) ([]string, *GuestfsError)
read_lines : read file as lines
func (*Guestfs) Readdir ¶
func (g *Guestfs) Readdir(dir string) (*[]Dirent, *GuestfsError)
readdir : read directories entries
func (*Guestfs) Readlink ¶
func (g *Guestfs) Readlink(path string) (string, *GuestfsError)
readlink : read the target of a symbolic link
func (*Guestfs) Readlinklist ¶
func (g *Guestfs) Readlinklist(path string, names []string) ([]string, *GuestfsError)
readlinklist : readlink on multiple files
func (*Guestfs) Realpath ¶
func (g *Guestfs) Realpath(path string) (string, *GuestfsError)
realpath : canonicalized absolute pathname
func (*Guestfs) Remount ¶
func (g *Guestfs) Remount(mountpoint string, optargs *OptargsRemount) *GuestfsError
remount : remount a filesystem with different options
func (*Guestfs) Remove_drive ¶
func (g *Guestfs) Remove_drive(label string) *GuestfsError
remove_drive : remove a disk image
func (*Guestfs) Removexattr ¶
func (g *Guestfs) Removexattr(xattr string, path string) *GuestfsError
removexattr : remove extended attribute of a file or directory
func (*Guestfs) Rename ¶
func (g *Guestfs) Rename(oldpath string, newpath string) *GuestfsError
rename : rename a file on the same filesystem
func (*Guestfs) Resize2fs ¶
func (g *Guestfs) Resize2fs(device string) *GuestfsError
resize2fs : resize an ext2, ext3 or ext4 filesystem
func (*Guestfs) Resize2fs_M ¶
func (g *Guestfs) Resize2fs_M(device string) *GuestfsError
resize2fs_M : resize an ext2, ext3 or ext4 filesystem to the minimum size
func (*Guestfs) Resize2fs_size ¶
func (g *Guestfs) Resize2fs_size(device string, size int64) *GuestfsError
resize2fs_size : resize an ext2, ext3 or ext4 filesystem (with size)
func (*Guestfs) Rm_f ¶
func (g *Guestfs) Rm_f(path string) *GuestfsError
rm_f : remove a file ignoring errors
func (*Guestfs) Rm_rf ¶
func (g *Guestfs) Rm_rf(path string) *GuestfsError
rm_rf : remove a file or directory recursively
func (*Guestfs) Rmdir ¶
func (g *Guestfs) Rmdir(path string) *GuestfsError
rmdir : remove a directory
func (*Guestfs) Rmmountpoint ¶
func (g *Guestfs) Rmmountpoint(exemptpath string) *GuestfsError
rmmountpoint : remove a mountpoint
func (*Guestfs) Rsync ¶
func (g *Guestfs) Rsync(src string, dest string, optargs *OptargsRsync) *GuestfsError
rsync : synchronize the contents of two directories
func (*Guestfs) Rsync_in ¶
func (g *Guestfs) Rsync_in(remote string, dest string, optargs *OptargsRsync_in) *GuestfsError
rsync_in : synchronize host or remote filesystem with filesystem
func (*Guestfs) Rsync_out ¶
func (g *Guestfs) Rsync_out(src string, remote string, optargs *OptargsRsync_out) *GuestfsError
rsync_out : synchronize filesystem with host or remote filesystem
func (*Guestfs) Scrub_device ¶
func (g *Guestfs) Scrub_device(device string) *GuestfsError
scrub_device : scrub (securely wipe) a device
func (*Guestfs) Scrub_file ¶
func (g *Guestfs) Scrub_file(file string) *GuestfsError
scrub_file : scrub (securely wipe) a file
func (*Guestfs) Scrub_freespace ¶
func (g *Guestfs) Scrub_freespace(dir string) *GuestfsError
scrub_freespace : scrub (securely wipe) free space
func (*Guestfs) Set_append ¶
func (g *Guestfs) Set_append(append *string) *GuestfsError
set_append : add options to kernel command line
func (*Guestfs) Set_attach_method ¶
func (g *Guestfs) Set_attach_method(backend string) *GuestfsError
set_attach_method : set the backend
func (*Guestfs) Set_autosync ¶
func (g *Guestfs) Set_autosync(autosync bool) *GuestfsError
set_autosync : set autosync mode
func (*Guestfs) Set_backend ¶
func (g *Guestfs) Set_backend(backend string) *GuestfsError
set_backend : set the backend
func (*Guestfs) Set_cachedir ¶
func (g *Guestfs) Set_cachedir(cachedir *string) *GuestfsError
set_cachedir : set the appliance cache directory
func (*Guestfs) Set_direct ¶
func (g *Guestfs) Set_direct(direct bool) *GuestfsError
set_direct : enable or disable direct appliance mode
func (*Guestfs) Set_e2attrs ¶
func (g *Guestfs) Set_e2attrs(file string, attrs string, optargs *OptargsSet_e2attrs) *GuestfsError
set_e2attrs : set ext2 file attributes of a file
func (*Guestfs) Set_e2generation ¶
func (g *Guestfs) Set_e2generation(file string, generation int64) *GuestfsError
set_e2generation : set ext2 file generation of a file
func (*Guestfs) Set_e2label ¶
func (g *Guestfs) Set_e2label(device string, label string) *GuestfsError
set_e2label : set the ext2/3/4 filesystem label
func (*Guestfs) Set_e2uuid ¶
func (g *Guestfs) Set_e2uuid(device string, uuid string) *GuestfsError
set_e2uuid : set the ext2/3/4 filesystem UUID
func (*Guestfs) Set_hv ¶
func (g *Guestfs) Set_hv(hv string) *GuestfsError
set_hv : set the hypervisor binary
func (*Guestfs) Set_label ¶
func (g *Guestfs) Set_label(mountable string, label string) *GuestfsError
set_label : set filesystem label
func (*Guestfs) Set_libvirt_requested_credential ¶
func (g *Guestfs) Set_libvirt_requested_credential(index int, cred []byte) *GuestfsError
set_libvirt_requested_credential : pass requested credential back to libvirt
func (*Guestfs) Set_libvirt_supported_credentials ¶
func (g *Guestfs) Set_libvirt_supported_credentials(creds []string) *GuestfsError
set_libvirt_supported_credentials : set libvirt credentials supported by calling program
func (*Guestfs) Set_memsize ¶
func (g *Guestfs) Set_memsize(memsize int) *GuestfsError
set_memsize : set memory allocated to the hypervisor
func (*Guestfs) Set_network ¶
func (g *Guestfs) Set_network(network bool) *GuestfsError
set_network : set enable network flag
func (*Guestfs) Set_path ¶
func (g *Guestfs) Set_path(searchpath *string) *GuestfsError
set_path : set the search path
func (*Guestfs) Set_pgroup ¶
func (g *Guestfs) Set_pgroup(pgroup bool) *GuestfsError
set_pgroup : set process group flag
func (*Guestfs) Set_program ¶
func (g *Guestfs) Set_program(program string) *GuestfsError
set_program : set the program name
func (*Guestfs) Set_qemu ¶
func (g *Guestfs) Set_qemu(hv *string) *GuestfsError
set_qemu : set the hypervisor binary (usually qemu)
func (*Guestfs) Set_recovery_proc ¶
func (g *Guestfs) Set_recovery_proc(recoveryproc bool) *GuestfsError
set_recovery_proc : enable or disable the recovery process
func (*Guestfs) Set_selinux ¶
func (g *Guestfs) Set_selinux(selinux bool) *GuestfsError
set_selinux : set SELinux enabled or disabled at appliance boot
func (*Guestfs) Set_smp ¶
func (g *Guestfs) Set_smp(smp int) *GuestfsError
set_smp : set number of virtual CPUs in appliance
func (*Guestfs) Set_tmpdir ¶
func (g *Guestfs) Set_tmpdir(tmpdir *string) *GuestfsError
set_tmpdir : set the temporary directory
func (*Guestfs) Set_trace ¶
func (g *Guestfs) Set_trace(trace bool) *GuestfsError
set_trace : enable or disable command traces
func (*Guestfs) Set_uuid ¶
func (g *Guestfs) Set_uuid(device string, uuid string) *GuestfsError
set_uuid : set the filesystem UUID
func (*Guestfs) Set_verbose ¶
func (g *Guestfs) Set_verbose(verbose bool) *GuestfsError
set_verbose : set verbose mode
func (*Guestfs) Setcon ¶
func (g *Guestfs) Setcon(context string) *GuestfsError
setcon : set SELinux security context
func (*Guestfs) Sfdisk ¶
func (g *Guestfs) Sfdisk(device string, cyls int, heads int, sectors int, lines []string) *GuestfsError
sfdisk : create partitions on a block device
func (*Guestfs) SfdiskM ¶
func (g *Guestfs) SfdiskM(device string, lines []string) *GuestfsError
sfdiskM : create partitions on a block device
func (*Guestfs) Sfdisk_N ¶
func (g *Guestfs) Sfdisk_N(device string, partnum int, cyls int, heads int, sectors int, line string) *GuestfsError
sfdisk_N : modify a single partition on a block device
func (*Guestfs) Sfdisk_disk_geometry ¶
func (g *Guestfs) Sfdisk_disk_geometry(device string) (string, *GuestfsError)
sfdisk_disk_geometry : display the disk geometry from the partition table
func (*Guestfs) Sfdisk_kernel_geometry ¶
func (g *Guestfs) Sfdisk_kernel_geometry(device string) (string, *GuestfsError)
sfdisk_kernel_geometry : display the kernel geometry
func (*Guestfs) Sfdisk_l ¶
func (g *Guestfs) Sfdisk_l(device string) (string, *GuestfsError)
sfdisk_l : display the partition table
func (*Guestfs) Sh ¶
func (g *Guestfs) Sh(command string) (string, *GuestfsError)
sh : run a command via the shell
func (*Guestfs) Sh_lines ¶
func (g *Guestfs) Sh_lines(command string) ([]string, *GuestfsError)
sh_lines : run a command via the shell returning lines
func (*Guestfs) Shutdown ¶
func (g *Guestfs) Shutdown() *GuestfsError
shutdown : shutdown the hypervisor
func (*Guestfs) Sleep ¶
func (g *Guestfs) Sleep(secs int) *GuestfsError
sleep : sleep for some seconds
func (*Guestfs) Stat ¶
func (g *Guestfs) Stat(path string) (*Stat, *GuestfsError)
stat : get file information
func (*Guestfs) Statvfs ¶
func (g *Guestfs) Statvfs(path string) (*StatVFS, *GuestfsError)
statvfs : get file system statistics
func (*Guestfs) Strings ¶
func (g *Guestfs) Strings(path string) ([]string, *GuestfsError)
strings : print the printable strings in a file
func (*Guestfs) Strings_e ¶
func (g *Guestfs) Strings_e(encoding string, path string) ([]string, *GuestfsError)
strings_e : print the printable strings in a file
func (*Guestfs) Swapoff_device ¶
func (g *Guestfs) Swapoff_device(device string) *GuestfsError
swapoff_device : disable swap on device
func (*Guestfs) Swapoff_file ¶
func (g *Guestfs) Swapoff_file(file string) *GuestfsError
swapoff_file : disable swap on file
func (*Guestfs) Swapoff_label ¶
func (g *Guestfs) Swapoff_label(label string) *GuestfsError
swapoff_label : disable swap on labeled swap partition
func (*Guestfs) Swapoff_uuid ¶
func (g *Guestfs) Swapoff_uuid(uuid string) *GuestfsError
swapoff_uuid : disable swap on swap partition by UUID
func (*Guestfs) Swapon_device ¶
func (g *Guestfs) Swapon_device(device string) *GuestfsError
swapon_device : enable swap on device
func (*Guestfs) Swapon_file ¶
func (g *Guestfs) Swapon_file(file string) *GuestfsError
swapon_file : enable swap on file
func (*Guestfs) Swapon_label ¶
func (g *Guestfs) Swapon_label(label string) *GuestfsError
swapon_label : enable swap on labeled swap partition
func (*Guestfs) Swapon_uuid ¶
func (g *Guestfs) Swapon_uuid(uuid string) *GuestfsError
swapon_uuid : enable swap on swap partition by UUID
func (*Guestfs) Sync ¶
func (g *Guestfs) Sync() *GuestfsError
sync : sync disks, writes are flushed through to the disk image
func (*Guestfs) Syslinux ¶
func (g *Guestfs) Syslinux(device string, optargs *OptargsSyslinux) *GuestfsError
syslinux : install the SYSLINUX bootloader
func (*Guestfs) Tail ¶
func (g *Guestfs) Tail(path string) ([]string, *GuestfsError)
tail : return last 10 lines of a file
func (*Guestfs) Tail_n ¶
func (g *Guestfs) Tail_n(nrlines int, path string) ([]string, *GuestfsError)
tail_n : return last N lines of a file
func (*Guestfs) Tar_in ¶
func (g *Guestfs) Tar_in(tarfile string, directory string, optargs *OptargsTar_in) *GuestfsError
tar_in : unpack tarfile to directory
func (*Guestfs) Tar_out ¶
func (g *Guestfs) Tar_out(directory string, tarfile string, optargs *OptargsTar_out) *GuestfsError
tar_out : pack directory into tarfile
func (*Guestfs) Tgz_in ¶
func (g *Guestfs) Tgz_in(tarball string, directory string) *GuestfsError
tgz_in : unpack compressed tarball to directory
func (*Guestfs) Tgz_out ¶
func (g *Guestfs) Tgz_out(directory string, tarball string) *GuestfsError
tgz_out : pack directory into compressed tarball
func (*Guestfs) Touch ¶
func (g *Guestfs) Touch(path string) *GuestfsError
touch : update file timestamps or create a new file
func (*Guestfs) Truncate ¶
func (g *Guestfs) Truncate(path string) *GuestfsError
truncate : truncate a file to zero size
func (*Guestfs) Truncate_size ¶
func (g *Guestfs) Truncate_size(path string, size int64) *GuestfsError
truncate_size : truncate a file to a particular size
func (*Guestfs) Tune2fs ¶
func (g *Guestfs) Tune2fs(device string, optargs *OptargsTune2fs) *GuestfsError
tune2fs : adjust ext2/ext3/ext4 filesystem parameters
func (*Guestfs) Tune2fs_l ¶
func (g *Guestfs) Tune2fs_l(device string) (map[string]string, *GuestfsError)
tune2fs_l : get ext2/ext3/ext4 superblock details
func (*Guestfs) Txz_in ¶
func (g *Guestfs) Txz_in(tarball string, directory string) *GuestfsError
txz_in : unpack compressed tarball to directory
func (*Guestfs) Txz_out ¶
func (g *Guestfs) Txz_out(directory string, tarball string) *GuestfsError
txz_out : pack directory into compressed tarball
func (*Guestfs) Umask ¶
func (g *Guestfs) Umask(mask int) (int, *GuestfsError)
umask : set file mode creation mask (umask)
func (*Guestfs) Umount ¶
func (g *Guestfs) Umount(pathordevice string, optargs *OptargsUmount) *GuestfsError
umount : unmount a filesystem
func (*Guestfs) Umount_all ¶
func (g *Guestfs) Umount_all() *GuestfsError
umount_all : unmount all filesystems
func (*Guestfs) Umount_local ¶
func (g *Guestfs) Umount_local(optargs *OptargsUmount_local) *GuestfsError
umount_local : unmount a locally mounted filesystem
func (*Guestfs) Upload ¶
func (g *Guestfs) Upload(filename string, remotefilename string) *GuestfsError
upload : upload a file from the local machine
func (*Guestfs) Upload_offset ¶
func (g *Guestfs) Upload_offset(filename string, remotefilename string, offset int64) *GuestfsError
upload_offset : upload a file from the local machine with offset
func (*Guestfs) User_cancel ¶
func (g *Guestfs) User_cancel() *GuestfsError
user_cancel : cancel the current upload or download operation
func (*Guestfs) Utimens ¶
func (g *Guestfs) Utimens(path string, atsecs int64, atnsecs int64, mtsecs int64, mtnsecs int64) *GuestfsError
utimens : set timestamp of a file with nanosecond precision
func (*Guestfs) Utsname ¶
func (g *Guestfs) Utsname() (*UTSName, *GuestfsError)
utsname : appliance kernel version
func (*Guestfs) Version ¶
func (g *Guestfs) Version() (*Version, *GuestfsError)
version : get the library version number
func (*Guestfs) Vfs_label ¶
func (g *Guestfs) Vfs_label(mountable string) (string, *GuestfsError)
vfs_label : get the filesystem label
func (*Guestfs) Vfs_type ¶
func (g *Guestfs) Vfs_type(mountable string) (string, *GuestfsError)
vfs_type : get the Linux VFS type corresponding to a mounted device
func (*Guestfs) Vfs_uuid ¶
func (g *Guestfs) Vfs_uuid(mountable string) (string, *GuestfsError)
vfs_uuid : get the filesystem UUID
func (*Guestfs) Vg_activate ¶
func (g *Guestfs) Vg_activate(activate bool, volgroups []string) *GuestfsError
vg_activate : activate or deactivate some volume groups
func (*Guestfs) Vg_activate_all ¶
func (g *Guestfs) Vg_activate_all(activate bool) *GuestfsError
vg_activate_all : activate or deactivate all volume groups
func (*Guestfs) Vgchange_uuid ¶
func (g *Guestfs) Vgchange_uuid(vg string) *GuestfsError
vgchange_uuid : generate a new random UUID for a volume group
func (*Guestfs) Vgchange_uuid_all ¶
func (g *Guestfs) Vgchange_uuid_all() *GuestfsError
vgchange_uuid_all : generate new random UUIDs for all volume groups
func (*Guestfs) Vgcreate ¶
func (g *Guestfs) Vgcreate(volgroup string, physvols []string) *GuestfsError
vgcreate : create an LVM volume group
func (*Guestfs) Vglvuuids ¶
func (g *Guestfs) Vglvuuids(vgname string) ([]string, *GuestfsError)
vglvuuids : get the LV UUIDs of all LVs in the volume group
func (*Guestfs) Vgmeta ¶
func (g *Guestfs) Vgmeta(vgname string) ([]byte, *GuestfsError)
vgmeta : get volume group metadata
func (*Guestfs) Vgpvuuids ¶
func (g *Guestfs) Vgpvuuids(vgname string) ([]string, *GuestfsError)
vgpvuuids : get the PV UUIDs containing the volume group
func (*Guestfs) Vgremove ¶
func (g *Guestfs) Vgremove(vgname string) *GuestfsError
vgremove : remove an LVM volume group
func (*Guestfs) Vgrename ¶
func (g *Guestfs) Vgrename(volgroup string, newvolgroup string) *GuestfsError
vgrename : rename an LVM volume group
func (*Guestfs) Vgs ¶
func (g *Guestfs) Vgs() ([]string, *GuestfsError)
vgs : list the LVM volume groups (VGs)
func (*Guestfs) Vgs_full ¶
func (g *Guestfs) Vgs_full() (*[]VG, *GuestfsError)
vgs_full : list the LVM volume groups (VGs)
func (*Guestfs) Vgscan ¶
func (g *Guestfs) Vgscan() *GuestfsError
vgscan : rescan for LVM physical volumes, volume groups and logical volumes
func (*Guestfs) Vguuid ¶
func (g *Guestfs) Vguuid(vgname string) (string, *GuestfsError)
vguuid : get the UUID of a volume group
func (*Guestfs) Wait_ready ¶
func (g *Guestfs) Wait_ready() *GuestfsError
wait_ready : wait until the hypervisor launches (no op)
func (*Guestfs) Wc_c ¶
func (g *Guestfs) Wc_c(path string) (int, *GuestfsError)
wc_c : count characters in a file
func (*Guestfs) Wc_l ¶
func (g *Guestfs) Wc_l(path string) (int, *GuestfsError)
wc_l : count lines in a file
func (*Guestfs) Wc_w ¶
func (g *Guestfs) Wc_w(path string) (int, *GuestfsError)
wc_w : count words in a file
func (*Guestfs) Wipefs ¶
func (g *Guestfs) Wipefs(device string) *GuestfsError
wipefs : wipe a filesystem signature from a device
func (*Guestfs) Write ¶
func (g *Guestfs) Write(path string, content []byte) *GuestfsError
write : create a new file
func (*Guestfs) Write_append ¶
func (g *Guestfs) Write_append(path string, content []byte) *GuestfsError
write_append : append content to end of file
func (*Guestfs) Write_file ¶
func (g *Guestfs) Write_file(path string, content string, size int) *GuestfsError
write_file : create a file
func (*Guestfs) Xfs_admin ¶
func (g *Guestfs) Xfs_admin(device string, optargs *OptargsXfs_admin) *GuestfsError
xfs_admin : change parameters of an XFS filesystem
func (*Guestfs) Xfs_growfs ¶
func (g *Guestfs) Xfs_growfs(path string, optargs *OptargsXfs_growfs) *GuestfsError
xfs_growfs : expand an existing XFS filesystem
func (*Guestfs) Xfs_info ¶
func (g *Guestfs) Xfs_info(pathordevice string) (*XFSInfo, *GuestfsError)
xfs_info : get geometry of XFS filesystem
func (*Guestfs) Xfs_repair ¶
func (g *Guestfs) Xfs_repair(device string, optargs *OptargsXfs_repair) (int, *GuestfsError)
xfs_repair : repair an XFS filesystem
func (*Guestfs) Zegrep ¶
func (g *Guestfs) Zegrep(regex string, path string) ([]string, *GuestfsError)
zegrep : return lines matching a pattern
func (*Guestfs) Zegrepi ¶
func (g *Guestfs) Zegrepi(regex string, path string) ([]string, *GuestfsError)
zegrepi : return lines matching a pattern
func (*Guestfs) Zero ¶
func (g *Guestfs) Zero(device string) *GuestfsError
zero : write zeroes to the device
func (*Guestfs) Zero_device ¶
func (g *Guestfs) Zero_device(device string) *GuestfsError
zero_device : write zeroes to an entire device
func (*Guestfs) Zero_free_space ¶
func (g *Guestfs) Zero_free_space(directory string) *GuestfsError
zero_free_space : zero free space in a filesystem
func (*Guestfs) Zerofree ¶
func (g *Guestfs) Zerofree(device string) *GuestfsError
zerofree : zero unused inodes and disk blocks on ext2/3 filesystem
func (*Guestfs) Zfgrep ¶
func (g *Guestfs) Zfgrep(pattern string, path string) ([]string, *GuestfsError)
zfgrep : return lines matching a pattern
func (*Guestfs) Zfgrepi ¶
func (g *Guestfs) Zfgrepi(pattern string, path string) ([]string, *GuestfsError)
zfgrepi : return lines matching a pattern
func (*Guestfs) Zfile ¶
func (g *Guestfs) Zfile(meth string, path string) (string, *GuestfsError)
zfile : determine file type inside a compressed file
type GuestfsError ¶
type GuestfsError struct { Op string // operation which failed Errmsg string // string (guestfs_last_error) Errno syscall.Errno // errno (guestfs_last_errno) }
Apart from Create() and Create_flags() which return a (handle, error) * pair, the other functions return a ([result,] GuestfsError) where * GuestfsError is defined here.
func (*GuestfsError) String ¶
func (e *GuestfsError) String() string
type HivexValue ¶
type HivexValue struct {
// contains filtered or unexported fields
}
type INotifyEvent ¶
type INotifyEvent struct {
// contains filtered or unexported fields
}
type OptargsAdd_domain ¶
type OptargsAdd_domain struct { /* Libvirturi field is ignored unless Libvirturi_is_set == true */ Libvirturi_is_set bool Libvirturi string /* Readonly field is ignored unless Readonly_is_set == true */ Readonly_is_set bool Readonly bool /* Iface field is ignored unless Iface_is_set == true */ Iface_is_set bool Iface string /* Live field is ignored unless Live_is_set == true */ Live_is_set bool Live bool /* Allowuuid field is ignored unless Allowuuid_is_set == true */ Allowuuid_is_set bool Allowuuid bool /* Readonlydisk field is ignored unless Readonlydisk_is_set == true */ Readonlydisk_is_set bool Readonlydisk string }
Struct carrying optional arguments for Add_domain
type OptargsAdd_drive ¶
type OptargsAdd_drive struct { /* Readonly field is ignored unless Readonly_is_set == true */ Readonly_is_set bool Readonly bool /* Format field is ignored unless Format_is_set == true */ Format_is_set bool Format string /* Iface field is ignored unless Iface_is_set == true */ Iface_is_set bool Iface string /* Name field is ignored unless Name_is_set == true */ Name_is_set bool Name string /* Label field is ignored unless Label_is_set == true */ Label_is_set bool Label string /* Protocol field is ignored unless Protocol_is_set == true */ Protocol_is_set bool Protocol string /* Server field is ignored unless Server_is_set == true */ Server_is_set bool Server []string /* Username field is ignored unless Username_is_set == true */ Username_is_set bool Username string /* Secret field is ignored unless Secret_is_set == true */ Secret_is_set bool Secret string /* Cachemode field is ignored unless Cachemode_is_set == true */ Cachemode_is_set bool Cachemode string }
Struct carrying optional arguments for Add_drive
type OptargsAdd_drive_scratch ¶
type OptargsAdd_drive_scratch struct { /* Name field is ignored unless Name_is_set == true */ Name_is_set bool Name string /* Label field is ignored unless Label_is_set == true */ Label_is_set bool Label string }
Struct carrying optional arguments for Add_drive_scratch
type OptargsBtrfs_filesystem_resize ¶
type OptargsBtrfs_filesystem_resize struct { /* Size field is ignored unless Size_is_set == true */ Size_is_set bool Size int64 }
Struct carrying optional arguments for Btrfs_filesystem_resize
type OptargsBtrfs_fsck ¶
type OptargsBtrfs_fsck struct { /* Superblock field is ignored unless Superblock_is_set == true */ Superblock_is_set bool Superblock int64 /* Repair field is ignored unless Repair_is_set == true */ Repair_is_set bool Repair bool }
Struct carrying optional arguments for Btrfs_fsck
type OptargsCompress_device_out ¶
type OptargsCompress_device_out struct { /* Level field is ignored unless Level_is_set == true */ Level_is_set bool Level int }
Struct carrying optional arguments for Compress_device_out
type OptargsCompress_out ¶
type OptargsCompress_out struct { /* Level field is ignored unless Level_is_set == true */ Level_is_set bool Level int }
Struct carrying optional arguments for Compress_out
type OptargsCopy_device_to_device ¶
type OptargsCopy_device_to_device struct { /* Srcoffset field is ignored unless Srcoffset_is_set == true */ Srcoffset_is_set bool Srcoffset int64 /* Destoffset field is ignored unless Destoffset_is_set == true */ Destoffset_is_set bool Destoffset int64 /* Size field is ignored unless Size_is_set == true */ Size_is_set bool Size int64 /* Sparse field is ignored unless Sparse_is_set == true */ Sparse_is_set bool Sparse bool }
Struct carrying optional arguments for Copy_device_to_device
type OptargsCopy_device_to_file ¶
type OptargsCopy_device_to_file struct { /* Srcoffset field is ignored unless Srcoffset_is_set == true */ Srcoffset_is_set bool Srcoffset int64 /* Destoffset field is ignored unless Destoffset_is_set == true */ Destoffset_is_set bool Destoffset int64 /* Size field is ignored unless Size_is_set == true */ Size_is_set bool Size int64 /* Sparse field is ignored unless Sparse_is_set == true */ Sparse_is_set bool Sparse bool }
Struct carrying optional arguments for Copy_device_to_file
type OptargsCopy_file_to_device ¶
type OptargsCopy_file_to_device struct { /* Srcoffset field is ignored unless Srcoffset_is_set == true */ Srcoffset_is_set bool Srcoffset int64 /* Destoffset field is ignored unless Destoffset_is_set == true */ Destoffset_is_set bool Destoffset int64 /* Size field is ignored unless Size_is_set == true */ Size_is_set bool Size int64 /* Sparse field is ignored unless Sparse_is_set == true */ Sparse_is_set bool Sparse bool }
Struct carrying optional arguments for Copy_file_to_device
type OptargsCopy_file_to_file ¶
type OptargsCopy_file_to_file struct { /* Srcoffset field is ignored unless Srcoffset_is_set == true */ Srcoffset_is_set bool Srcoffset int64 /* Destoffset field is ignored unless Destoffset_is_set == true */ Destoffset_is_set bool Destoffset int64 /* Size field is ignored unless Size_is_set == true */ Size_is_set bool Size int64 /* Sparse field is ignored unless Sparse_is_set == true */ Sparse_is_set bool Sparse bool }
Struct carrying optional arguments for Copy_file_to_file
type OptargsE2fsck ¶
type OptargsE2fsck struct { /* Correct field is ignored unless Correct_is_set == true */ Correct_is_set bool Correct bool /* Forceall field is ignored unless Forceall_is_set == true */ Forceall_is_set bool Forceall bool }
Struct carrying optional arguments for E2fsck
type OptargsFstrim ¶
type OptargsFstrim struct { /* Offset field is ignored unless Offset_is_set == true */ Offset_is_set bool Offset int64 /* Length field is ignored unless Length_is_set == true */ Length_is_set bool Length int64 /* Minimumfreeextent field is ignored unless Minimumfreeextent_is_set == true */ Minimumfreeextent_is_set bool Minimumfreeextent int64 }
Struct carrying optional arguments for Fstrim
type OptargsGrep ¶
type OptargsGrep struct { /* Extended field is ignored unless Extended_is_set == true */ Extended_is_set bool Extended bool /* Fixed field is ignored unless Fixed_is_set == true */ Fixed_is_set bool Fixed bool /* Insensitive field is ignored unless Insensitive_is_set == true */ Insensitive_is_set bool Insensitive bool /* Compressed field is ignored unless Compressed_is_set == true */ Compressed_is_set bool Compressed bool }
Struct carrying optional arguments for Grep
type OptargsHivex_open ¶
type OptargsHivex_open struct { /* Verbose field is ignored unless Verbose_is_set == true */ Verbose_is_set bool Verbose bool /* Debug field is ignored unless Debug_is_set == true */ Debug_is_set bool Debug bool /* Write field is ignored unless Write_is_set == true */ Write_is_set bool Write bool }
Struct carrying optional arguments for Hivex_open
type OptargsInspect_get_icon ¶
type OptargsInspect_get_icon struct { /* Favicon field is ignored unless Favicon_is_set == true */ Favicon_is_set bool Favicon bool /* Highquality field is ignored unless Highquality_is_set == true */ Highquality_is_set bool Highquality bool }
Struct carrying optional arguments for Inspect_get_icon
type OptargsInternal_test ¶
type OptargsInternal_test struct { /* Obool field is ignored unless Obool_is_set == true */ Obool_is_set bool Obool bool /* Oint field is ignored unless Oint_is_set == true */ Oint_is_set bool Oint int /* Oint64 field is ignored unless Oint64_is_set == true */ Oint64_is_set bool Oint64 int64 /* Ostring field is ignored unless Ostring_is_set == true */ Ostring_is_set bool Ostring string /* Ostringlist field is ignored unless Ostringlist_is_set == true */ Ostringlist_is_set bool Ostringlist []string }
Struct carrying optional arguments for Internal_test
type OptargsInternal_test_63_optargs ¶
type OptargsInternal_test_63_optargs struct { /* Opt1 field is ignored unless Opt1_is_set == true */ Opt1_is_set bool Opt1 int /* Opt2 field is ignored unless Opt2_is_set == true */ Opt2_is_set bool Opt2 int /* Opt3 field is ignored unless Opt3_is_set == true */ Opt3_is_set bool Opt3 int /* Opt4 field is ignored unless Opt4_is_set == true */ Opt4_is_set bool Opt4 int /* Opt5 field is ignored unless Opt5_is_set == true */ Opt5_is_set bool Opt5 int /* Opt6 field is ignored unless Opt6_is_set == true */ Opt6_is_set bool Opt6 int /* Opt7 field is ignored unless Opt7_is_set == true */ Opt7_is_set bool Opt7 int /* Opt8 field is ignored unless Opt8_is_set == true */ Opt8_is_set bool Opt8 int /* Opt9 field is ignored unless Opt9_is_set == true */ Opt9_is_set bool Opt9 int /* Opt10 field is ignored unless Opt10_is_set == true */ Opt10_is_set bool Opt10 int /* Opt11 field is ignored unless Opt11_is_set == true */ Opt11_is_set bool Opt11 int /* Opt12 field is ignored unless Opt12_is_set == true */ Opt12_is_set bool Opt12 int /* Opt13 field is ignored unless Opt13_is_set == true */ Opt13_is_set bool Opt13 int /* Opt14 field is ignored unless Opt14_is_set == true */ Opt14_is_set bool Opt14 int /* Opt15 field is ignored unless Opt15_is_set == true */ Opt15_is_set bool Opt15 int /* Opt16 field is ignored unless Opt16_is_set == true */ Opt16_is_set bool Opt16 int /* Opt17 field is ignored unless Opt17_is_set == true */ Opt17_is_set bool Opt17 int /* Opt18 field is ignored unless Opt18_is_set == true */ Opt18_is_set bool Opt18 int /* Opt19 field is ignored unless Opt19_is_set == true */ Opt19_is_set bool Opt19 int /* Opt20 field is ignored unless Opt20_is_set == true */ Opt20_is_set bool Opt20 int /* Opt21 field is ignored unless Opt21_is_set == true */ Opt21_is_set bool Opt21 int /* Opt22 field is ignored unless Opt22_is_set == true */ Opt22_is_set bool Opt22 int /* Opt23 field is ignored unless Opt23_is_set == true */ Opt23_is_set bool Opt23 int /* Opt24 field is ignored unless Opt24_is_set == true */ Opt24_is_set bool Opt24 int /* Opt25 field is ignored unless Opt25_is_set == true */ Opt25_is_set bool Opt25 int /* Opt26 field is ignored unless Opt26_is_set == true */ Opt26_is_set bool Opt26 int /* Opt27 field is ignored unless Opt27_is_set == true */ Opt27_is_set bool Opt27 int /* Opt28 field is ignored unless Opt28_is_set == true */ Opt28_is_set bool Opt28 int /* Opt29 field is ignored unless Opt29_is_set == true */ Opt29_is_set bool Opt29 int /* Opt30 field is ignored unless Opt30_is_set == true */ Opt30_is_set bool Opt30 int /* Opt31 field is ignored unless Opt31_is_set == true */ Opt31_is_set bool Opt31 int /* Opt32 field is ignored unless Opt32_is_set == true */ Opt32_is_set bool Opt32 int /* Opt33 field is ignored unless Opt33_is_set == true */ Opt33_is_set bool Opt33 int /* Opt34 field is ignored unless Opt34_is_set == true */ Opt34_is_set bool Opt34 int /* Opt35 field is ignored unless Opt35_is_set == true */ Opt35_is_set bool Opt35 int /* Opt36 field is ignored unless Opt36_is_set == true */ Opt36_is_set bool Opt36 int /* Opt37 field is ignored unless Opt37_is_set == true */ Opt37_is_set bool Opt37 int /* Opt38 field is ignored unless Opt38_is_set == true */ Opt38_is_set bool Opt38 int /* Opt39 field is ignored unless Opt39_is_set == true */ Opt39_is_set bool Opt39 int /* Opt40 field is ignored unless Opt40_is_set == true */ Opt40_is_set bool Opt40 int /* Opt41 field is ignored unless Opt41_is_set == true */ Opt41_is_set bool Opt41 int /* Opt42 field is ignored unless Opt42_is_set == true */ Opt42_is_set bool Opt42 int /* Opt43 field is ignored unless Opt43_is_set == true */ Opt43_is_set bool Opt43 int /* Opt44 field is ignored unless Opt44_is_set == true */ Opt44_is_set bool Opt44 int /* Opt45 field is ignored unless Opt45_is_set == true */ Opt45_is_set bool Opt45 int /* Opt46 field is ignored unless Opt46_is_set == true */ Opt46_is_set bool Opt46 int /* Opt47 field is ignored unless Opt47_is_set == true */ Opt47_is_set bool Opt47 int /* Opt48 field is ignored unless Opt48_is_set == true */ Opt48_is_set bool Opt48 int /* Opt49 field is ignored unless Opt49_is_set == true */ Opt49_is_set bool Opt49 int /* Opt50 field is ignored unless Opt50_is_set == true */ Opt50_is_set bool Opt50 int /* Opt51 field is ignored unless Opt51_is_set == true */ Opt51_is_set bool Opt51 int /* Opt52 field is ignored unless Opt52_is_set == true */ Opt52_is_set bool Opt52 int /* Opt53 field is ignored unless Opt53_is_set == true */ Opt53_is_set bool Opt53 int /* Opt54 field is ignored unless Opt54_is_set == true */ Opt54_is_set bool Opt54 int /* Opt55 field is ignored unless Opt55_is_set == true */ Opt55_is_set bool Opt55 int /* Opt56 field is ignored unless Opt56_is_set == true */ Opt56_is_set bool Opt56 int /* Opt57 field is ignored unless Opt57_is_set == true */ Opt57_is_set bool Opt57 int /* Opt58 field is ignored unless Opt58_is_set == true */ Opt58_is_set bool Opt58 int /* Opt59 field is ignored unless Opt59_is_set == true */ Opt59_is_set bool Opt59 int /* Opt60 field is ignored unless Opt60_is_set == true */ Opt60_is_set bool Opt60 int /* Opt61 field is ignored unless Opt61_is_set == true */ Opt61_is_set bool Opt61 int /* Opt62 field is ignored unless Opt62_is_set == true */ Opt62_is_set bool Opt62 int /* Opt63 field is ignored unless Opt63_is_set == true */ Opt63_is_set bool Opt63 int }
Struct carrying optional arguments for Internal_test_63_optargs
type OptargsInternal_test_only_optargs ¶
type OptargsInternal_test_only_optargs struct { /* Test field is ignored unless Test_is_set == true */ Test_is_set bool Test int }
Struct carrying optional arguments for Internal_test_only_optargs
type OptargsIs_blockdev ¶
type OptargsIs_blockdev struct { /* Followsymlinks field is ignored unless Followsymlinks_is_set == true */ Followsymlinks_is_set bool Followsymlinks bool }
Struct carrying optional arguments for Is_blockdev
type OptargsIs_chardev ¶
type OptargsIs_chardev struct { /* Followsymlinks field is ignored unless Followsymlinks_is_set == true */ Followsymlinks_is_set bool Followsymlinks bool }
Struct carrying optional arguments for Is_chardev
type OptargsIs_dir ¶
type OptargsIs_dir struct { /* Followsymlinks field is ignored unless Followsymlinks_is_set == true */ Followsymlinks_is_set bool Followsymlinks bool }
Struct carrying optional arguments for Is_dir
type OptargsIs_fifo ¶
type OptargsIs_fifo struct { /* Followsymlinks field is ignored unless Followsymlinks_is_set == true */ Followsymlinks_is_set bool Followsymlinks bool }
Struct carrying optional arguments for Is_fifo
type OptargsIs_file ¶
type OptargsIs_file struct { /* Followsymlinks field is ignored unless Followsymlinks_is_set == true */ Followsymlinks_is_set bool Followsymlinks bool }
Struct carrying optional arguments for Is_file
type OptargsIs_socket ¶
type OptargsIs_socket struct { /* Followsymlinks field is ignored unless Followsymlinks_is_set == true */ Followsymlinks_is_set bool Followsymlinks bool }
Struct carrying optional arguments for Is_socket
type OptargsMd_create ¶
type OptargsMd_create struct { /* Missingbitmap field is ignored unless Missingbitmap_is_set == true */ Missingbitmap_is_set bool Missingbitmap int64 /* Nrdevices field is ignored unless Nrdevices_is_set == true */ Nrdevices_is_set bool Nrdevices int /* Spare field is ignored unless Spare_is_set == true */ Spare_is_set bool Spare int /* Chunk field is ignored unless Chunk_is_set == true */ Chunk_is_set bool Chunk int64 /* Level field is ignored unless Level_is_set == true */ Level_is_set bool Level string }
Struct carrying optional arguments for Md_create
type OptargsMke2fs ¶
type OptargsMke2fs struct { /* Blockscount field is ignored unless Blockscount_is_set == true */ Blockscount_is_set bool Blockscount int64 /* Blocksize field is ignored unless Blocksize_is_set == true */ Blocksize_is_set bool Blocksize int64 /* Fragsize field is ignored unless Fragsize_is_set == true */ Fragsize_is_set bool Fragsize int64 /* Blockspergroup field is ignored unless Blockspergroup_is_set == true */ Blockspergroup_is_set bool Blockspergroup int64 /* Numberofgroups field is ignored unless Numberofgroups_is_set == true */ Numberofgroups_is_set bool Numberofgroups int64 /* Bytesperinode field is ignored unless Bytesperinode_is_set == true */ Bytesperinode_is_set bool Bytesperinode int64 /* Inodesize field is ignored unless Inodesize_is_set == true */ Inodesize_is_set bool Inodesize int64 /* Journalsize field is ignored unless Journalsize_is_set == true */ Journalsize_is_set bool Journalsize int64 /* Numberofinodes field is ignored unless Numberofinodes_is_set == true */ Numberofinodes_is_set bool Numberofinodes int64 /* Stridesize field is ignored unless Stridesize_is_set == true */ Stridesize_is_set bool Stridesize int64 /* Stripewidth field is ignored unless Stripewidth_is_set == true */ Stripewidth_is_set bool Stripewidth int64 /* Maxonlineresize field is ignored unless Maxonlineresize_is_set == true */ Maxonlineresize_is_set bool Maxonlineresize int64 /* Reservedblockspercentage field is ignored unless Reservedblockspercentage_is_set == true */ Reservedblockspercentage_is_set bool Reservedblockspercentage int /* Mmpupdateinterval field is ignored unless Mmpupdateinterval_is_set == true */ Mmpupdateinterval_is_set bool Mmpupdateinterval int /* Journaldevice field is ignored unless Journaldevice_is_set == true */ Journaldevice_is_set bool Journaldevice string /* Label field is ignored unless Label_is_set == true */ Label_is_set bool Label string /* Lastmounteddir field is ignored unless Lastmounteddir_is_set == true */ Lastmounteddir_is_set bool Lastmounteddir string /* Creatoros field is ignored unless Creatoros_is_set == true */ Creatoros_is_set bool Creatoros string /* Fstype field is ignored unless Fstype_is_set == true */ Fstype_is_set bool Fstype string /* Usagetype field is ignored unless Usagetype_is_set == true */ Usagetype_is_set bool Usagetype string /* Uuid field is ignored unless Uuid_is_set == true */ Uuid_is_set bool Uuid string /* Forcecreate field is ignored unless Forcecreate_is_set == true */ Forcecreate_is_set bool Forcecreate bool /* Writesbandgrouponly field is ignored unless Writesbandgrouponly_is_set == true */ Writesbandgrouponly_is_set bool Writesbandgrouponly bool /* Lazyitableinit field is ignored unless Lazyitableinit_is_set == true */ Lazyitableinit_is_set bool Lazyitableinit bool /* Lazyjournalinit field is ignored unless Lazyjournalinit_is_set == true */ Lazyjournalinit_is_set bool Lazyjournalinit bool /* Testfs field is ignored unless Testfs_is_set == true */ Testfs_is_set bool Testfs bool /* Discard field is ignored unless Discard_is_set == true */ Discard_is_set bool Discard bool /* Quotatype field is ignored unless Quotatype_is_set == true */ Quotatype_is_set bool Quotatype bool /* Extent field is ignored unless Extent_is_set == true */ Extent_is_set bool Extent bool /* Filetype field is ignored unless Filetype_is_set == true */ Filetype_is_set bool Filetype bool /* Flexbg field is ignored unless Flexbg_is_set == true */ Flexbg_is_set bool Flexbg bool /* Hasjournal field is ignored unless Hasjournal_is_set == true */ Hasjournal_is_set bool Hasjournal bool /* Journaldev field is ignored unless Journaldev_is_set == true */ Journaldev_is_set bool Journaldev bool /* Largefile field is ignored unless Largefile_is_set == true */ Largefile_is_set bool Largefile bool /* Quota field is ignored unless Quota_is_set == true */ Quota_is_set bool Quota bool /* Resizeinode field is ignored unless Resizeinode_is_set == true */ Resizeinode_is_set bool Resizeinode bool /* Sparsesuper field is ignored unless Sparsesuper_is_set == true */ Sparsesuper_is_set bool Sparsesuper bool /* Uninitbg field is ignored unless Uninitbg_is_set == true */ Uninitbg_is_set bool Uninitbg bool }
Struct carrying optional arguments for Mke2fs
type OptargsMkfs ¶
type OptargsMkfs struct { /* Blocksize field is ignored unless Blocksize_is_set == true */ Blocksize_is_set bool Blocksize int /* Features field is ignored unless Features_is_set == true */ Features_is_set bool Features string /* Inode field is ignored unless Inode_is_set == true */ Inode_is_set bool Inode int /* Sectorsize field is ignored unless Sectorsize_is_set == true */ Sectorsize_is_set bool Sectorsize int }
Struct carrying optional arguments for Mkfs
type OptargsMkfs_btrfs ¶
type OptargsMkfs_btrfs struct { /* Allocstart field is ignored unless Allocstart_is_set == true */ Allocstart_is_set bool Allocstart int64 /* Bytecount field is ignored unless Bytecount_is_set == true */ Bytecount_is_set bool Bytecount int64 /* Datatype field is ignored unless Datatype_is_set == true */ Datatype_is_set bool Datatype string /* Leafsize field is ignored unless Leafsize_is_set == true */ Leafsize_is_set bool Leafsize int /* Label field is ignored unless Label_is_set == true */ Label_is_set bool Label string /* Metadata field is ignored unless Metadata_is_set == true */ Metadata_is_set bool Metadata string /* Nodesize field is ignored unless Nodesize_is_set == true */ Nodesize_is_set bool Nodesize int /* Sectorsize field is ignored unless Sectorsize_is_set == true */ Sectorsize_is_set bool Sectorsize int }
Struct carrying optional arguments for Mkfs_btrfs
type OptargsMkswap ¶
type OptargsMkswap struct { /* Label field is ignored unless Label_is_set == true */ Label_is_set bool Label string /* Uuid field is ignored unless Uuid_is_set == true */ Uuid_is_set bool Uuid string }
Struct carrying optional arguments for Mkswap
type OptargsMktemp ¶
type OptargsMktemp struct { /* Suffix field is ignored unless Suffix_is_set == true */ Suffix_is_set bool Suffix string }
Struct carrying optional arguments for Mktemp
type OptargsMount_9p ¶
type OptargsMount_9p struct { /* Options field is ignored unless Options_is_set == true */ Options_is_set bool Options string }
Struct carrying optional arguments for Mount_9p
type OptargsMount_local ¶
type OptargsMount_local struct { /* Readonly field is ignored unless Readonly_is_set == true */ Readonly_is_set bool Readonly bool /* Options field is ignored unless Options_is_set == true */ Options_is_set bool Options string /* Cachetimeout field is ignored unless Cachetimeout_is_set == true */ Cachetimeout_is_set bool Cachetimeout int /* Debugcalls field is ignored unless Debugcalls_is_set == true */ Debugcalls_is_set bool Debugcalls bool }
Struct carrying optional arguments for Mount_local
type OptargsNtfsclone_out ¶
type OptargsNtfsclone_out struct { /* Metadataonly field is ignored unless Metadataonly_is_set == true */ Metadataonly_is_set bool Metadataonly bool /* Rescue field is ignored unless Rescue_is_set == true */ Rescue_is_set bool Rescue bool /* Ignorefscheck field is ignored unless Ignorefscheck_is_set == true */ Ignorefscheck_is_set bool Ignorefscheck bool /* Preservetimestamps field is ignored unless Preservetimestamps_is_set == true */ Preservetimestamps_is_set bool Preservetimestamps bool /* Force field is ignored unless Force_is_set == true */ Force_is_set bool Force bool }
Struct carrying optional arguments for Ntfsclone_out
type OptargsNtfsfix ¶
type OptargsNtfsfix struct { /* Clearbadsectors field is ignored unless Clearbadsectors_is_set == true */ Clearbadsectors_is_set bool Clearbadsectors bool }
Struct carrying optional arguments for Ntfsfix
type OptargsNtfsresize ¶
type OptargsNtfsresize struct { /* Size field is ignored unless Size_is_set == true */ Size_is_set bool Size int64 /* Force field is ignored unless Force_is_set == true */ Force_is_set bool Force bool }
Struct carrying optional arguments for Ntfsresize
type OptargsRemount ¶
type OptargsRemount struct { /* Rw field is ignored unless Rw_is_set == true */ Rw_is_set bool Rw bool }
Struct carrying optional arguments for Remount
type OptargsRsync ¶
type OptargsRsync struct { /* Archive field is ignored unless Archive_is_set == true */ Archive_is_set bool Archive bool /* Deletedest field is ignored unless Deletedest_is_set == true */ Deletedest_is_set bool Deletedest bool }
Struct carrying optional arguments for Rsync
type OptargsRsync_in ¶
type OptargsRsync_in struct { /* Archive field is ignored unless Archive_is_set == true */ Archive_is_set bool Archive bool /* Deletedest field is ignored unless Deletedest_is_set == true */ Deletedest_is_set bool Deletedest bool }
Struct carrying optional arguments for Rsync_in
type OptargsRsync_out ¶
type OptargsRsync_out struct { /* Archive field is ignored unless Archive_is_set == true */ Archive_is_set bool Archive bool /* Deletedest field is ignored unless Deletedest_is_set == true */ Deletedest_is_set bool Deletedest bool }
Struct carrying optional arguments for Rsync_out
type OptargsSet_e2attrs ¶
type OptargsSet_e2attrs struct { /* Clear field is ignored unless Clear_is_set == true */ Clear_is_set bool Clear bool }
Struct carrying optional arguments for Set_e2attrs
type OptargsSyslinux ¶
type OptargsSyslinux struct { /* Directory field is ignored unless Directory_is_set == true */ Directory_is_set bool Directory string }
Struct carrying optional arguments for Syslinux
type OptargsTar_in ¶
type OptargsTar_in struct { /* Compress field is ignored unless Compress_is_set == true */ Compress_is_set bool Compress string }
Struct carrying optional arguments for Tar_in
type OptargsTar_out ¶
type OptargsTar_out struct { /* Compress field is ignored unless Compress_is_set == true */ Compress_is_set bool Compress string /* Numericowner field is ignored unless Numericowner_is_set == true */ Numericowner_is_set bool Numericowner bool /* Excludes field is ignored unless Excludes_is_set == true */ Excludes_is_set bool Excludes []string }
Struct carrying optional arguments for Tar_out
type OptargsTune2fs ¶
type OptargsTune2fs struct { /* Force field is ignored unless Force_is_set == true */ Force_is_set bool Force bool /* Maxmountcount field is ignored unless Maxmountcount_is_set == true */ Maxmountcount_is_set bool Maxmountcount int /* Mountcount field is ignored unless Mountcount_is_set == true */ Mountcount_is_set bool Mountcount int /* Errorbehavior field is ignored unless Errorbehavior_is_set == true */ Errorbehavior_is_set bool Errorbehavior string /* Group field is ignored unless Group_is_set == true */ Group_is_set bool Group int64 /* Intervalbetweenchecks field is ignored unless Intervalbetweenchecks_is_set == true */ Intervalbetweenchecks_is_set bool Intervalbetweenchecks int /* Reservedblockspercentage field is ignored unless Reservedblockspercentage_is_set == true */ Reservedblockspercentage_is_set bool Reservedblockspercentage int /* Lastmounteddirectory field is ignored unless Lastmounteddirectory_is_set == true */ Lastmounteddirectory_is_set bool Lastmounteddirectory string /* Reservedblockscount field is ignored unless Reservedblockscount_is_set == true */ Reservedblockscount_is_set bool Reservedblockscount int64 /* User field is ignored unless User_is_set == true */ User_is_set bool User int64 }
Struct carrying optional arguments for Tune2fs
type OptargsUmount ¶
type OptargsUmount struct { /* Force field is ignored unless Force_is_set == true */ Force_is_set bool Force bool /* Lazyunmount field is ignored unless Lazyunmount_is_set == true */ Lazyunmount_is_set bool Lazyunmount bool }
Struct carrying optional arguments for Umount
type OptargsUmount_local ¶
type OptargsUmount_local struct { /* Retry field is ignored unless Retry_is_set == true */ Retry_is_set bool Retry bool }
Struct carrying optional arguments for Umount_local
type OptargsXfs_admin ¶
type OptargsXfs_admin struct { /* Extunwritten field is ignored unless Extunwritten_is_set == true */ Extunwritten_is_set bool Extunwritten bool /* Imgfile field is ignored unless Imgfile_is_set == true */ Imgfile_is_set bool Imgfile bool /* V2log field is ignored unless V2log_is_set == true */ V2log_is_set bool V2log bool /* Projid32bit field is ignored unless Projid32bit_is_set == true */ Projid32bit_is_set bool Projid32bit bool /* Lazycounter field is ignored unless Lazycounter_is_set == true */ Lazycounter_is_set bool Lazycounter bool /* Label field is ignored unless Label_is_set == true */ Label_is_set bool Label string /* Uuid field is ignored unless Uuid_is_set == true */ Uuid_is_set bool Uuid string }
Struct carrying optional arguments for Xfs_admin
type OptargsXfs_growfs ¶
type OptargsXfs_growfs struct { /* Datasec field is ignored unless Datasec_is_set == true */ Datasec_is_set bool Datasec bool /* Logsec field is ignored unless Logsec_is_set == true */ Logsec_is_set bool Logsec bool /* Rtsec field is ignored unless Rtsec_is_set == true */ Rtsec_is_set bool Rtsec bool /* Datasize field is ignored unless Datasize_is_set == true */ Datasize_is_set bool Datasize int64 /* Logsize field is ignored unless Logsize_is_set == true */ Logsize_is_set bool Logsize int64 /* Rtsize field is ignored unless Rtsize_is_set == true */ Rtsize_is_set bool Rtsize int64 /* Rtextsize field is ignored unless Rtextsize_is_set == true */ Rtextsize_is_set bool Rtextsize int64 /* Maxpct field is ignored unless Maxpct_is_set == true */ Maxpct_is_set bool Maxpct int }
Struct carrying optional arguments for Xfs_growfs
type OptargsXfs_repair ¶
type OptargsXfs_repair struct { /* Forcelogzero field is ignored unless Forcelogzero_is_set == true */ Forcelogzero_is_set bool Forcelogzero bool /* Nomodify field is ignored unless Nomodify_is_set == true */ Nomodify_is_set bool Nomodify bool /* Noprefetch field is ignored unless Noprefetch_is_set == true */ Noprefetch_is_set bool Noprefetch bool /* Forcegeometry field is ignored unless Forcegeometry_is_set == true */ Forcegeometry_is_set bool Forcegeometry bool /* Maxmem field is ignored unless Maxmem_is_set == true */ Maxmem_is_set bool Maxmem int64 /* Ihashsize field is ignored unless Ihashsize_is_set == true */ Ihashsize_is_set bool Ihashsize int64 /* Bhashsize field is ignored unless Bhashsize_is_set == true */ Bhashsize_is_set bool Bhashsize int64 /* Agstride field is ignored unless Agstride_is_set == true */ Agstride_is_set bool Agstride int64 /* Logdev field is ignored unless Logdev_is_set == true */ Logdev_is_set bool Logdev string /* Rtdev field is ignored unless Rtdev_is_set == true */ Rtdev_is_set bool Rtdev string }
Struct carrying optional arguments for Xfs_repair