Documentation ¶
Index ¶
- Constants
- Variables
- func GetConfAvailable() string
- func GetConfEnabled() string
- func GetFullDirStructure(isNormalize bool, currentRoot string) *knowndirstructure.NginxApacheDirectory
- func GetModsAvailable() string
- func GetModsEnabled() string
- func GetSitesAvailable() string
- func GetSitesEnabled() string
Constants ¶
View Source
const ( DefaultRoot = "etc/apache2" RootConfigName = "apache2.conf" ConfigAvailableName = "conf-available" ConfigEnabledName = "conf-enabled" SitesBackup = "sites-backup" SitesAvailableName = "sites-available" SitesEnabledName = "sites-enabled" ExtraConfName = "conf.d" ModulesAvailableName = "mods-available" ModulesEnabledName = "mods-enabled" ApachePorts = "ports.conf" ApacheEnvVars = " envvars" )
Variables ¶
View Source
var (
DefaultNginxDirStructure = GetFullDirStructure(true, DefaultRoot)
)
Functions ¶
func GetConfAvailable ¶
func GetConfAvailable() string
GetConfAvailable returns /etc/apache/conf-available as a string
func GetConfEnabled ¶
func GetConfEnabled() string
GetConfEnabled returns /etc/apache/conf-enabled as a string
func GetFullDirStructure ¶ added in v0.1.3
func GetFullDirStructure( isNormalize bool, currentRoot string, ) *knowndirstructure.NginxApacheDirectory
func GetModsAvailable ¶
func GetModsAvailable() string
GetModsAvailable returns /etc/apache/mods-available as a string
func GetModsEnabled ¶
func GetModsEnabled() string
GetModsEnabled returns /etc/apache/mods-enabled as a string
func GetSitesAvailable ¶
func GetSitesAvailable() string
GetSitesAvailable returns /etc/apache/sites-available as a string
func GetSitesEnabled ¶
func GetSitesEnabled() string
GetSitesEnabled returns /etc/apache/sites-enabled as a string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.