Documentation ¶
Index ¶
- Variables
- func DedupAndMergePackageList(slice1 []common.ListPackage, slice2 []common.ListPackage) []common.ListPackage
- func GetHostname() string
- func GetOSInfo() common.OSInfo
- func HandleError(err error, msg string)
- func HandleErrorFatal(err error, msg string)
- func IsStringInSlice(target string, slice []string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var OSInfoCache common.OSInfo
Functions ¶
func DedupAndMergePackageList ¶
func DedupAndMergePackageList(slice1 []common.ListPackage, slice2 []common.ListPackage) []common.ListPackage
DedupAndMergePackageList takes two slices of packages and inserts the values from List2 for Packages that are in both slices
func GetHostname ¶
func GetHostname() string
func HandleError ¶
func HandleErrorFatal ¶
func IsStringInSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.