common

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EpDecoder

type EpDecoder interface {
	Decode(ip netip.Addr) *flow.Endpoint
	IsEndpointOnLocalHost(ip string) bool
}

func NewEpDecoder

func NewEpDecoder(c *ipc.IPCache, lc LabelCache) EpDecoder

type LabelCache added in v1.0.3

type LabelCache interface {
	// GetLabelsFromSecurityIdentity returns the labels for a given security identity.
	GetLabelsFromSecurityIdentity(identity.NumericIdentity) []string
}

LabelCache provides a cache for retrieving security labels associated with Cilium identities.

type SvcDecoder added in v0.0.30

type SvcDecoder interface {
	Decode(ip netip.Addr) *flow.Service
}

Jump to

Keyboard shortcuts

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