Documentation ¶
Index ¶
- func DeployGuestfs(d deploy_iface.IDeployer, req *apis.DeployParams) (res *apis.DeployGuestFsResponse, err error)
- func DetectIsUEFISupport(rootfs fsdriver.IRootFsDriver, partitions []fsdriver.IDiskPartition) bool
- func FormatFs(d deploy_iface.IDeployer, req *apis.FormatFsParams) (*apis.Empty, error)
- func FormatPartition(path, fs, uuid string) error
- func FsckExtFs(fpath string) bool
- func FsckXfsFs(fpath string) bool
- func GetDevSector512Count(dev string) int
- func IsPartedFsString(fsstr string) bool
- func IsSupportResizeFs(fs string) bool
- func Mkpartition(imagePath, fsFormat string) error
- func MountRootfs(readonly bool, partitions []fsdriver.IDiskPartition) (fsdriver.IRootFsDriver, error)
- func ParseDiskPartition(dev string, lines []string) ([][]string, string)
- func ProbeImageInfo(d deploy_iface.IDeployer) (*apis.ImageInfo, error)
- func ResizeDiskFs(diskPath string, sizeMb int) error
- func ResizeFs(d deploy_iface.IDeployer) (*apis.Empty, error)
- func ResizePartitionFs(fpath, fs string, raiseError bool) (error, bool)
- func SaveToGlance(d deploy_iface.IDeployer, req *apis.SaveToGlanceParams) (*apis.SaveToGlanceResponse, error)
- func SetExt4UsageTypeThresholds(largefile, hugefile int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployGuestfs ¶
func DeployGuestfs(d deploy_iface.IDeployer, req *apis.DeployParams) (res *apis.DeployGuestFsResponse, err error)
func DetectIsUEFISupport ¶
func DetectIsUEFISupport(rootfs fsdriver.IRootFsDriver, partitions []fsdriver.IDiskPartition) bool
func FormatFs ¶
func FormatFs(d deploy_iface.IDeployer, req *apis.FormatFsParams) (*apis.Empty, error)
func FormatPartition ¶
func FsckXfsFs ¶
https://bugs.launchpad.net/ubuntu/+source/xfsprogs/+bug/1718244 use xfs_repair -n instead
func GetDevSector512Count ¶
func IsPartedFsString ¶
func IsSupportResizeFs ¶
func Mkpartition ¶
func MountRootfs ¶
func MountRootfs(readonly bool, partitions []fsdriver.IDiskPartition) (fsdriver.IRootFsDriver, error)
func ProbeImageInfo ¶
func ProbeImageInfo(d deploy_iface.IDeployer) (*apis.ImageInfo, error)
func ResizeDiskFs ¶
func SaveToGlance ¶
func SaveToGlance(d deploy_iface.IDeployer, req *apis.SaveToGlanceParams) (*apis.SaveToGlanceResponse, error)
func SetExt4UsageTypeThresholds ¶
func SetExt4UsageTypeThresholds(largefile, hugefile int64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.