distro

package
v0.0.0-...-99f4547 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDir

func DefaultDir() string

Types

type Distro

type Distro struct {
	OS             OS
	DistroType     interface{}
	Version        string
	ISOSource      string
	ISODestination string
}

type LinuxDistro

type LinuxDistro int64
const (
	Debian LinuxDistro = iota
	Ubuntu
	LinuxMint
	CentOS
	Fedora
	ArchLinux
	Manjaro
)

func (LinuxDistro) String

func (ld LinuxDistro) String() string

type MacDistroType

type MacDistroType int64
const (
	MacOS MacDistroType = iota
)

type OS

type OS int64
const (
	Linux OS = iota
	Mac
	Windows
)

func (OS) String

func (os OS) String() string

type WindowsDistroType

type WindowsDistroType int64
const (
	Windows11 WindowsDistroType = iota
	Windows10
)

func (WindowsDistroType) String

func (wd WindowsDistroType) String() string

Jump to

Keyboard shortcuts

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