oss

package
v0.0.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OS

type OS string
const (
	Unknown OS = "unknown"

	CentOS  OS = "centos"
	CentOS7 OS = "centos7"
	CentOS8 OS = "centos8"
	CentOS9 OS = "centos9"

	Debian   OS = "debian"
	Debian9  OS = "debian9"
	Debian10 OS = "debian10"
	Debian11 OS = "debian11"

	Ubuntu   OS = "ubuntu"
	Ubuntu18 OS = "ubuntu18"
	Ubuntu20 OS = "ubuntu20"
	Ubuntu22 OS = "ubuntu22"

	Arch OS = "arch"
	NOS  OS = "nos"
)

func CurrentOS

func CurrentOS() (os OS)

func Of

func Of(osStr string) OS

func (OS) Parent

func (o OS) Parent() OS

Jump to

Keyboard shortcuts

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