Documentation
¶
Index ¶
- func CheckFirewallStatus(osType config.OperatingSystem) (bool, error)
- func CheckIfRunningAsRoot() error
- func CheckLinuxSecurityStatus(osType config.OperatingSystem) (bool, error)
- func DetectOS() (config.OperatingSystem, error)
- func DisableFirewall(osType config.OperatingSystem) error
- func DisableLinuxSecurity() error
- func EnableCodeReadyRepo(osType config.OperatingSystem, CloudInstall bool) error
- func EnableEPELRepo(osType config.OperatingSystem) error
- func EnableExtraRepo() error
- func FirewallPrompt() (bool, error)
- func InstallGdebiCore() error
- func InstallPrereqs(osType config.OperatingSystem) error
- func LinuxSecurityPrompt(osType config.OperatingSystem) (bool, error)
- func PromptAndVerifyUser() (string, bool, error)
- func PromptCloud() (bool, error)
- func PromptInstallPrereqs() (bool, error)
- func PromptUserAccount() (string, error)
- func UpgradeApt() error
- func UserLookup(username string) (*user.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFirewallStatus ¶
func CheckFirewallStatus(osType config.OperatingSystem) (bool, error)
func CheckIfRunningAsRoot ¶
func CheckIfRunningAsRoot() error
func CheckLinuxSecurityStatus ¶
func CheckLinuxSecurityStatus(osType config.OperatingSystem) (bool, error)
func DetectOS ¶
func DetectOS() (config.OperatingSystem, error)
Detect which operating system WBI is running on
func DisableFirewall ¶
func DisableFirewall(osType config.OperatingSystem) error
Disable local firewall on server
func DisableLinuxSecurity ¶
func DisableLinuxSecurity() error
func EnableCodeReadyRepo ¶
func EnableCodeReadyRepo(osType config.OperatingSystem, CloudInstall bool) error
Enable the CodeReady Linux Builder repository:
func EnableEPELRepo ¶
func EnableEPELRepo(osType config.OperatingSystem) error
Enable the Extra Packages for Enterprise Linux (EPEL) repository
func FirewallPrompt ¶
func InstallPrereqs ¶
func InstallPrereqs(osType config.OperatingSystem) error
func LinuxSecurityPrompt ¶
func LinuxSecurityPrompt(osType config.OperatingSystem) (bool, error)
func PromptAndVerifyUser ¶ added in v0.0.26
func PromptCloud ¶
func PromptInstallPrereqs ¶
func PromptUserAccount ¶ added in v0.0.26
PromptUserAccount prompts the user for the name of a local Linux user account to use for verifying the installation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.