os

package
v4.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOSManager

func NewOSManager(opts ManagerOpts) (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