Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OS ¶
type OS struct {
// Directories
CacheDir string // Cache directory (e.g., /var/cache/migration-manager/)
LogDir string // Log directory (e.g. /var/log/).
RunDir string // Runtime directory (e.g. /run/migration-manager/).
VarDir string // Data directory (e.g. /var/lib/migration-manager/).
}
OS is a high-level facade for accessing operating-system level functionalities.
func DefaultOS ¶
func DefaultOS() *OS
DefaultOS returns a fresh uninitialized OS instance with default values.
func (*OS) GetMigrationManagerISOName ¶
Returns the name of the migration manger worker ISO image.
func (*OS) GetUnixSocket ¶
GetUnixSocket returns the full path to the unix.socket file that this daemon is listening on.
func (*OS) GetVirtioDriversISOName ¶
Returns the name of the virtio drivers ISO image.
func (*OS) LocalDatabaseDir ¶
LocalDatabaseDir returns the path of the local database directory.
Click to show internal directories.
Click to hide internal directories.