types

package
v0.2.155 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetColumns

func GetColumns() *columns.Columns[Event]

Types

type Event

type Event struct {
	eventtypes.Event
	eventtypes.WithMountNsID
	eventtypes.WithNetNsID

	Pid     uint32 `json:"pid,omitempty" column:"pid,template:pid"`
	Uid     uint32 `json:"uid,omitempty" column:"uid,template:uid"`
	Gid     uint32 `json:"gid,omitempty" column:"gid,template:gid"`
	Comm    string `json:"comm,omitempty" column:"comm,template:comm"`
	SrcPort uint16 `json:"src_port,omitempty" column:"src_port,template:src_port"`
	DstPort uint16 `json:"dst_port,omitempty" column:"dst_port,template:dst_port"`
	SrcIP   string `json:"src_ip,omitempty" column:"src_ip,template:src_ip"`
	DstIP   string `json:"dst_ip,omitempty" column:"dst_ip,template:dst_ip"`
}

func Base

func Base(ev eventtypes.Event) *Event

Jump to

Keyboard shortcuts

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