misc

package
v0.1.9-canary Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: GPL-3.0 Imports: 9 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 BuildTmpPcapPath

func BuildTmpPcapPath(id int64) string

func CleanUpTmpPcaps

func CleanUpTmpPcaps() error

func GetDataDir

func GetDataDir() string

func GetPcapPath

func GetPcapPath(id string) string

func InitAlivePcapsMap

func InitAlivePcapsMap()

func InitDataDir

func InitDataDir()

Types

type Opts

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

Jump to

Keyboard shortcuts

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