Documentation
¶
Index ¶
- func CheckMinVersion(version, minVersion string) (bool, error)
- func GetFilePathFromAugPath(vhostPath string) string
- func GetInternalAugPath(vhostPath string) string
- func IsCommandExist(name string) bool
- func StrSlicesDifference(a, b []string) []string
- func TranslateFnmatchToRegex(fnmatchStr string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMinVersion ¶
CheckMinVersion checks if version is higher or equal than minVersion
func GetFilePathFromAugPath ¶
GetFilePathFromAugPath get file path from augeas_vhost_path
func GetInternalAugPath ¶
GetInternalAugPath returns file augeas internal path
func IsCommandExist ¶
IsCommandExist checks if command exists via which linus command
func StrSlicesDifference ¶
StrSlicesDifference returns all elements of the first slice which do not present in the second one
func TranslateFnmatchToRegex ¶
TranslateFnmatchToRegex converts a shell PATTERN to a regular expression string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.