eventsmap

package
v1.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Overview

Package eventsmap represents the perf event map used by the datapath to send events to the Cilium agent. It is primarily managed from the datapath; Cilium side is used to create the map only. +groupName=maps

Index

Constants

View Source
const (
	// MapName is the BPF map name.
	MapName = "cilium_events"
)

Variables

View Source
var Cell = cell.Module(
	"events-map",
	"eBPF ring buffer of cilium events",

	cell.Provide(newEventsMap),
)

Cell provides eventsmap.Map, which is the hive representation of the cilium events perf event ring buffer.

View Source
var (
	MaxEntries int
)

Functions

This section is empty.

Types

type Key

type Key struct {
	// contains filtered or unexported fields
}

Key is the index into the prog array map.

func (*Key) New

func (k *Key) New() bpf.MapKey

func (*Key) String

func (k *Key) String() string

String converts the key into a human readable string format.

type Map

type Map interface{}

type Value

type Value struct {
	// contains filtered or unexported fields
}

Value is the program ID in the prog array map.

func (*Value) New

func (v *Value) New() bpf.MapValue

func (*Value) String

func (v *Value) String() string

String converts the value into a human readable string format.

Jump to

Keyboard shortcuts

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