deploy_iface

package
v0.3.11-8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDeployer

type IDeployer interface {
	Connect(desc *apis.GuestDesc) error
	Disconnect() error

	GetPartitions() []fsdriver.IDiskPartition
	IsLVMPartition() bool
	Zerofree()
	ResizePartition() error
	FormatPartition(fs, uuid string) error
	MakePartition(fs string) error

	MountRootfs(readonly bool) (fsdriver.IRootFsDriver, error)
	UmountRootfs(fd fsdriver.IRootFsDriver) error
	DetectIsUEFISupport(rootfs fsdriver.IRootFsDriver) bool

	DeployGuestfs(req *apis.DeployParams) (res *apis.DeployGuestFsResponse, err error)
	ResizeFs() (res *apis.Empty, err error)
	FormatFs(req *apis.FormatFsParams) (*apis.Empty, error)
	SaveToGlance(req *apis.SaveToGlanceParams) (*apis.SaveToGlanceResponse, error)
	ProbeImageInfo(req *apis.ProbeImageInfoPramas) (*apis.ImageInfo, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL