Documentation
¶
Overview ¶
Package enterpriselinux is implementing the interface github.com/colonel-byte/cargoship/src/types/os.Configurer for Enterprise Linux hosts
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlmaLinux ¶
type AlmaLinux struct {
linux.EnterpriseLinux
configurer.Linux
}
AlmaLinux provides OS support for AlmaLinux
func (*AlmaLinux) PreferredFirewall ¶ added in v0.20.0
PreferredFirewall reports that AlmaLinux ships firewalld as its firewall front end.
type AmazonLinux ¶
type AmazonLinux struct {
linux.EnterpriseLinux
configurer.Linux
}
AmazonLinux provides OS support for AmazonLinux
func (*AmazonLinux) Hostname ¶
func (l *AmazonLinux) Hostname(h os.Host) string
Hostname on amazon linux will return the full hostname
func (*AmazonLinux) PreferredFirewall ¶ added in v0.20.0
func (l *AmazonLinux) PreferredFirewall() string
PreferredFirewall reports that Amazon Linux ships firewalld as its firewall front end.
func (*AmazonLinux) String ¶
func (l *AmazonLinux) String() string
type CentOS ¶
type CentOS struct {
linux.EnterpriseLinux
configurer.Linux
}
CentOS provides OS support for CentOS
func (*CentOS) PreferredFirewall ¶ added in v0.20.0
PreferredFirewall reports that CentOS ships firewalld as its firewall front end.
type Fedora ¶
type Fedora struct {
linux.EnterpriseLinux
configurer.Linux
}
Fedora provides OS support for Fedora
func (*Fedora) PreferredFirewall ¶ added in v0.20.0
PreferredFirewall reports that Fedora ships firewalld as its firewall front end.
type OracleLinux ¶
type OracleLinux struct {
linux.EnterpriseLinux
configurer.Linux
}
OracleLinux provides OS support for Oracle Linux
func (*OracleLinux) PreferredFirewall ¶ added in v0.20.0
func (r *OracleLinux) PreferredFirewall() string
PreferredFirewall reports that Oracle Linux ships firewalld as its firewall front end.
func (*OracleLinux) String ¶
func (r *OracleLinux) String() string
type RHEL ¶
type RHEL struct {
linux.EnterpriseLinux
}
RHEL provides OS support for RedHat Enterprise Linux
func (*RHEL) PreferredFirewall ¶ added in v0.20.0
PreferredFirewall reports that RHEL ships firewalld as its firewall front end.
type RockyLinux ¶
type RockyLinux struct {
linux.EnterpriseLinux
configurer.Linux
}
RockyLinux provides OS support for RockyLinux
func (*RockyLinux) PreferredFirewall ¶ added in v0.20.0
func (r *RockyLinux) PreferredFirewall() string
PreferredFirewall reports that Rocky Linux ships firewalld as its firewall front end.
func (*RockyLinux) String ¶
func (r *RockyLinux) String() string