Documentation ¶
Index ¶
- Constants
- Variables
- func GetDeprecatedSolution(fileName string) map[string]map[string]string
- func GetOverrideSolution(fileName, noteFiles string) map[string]map[string]Solution
- func GetSolutionDefintion(fileName string) map[string]map[string]Solution
- func GetSortedSolutionNames(archName string) (ret []string)
- type Solution
Constants ¶
const ( SolutionSheet = "/usr/share/saptune/solutions" OverrideSolutionSheet = "/etc/saptune/override/solutions" DeprecSolutionSheet = "/usr/share/saptune/solsdeprecated" NoteTuningSheets = "/usr/share/saptune/notes/" ArchX86 = "amd64" // ArchX86 is the GOARCH value for x86 platform. ArchPPC64LE = "ppc64le" // ArchPPC64LE is the GOARCH for 64-bit PowerPC little endian platform. ArchX86PC = "amd64_PC" // ArchX86 is the GOARCH value for x86 platform. PC indicates PageCache is available ArchPPC64LEPC = "ppc64le_PC" // ArchPPC64LE is the GOARCH for 64-bit PowerPC little endian platform. PC indicates PageCache is available )
solution constant definitions
Variables ¶
var AllSolutions = GetSolutionDefintion(SolutionSheet)
AllSolutions contains a list of all available solutions with their related SAP Notes for all supported architectures
var DeprecSolutions = GetDeprecatedSolution(DeprecSolutionSheet)
DeprecSolutions contains a list of all solutions witch are deprecated
var OverrideSolutions = GetOverrideSolution(OverrideSolutionSheet, NoteTuningSheets)
OverrideSolutions contains a list of all available override solutions with their related SAP Notes for all supported architectures
Functions ¶
func GetDeprecatedSolution ¶
GetDeprecatedSolution reads solution deprecated definition from file
func GetOverrideSolution ¶
GetOverrideSolution reads solution override definition from file build same structure for AllSolutions as before can be simplyfied later
func GetSolutionDefintion ¶
GetSolutionDefintion reads solution definition from file build same structure for AllSolutions as before can be simplyfied later
func GetSortedSolutionNames ¶
GetSortedSolutionNames returns all solution names, sorted alphabetically.