os

package
v5.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOSManager

func NewOSManager(opts ManagerOpts, p vmconfigs.VMProvider) (pkgOS.Manager, error)

NewOSManager creates a new OSManager depending on the mode of the call

Types

type Distribution

type Distribution struct {
	Name    string
	Variant string
}

func GetDistribution

func GetDistribution() Distribution

GetDistribution checks the OS distribution

type ManagerOpts

type ManagerOpts struct {
	VMName  string
	CLIArgs []string
	Restart bool
}

Jump to

Keyboard shortcuts

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