types

package
v0.28.0 Latest Latest
Warning

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

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

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,order:1000"`
	Comm string `json:"comm,omitempty" column:"comm,template:comm,order:1001"`

	Uid uint32 `json:"uid" column:"uid,template:uid,hide"`
	Gid uint32 `json:"gid" column:"gid,template:gid,hide"`

	IPVersion int `json:"ipversion,omitempty" column:"ip,template:ipversion,order:1005"`

	State    string `json:"state,omitempty" column:"state,minWidth:9,maxWidth:12,order:5000"`
	Tcpflags string `json:"tcpflags,omitempty" column:"tcpflags,minWidth:7,maxWidth:31,order:5001"`

	SrcEndpoint eventtypes.L4Endpoint `json:"src,omitempty" column:"src"`
	DstEndpoint eventtypes.L4Endpoint `json:"dst,omitempty" column:"dst"`

	Type string `json:"type,omitempty" column:"type,width:7,fixed,order:9000"`
}

func Base

func Base(ev eventtypes.Event) *Event

func (*Event) GetEndpoints added in v0.18.0

func (e *Event) GetEndpoints() []*eventtypes.L3Endpoint

Jump to

Keyboard shortcuts

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