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: 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

	Pid  uint32 `json:"pid,omitempty" column:"pid,template:pid"`
	Comm string `json:"comm,omitempty" column:"comm,template:comm"`
	// The most common signals are SIGKILL, SIGTERM, SIGINT (6 chars) and the
	// longest is SIGRTMIN+XX (11 chars).
	Signal    string `json:"signal,omitempty" column:"signal,minWidth:6,maxWidth:11,ellipsis:start"`
	TargetPid uint32 `json:"tpid,omitempty" column:"tpid,template:pid"`
	Retval    int    `json:"ret,omitempty" column:"ret,width:3,fixed"`
	Uid       uint32 `json:"uid" column:"uid,template:uid,hide"`
	Gid       uint32 `json:"gid" column:"gid,template:gid,hide"`
}

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