Documentation ¶
Index ¶
- Constants
- 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
- type FolderMgr
- type KFolder
Constants ¶
const CompilePluginSubFolder = "plugins/compile"
CompilePluginSubFolder plugins complied folder
const CompileSubFolder = "ebpf/compile"
CompileSubFolder ebpf complied folder
const PluginSourceSubFolder = "plugins/source"
PluginSourceSubFolder plugin source folder
const SourceSubFolder = "ebpf/source"
SourceSubFolder ebpf file source folder
const SpecAPISubFolder = "spec/api"
SpecAPISubFolder spec api sub folder name
const SpecFileSystemSubFolder = "spec/filesystem"
SpecFileSystemSubFolder spec filesystem sub folder name
Variables ¶
This section is empty.
Functions ¶
func CreateEbpfCompiledFolderIfNotExist ¶
CreateEbpfCompiledFolderIfNotExist create ebpf compiled folder if not exist
func CreateEbpfSourceFolderIfNotExist ¶
CreateEbpfSourceFolderIfNotExist create ebpf source folder if not exist
func CreateHomeFolderIfNotExist ¶
CreateHomeFolderIfNotExist create ebpf home folder if not exist
func CreateKubeKnarkFolders ¶
CreateKubeKnarkFolders create kube knark compiled and spec folders
func CreatePluginsCompiledFolderIfNotExist ¶
CreatePluginsCompiledFolderIfNotExist create plugins compiled folder if not exist
func CreatePluginsSourceFolderIfNotExist ¶
CreatePluginsSourceFolderIfNotExist plugins source folder if not exist
func CreateSpecAPIFolderIfNotExist ¶
CreateSpecAPIFolderIfNotExist create spec api folder if not exist
func CreateSpecFSFolderIfNotExist ¶
CreateSpecFSFolderIfNotExist create spec file system folder if not exist
func FindSeverityInt ¶
FindSeverityInt return severity int value
func GetCompilePluginSubFolder ¶
GetCompilePluginSubFolder return plugin compiled folder path
func GetEbpfCompiledFolder ¶
GetEbpfCompiledFolder return ebpf compiled folder path
func GetEbpfSourceFolder ¶
GetEbpfSourceFolder return ebpf source folder path
func GetPluginSourceSubFolder ¶
GetPluginSourceSubFolder return plugins source folder path
func GetSpecAPIFolder ¶
GetSpecAPIFolder return spec api folder path
func GetSpecFilesystemFolder ¶
GetSpecFilesystemFolder return spec file system folder path
Types ¶
type KFolder ¶
type KFolder struct { }
KFolder kube-knark folder object
func (KFolder) CreateFolder ¶
CreateFolder create new kube knark folder
func (KFolder) GetHomeFolder ¶
GetHomeFolder return kube-knark home folder