* feat(fedora): support fedora * fix(fedora): fix modular package scan * fix(fedora): check needs-restarting, oval arch, add source link Co-authored-by: MaineK00n <mainek00n.1229@gmail.com>
71 lines
1.1 KiB
Go
71 lines
1.1 KiB
Go
package constant
|
|
|
|
// Global constant
|
|
// Pkg local constants should not be defined here.
|
|
// Define them in the each package.
|
|
|
|
const (
|
|
// RedHat is
|
|
RedHat = "redhat"
|
|
|
|
// Debian is
|
|
Debian = "debian"
|
|
|
|
// Ubuntu is
|
|
Ubuntu = "ubuntu"
|
|
|
|
// CentOS is
|
|
CentOS = "centos"
|
|
|
|
// Alma is
|
|
Alma = "alma"
|
|
|
|
// Rocky is
|
|
Rocky = "rocky"
|
|
|
|
// Fedora is
|
|
// Fedora = "fedora"
|
|
|
|
// Amazon is
|
|
Amazon = "amazon"
|
|
|
|
// Oracle is
|
|
Oracle = "oracle"
|
|
|
|
// FreeBSD is
|
|
FreeBSD = "freebsd"
|
|
|
|
// Raspbian is
|
|
Raspbian = "raspbian"
|
|
|
|
// Windows is
|
|
Windows = "windows"
|
|
|
|
// OpenSUSE is
|
|
OpenSUSE = "opensuse"
|
|
|
|
// OpenSUSELeap is
|
|
OpenSUSELeap = "opensuse.leap"
|
|
|
|
// SUSEEnterpriseServer is
|
|
SUSEEnterpriseServer = "suse.linux.enterprise.server"
|
|
|
|
// SUSEEnterpriseDesktop is
|
|
SUSEEnterpriseDesktop = "suse.linux.enterprise.desktop"
|
|
|
|
// SUSEOpenstackCloud is
|
|
SUSEOpenstackCloud = "suse.openstack.cloud"
|
|
|
|
// Alpine is
|
|
Alpine = "alpine"
|
|
|
|
// ServerTypePseudo is used for ServerInfo.Type, r.Family
|
|
ServerTypePseudo = "pseudo"
|
|
|
|
// DeepSecurity is
|
|
DeepSecurity = "deepsecurity"
|
|
|
|
//Fedora is
|
|
Fedora = "fedora"
|
|
)
|