constants

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 0 Imported by: 6

Documentation

Index

Constants

View Source
const InitChkconfig = "chkconfig"

InitChkconfig uses identifier for chkconfig init system (RHEL)

View Source
const InitDocker = "docker"

InitDocker uses docker identifier for systems running inside of docker Those systems typically don't use the system init system and instead using a shell (bash, sh), a supervisor (runit, supervisord) or just a arbitrary command as pid1. Any service control would not work as for systems outside of docker.

View Source
const InitLaunchd = "launchd"

InitLaunchd uses launchd for mac os x init system

View Source
const InitOpenrc = "openrc"

InitOpenrc uses identifier for openrc init system (Gentoo)

View Source
const InitService = "service"

InitService uses identifier for undetected init systems but available `service` command to start/stop/restart services

View Source
const InitSystemd = "systemd"

InitSystemd uses identifier for systemd init system

View Source
const InitUpdatercd = "updatercd"

InitUpdatercd uses Ohai identifier for update-rc.d init system (Debian)

View Source
const InitUpstart = "upstart"

InitUpstart uses identifier for upstart init system

View Source
const InitWindows = "windows"

InitWindows uses windows identifier for windows init system

View Source
const PackageManagerAlpine = "alpine"

PackageManagerAlpine is used on Alpine Linux

View Source
const PackageManagerApt = "apt"

PackageManagerApt is used on Debian platform families (ubuntu, mate, ...)

View Source
const PackageManagerDnf = "dnf"

PackageManagerDnf is used on Fedora

View Source
const PackageManagerEmerge = "emerge"

PackageManagerEmerge is used on Gentoo platform families (Gentoo, Funtoo, ...)

View Source
const PackageManagerMac = "mac_os_x"

PackageManagerMac is always `mac_os_x` when running on Mac OS X. There are multiple competing package formates (.pkg, .dmg, brew, ...) so it depends on the use case.

View Source
const PackageManagerPacman = "pacman"

PackageManagerPacman is used on ArchLinux

View Source
const PackageManagerWindows = "windows"

PackageManagerWindows is always `windows` when running on Windows systems. There are multiple competing package formates (.msi, .exe, chocolatey, ...) so it depends on the use case.

View Source
const PackageManagerYum = "yum"

PackageManagerYum is used on RHEL platform families (centos, red hat, amazon, ...)

View Source
const PackageManagerZipper = "zypper"

PackageManagerZipper is used on SuSe platform families (OpenSuse, SLES, ...)

View Source
const PlatformAlmaLinux = "almalinux"

PlatformAlmaLinux uses Ohai identifier for alma linux platform

View Source
const PlatformAlpine = "alpine"

PlatformAlpine uses Ohai identifier for alpine platform

View Source
const PlatformAmazon = "amazon"

PlatformAmazon uses Ohai identifier for amazon platform

View Source
const PlatformArch = "arch"

PlatformArch uses Ohai identifier for arch platform

View Source
const PlatformBottlerocket = "bottlerocket"

PlatformBottlerocket uses Ohai identifier for bottlerocket platform

View Source
const PlatformCentos = "centos"

PlatformCentos uses Ohai identifier for centos platform

View Source
const PlatformDarwin = "mac_os_x"

PlatformDarwin uses Ohai identifier for darwin platform

View Source
const PlatformDebian = "debian"

PlatformDebian uses Ohai identifier for debian platform

View Source
const PlatformFamilyAlpine = "alpine"

PlatformFamilyAlpine uses Ohai identifier for alpine platform family

View Source
const PlatformFamilyArch = "arch"

PlatformFamilyArch uses Ohai identifier for arch linux platform family

View Source
const PlatformFamilyDarwin = "mac_os_x"

PlatformFamilyDarwin uses Ohai identifier for darwin platform family

View Source
const PlatformFamilyDebian = "debian"

PlatformFamilyDebian uses Ohai identifier for debian platform family

View Source
const PlatformFamilyFedora = "fedora"

PlatformFamilyFedora uses Ohai identifier for fedora platform family

View Source
const PlatformFamilyGentoo = "gentoo"

PlatformFamilyGentoo uses Ohai identifier for gentoo linux platform family

View Source
const PlatformFamilyRhel = "rhel"

PlatformFamilyRhel uses Ohai identifier for rhel platform family

View Source
const PlatformFamilySuse = "suse"

PlatformFamilySuse uses Ohai identifier for opensuse platform family

View Source
const PlatformFamilyWindows = "windows"

PlatformFamilyWindows uses Ohai identifier for windows platform family

View Source
const PlatformFedora = "fedora"

PlatformFedora uses Ohai identifier for fedora platform

View Source
const PlatformFlatcar = "flatcar"

PlatformFlatcar uses Ohai identifier for flatcar platform

View Source
const PlatformGentoo = "gentoo"

PlatformGentoo uses Ohai identifier for gentoo platform

View Source
const PlatformOpensuse = "opensuse"

PlatformOpensuse uses Ohai identifier for opensuse platform version < 42

View Source
const PlatformOpensuseLeap = "opensuseleap"

PlatformOpensuseLeap uses Ohai identifier for amazon platform version >= 42

View Source
const PlatformOracleLinux = "oracle"

PlatformOracleLinux uses Ohai identifier for oracle linux platform

View Source
const PlatformRaspbian = "raspbian"

PlatformRaspbian uses Ohai identifier for raspbian platform

View Source
const PlatformRedhat = "redhat"

PlatformRedhat uses Ohai identifier for redhat platform

View Source
const PlatformRockyLinux = "rocky"

PlatformRockyLinux uses ohai identifier for rocky linux platform

View Source
const PlatformSuse = "suse"

PlatformSuse uses Ohai identifier for suse platform

View Source
const PlatformUbuntu = "ubuntu"

PlatformUbuntu uses Ohai identifier for ubuntu platform

View Source
const PlatformWindows = "windows"

PlatformWindows uses Ohai identifier for windows platform

View Source
const SKUProductDatacenterNanoServer uint32 = 143

OperatingSystemSKUs to denote Windows Nano installations

View Source
const SKUProductStandardNanoServer uint32 = 144

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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