misc

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AlivePcaps *sync.Map
View Source
var FilteringOptions *api.TrafficFilteringOptions // global
View Source
var Snaplen int = 65536
View Source
var TargettedPods []v1.Pod // global

Functions

func BuildPcapPath

func BuildPcapPath(id int64) string

func BuildTlsPcapPath

func BuildTlsPcapPath(id int64) string

func BuildTlsTmpPcapPath

func BuildTlsTmpPcapPath(id int64) string

func BuildTmpPcapPath

func BuildTmpPcapPath(id int64) string

func CleanUpTmpPcaps

func CleanUpTmpPcaps() error

func Contains

func Contains(s []string, str string) bool

func GetDataDir

func GetDataDir() string

func GetNameResolutionHistoryPath

func GetNameResolutionHistoryPath() string

func GetPcapPath

func GetPcapPath(id string) string

func GetPcapsDir

func GetPcapsDir() string

func HandleError

func HandleError(c *gin.Context, err error)

func InitAlivePcapsMap

func InitAlivePcapsMap()

func InitDataDir

func InitDataDir()

func IsTls

func IsTls(id string) bool

func RemovePortFromWorkerHost

func RemovePortFromWorkerHost(workerHost string) string

Types

type Opts

type Opts struct {
	HostMode               bool
	IgnoredPorts           []uint16
	StaleConnectionTimeout time.Duration
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL