Documentation
¶
Index ¶
- Variables
- func BackupPrimaryIndexFile() error
- func CreateSelfSignedSsl(dirPath tkValueObject.UnixAbsoluteFilePath, vhostHostname tkValueObject.Fqdn, ...) error
- func DnsLookup(recordName string, recordType *string) ([]string, error)
- func DownloadFile(url string, filePath string) error
- func GenStrongHash(value string) string
- func GenStrongShortHash(value string) string
- func GenWeakHash(value string) string
- func GetAllRegexGroupMatches(input string, regexExpression string) []string
- func GetFilePathWithMatch(dir string, partialMatch string) (string, error)
- func GetRegexCapturingGroups(input string, regex string) map[string]string
- func GetRootDomain(hostname tkValueObject.Fqdn) (tkValueObject.Fqdn, error)
- func InstallPkgs(packages []string) error
- func IsDevMode() bool
- func IsSilentExitMode() bool
- func RestorePrimaryIndexFile() error
- func UpdateOwnershipForWebServerUse(filePath string, isRecursive bool, shouldIncludeSymlink bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IndexFileTemplatePath string = infraEnvs.VirtualHostsConfDir + "/index.html" IndexFilePath string = infraEnvs.PrimaryVirtualHostPublicDir + "/index.html" IndexFileBackupPath string = infraEnvs.PrimaryVirtualHostPublicDir + "/../index.html.backup" )
Functions ¶
func BackupPrimaryIndexFile ¶ added in v0.2.4
func BackupPrimaryIndexFile() error
func CreateSelfSignedSsl ¶
func CreateSelfSignedSsl( dirPath tkValueObject.UnixAbsoluteFilePath, vhostHostname tkValueObject.Fqdn, aliasesHostname []tkValueObject.Fqdn, ) error
func DownloadFile ¶
func GenStrongHash ¶
func GenStrongShortHash ¶
func GenWeakHash ¶
func GetAllRegexGroupMatches ¶
func GetFilePathWithMatch ¶
func GetRegexCapturingGroups ¶
func GetRootDomain ¶
func GetRootDomain(hostname tkValueObject.Fqdn) (tkValueObject.Fqdn, error)
func InstallPkgs ¶
func IsSilentExitMode ¶ added in v0.3.1
func IsSilentExitMode() bool
func RestorePrimaryIndexFile ¶ added in v0.2.4
func RestorePrimaryIndexFile() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.