Documentation ¶
Index ¶
- Constants
- Variables
- func BuildPcapPath(id int64) string
- func BuildTlsPcapPath(id int64) string
- func BuildTlsTmpPcapPath(id int64) string
- func BuildTmpPcapPath(id int64) string
- func CleanUpTmpPcaps() error
- func Contains(s []string, str string) bool
- func GetDataDir() string
- func GetNameResolutionHistoryPath() string
- func GetPcapPath(id string) string
- func GetPcapsDir() string
- func HandleError(c *gin.Context, err error)
- func InitAlivePcapsMap()
- func InitDataDir()
- func IsTls(id string) bool
- func RemovePortFromWorkerHost(workerHost string) string
- type Opts
Constants ¶
View Source
const NameResolutionHistoryFilename string = "name_resolution_history.json"
Variables ¶
View Source
var AlivePcaps *sync.Map
View Source
var Snaplen int = 65536
View Source
var TargettedPods []v1.Pod // global
Functions ¶
func BuildPcapPath ¶
func BuildTlsPcapPath ¶
func BuildTlsTmpPcapPath ¶
func BuildTmpPcapPath ¶
func CleanUpTmpPcaps ¶
func CleanUpTmpPcaps() error
func GetDataDir ¶
func GetDataDir() string
func GetNameResolutionHistoryPath ¶
func GetNameResolutionHistoryPath() string
func GetPcapPath ¶
func GetPcapsDir ¶
func GetPcapsDir() string
func HandleError ¶
func InitAlivePcapsMap ¶
func InitAlivePcapsMap()
func InitDataDir ¶
func InitDataDir()
Types ¶
Click to show internal directories.
Click to hide internal directories.