Documentation ¶
Index ¶
- Constants
- func AddNewLineToNonEmptyStr(str string) string
- func CreateBenchmarkFolderIfNotExist(spec, version string, fm FolderMgr) error
- func CreateHomeFolderIfNotExist(fm FolderMgr) error
- func CreatePluginsCompiledFolderIfNotExist(fm FolderMgr) error
- func CreatePluginsSourceFolderIfNotExist(fm FolderMgr) error
- func GetAuditTestsList(key, arg string) []string
- func GetBenchmarkFolder(spec, version string, fm FolderMgr) (string, error)
- func GetCompilePluginSubFolder(fm FolderMgr) (string, error)
- func GetEnv(key, fallback string) string
- func GetHomeFolder() string
- func GetPluginSourceSubFolder(fm FolderMgr) (string, error)
- func RemoveNewLineSuffix(str string) string
- type FilesInfo
- type FolderMgr
Constants ¶
const CompilePluginSubFolder = "plugins/compile"
CompilePluginSubFolder plugins complied folder
const PluginSourceSubFolder = "plugins/source"
PluginSourceSubFolder plugin source folder
Variables ¶
This section is empty.
Functions ¶
func AddNewLineToNonEmptyStr ¶
AddNewLineToNonEmptyStr add new line to non empty string
func CreateBenchmarkFolderIfNotExist ¶
CreateBenchmarkFolderIfNotExist create lxd-probe benchmark folder if not exist
func CreateHomeFolderIfNotExist ¶
CreateHomeFolderIfNotExist create lxd-probe home folder if not exist
func CreatePluginsCompiledFolderIfNotExist ¶
CreatePluginsCompiledFolderIfNotExist create plugins compiled folder if not exist
func CreatePluginsSourceFolderIfNotExist ¶
CreatePluginsSourceFolderIfNotExist plugins source folder if not exist
func GetAuditTestsList ¶
GetAuditTestsList return processing function by specificTests
func GetBenchmarkFolder ¶
GetBenchmarkFolder return benchmark folder
func GetCompilePluginSubFolder ¶
GetCompilePluginSubFolder return plugin compiled folder path
func GetPluginSourceSubFolder ¶
GetPluginSourceSubFolder return plugins source folder path
func RemoveNewLineSuffix ¶
RemoveNewLineSuffix remove new line from suffix