os

package
v4.9.5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 13 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