Versions in this module Expand all Collapse all v0 v0.1.1 Sep 1, 2021 v0.1.0 May 8, 2021 Changes in this version + const CompilePluginSubFolder + const CompileSubFolder + const PluginSourceSubFolder + const SourceSubFolder + const SpecAPISubFolder + const SpecFileSystemSubFolder + func CreateEbpfCompiledFolderIfNotExist(fm FolderMgr) error + func CreateEbpfSourceFolderIfNotExist(fm FolderMgr) error + func CreateHomeFolderIfNotExist(fm FolderMgr) error + func CreateKubeKnarkFolders(fm FolderMgr) error + func CreatePluginsCompiledFolderIfNotExist(fm FolderMgr) error + func CreatePluginsSourceFolderIfNotExist(fm FolderMgr) error + func CreateSpecAPIFolderIfNotExist(fm FolderMgr) error + func CreateSpecFSFolderIfNotExist(fm FolderMgr) error + func FindSeverityInt(severity string) int + func GetCompilePluginSubFolder(fm FolderMgr) (string, error) + func GetEbpfCompiledFolder(fm FolderMgr) (string, error) + func GetEbpfSourceFolder(fm FolderMgr) (string, error) + func GetEnv(key, fallback string) string + func GetPluginSourceSubFolder(fm FolderMgr) (string, error) + func GetSpecAPIFolder(fm FolderMgr) (string, error) + func GetSpecFilesystemFolder(fm FolderMgr) (string, error) + type FilesInfo struct + Data string + Name string + func GetFiles(folder string) ([]FilesInfo, error) + type FolderMgr interface + CreateFolder func(folderName string) error + GetHomeFolder func() (string, error) + func NewKFolder() FolderMgr + type KFolder struct + func (kf KFolder) CreateFolder(folderName string) error + func (kf KFolder) GetHomeFolder() (string, error)