Documentation ¶
Index ¶
- func CheckMinVersion(version, minVersion string) (bool, error)
- func FindAnyFilesInDirectory(directory string, files []string) (string, error)
- func FindFirstExistedDirectory(directories []string) (string, error)
- func GetCommandBinPath(name string) (string, error)
- func IsRhelOsFamily() (bool, error)
- func StrSlicesDifference(a, b []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 FindAnyFilesInDirectory ¶
FindAnyFilesInDirectory detects any of the files in the specified directory
func GetCommandBinPath ¶
GetCommandPath returns path to the binary via "which" linux command returns path to the command binary
func IsRhelOsFamily ¶
func StrSlicesDifference ¶
StrSlicesDifference returns all elements of the first slice which do not present in the second one
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.