Help us shape the future of Go! Take the 2026 Go Developer Survey

common

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterCIDRLabels

func FilterCIDRLabels(log *slog.Logger, labels []string) []string

func SortAndFilterLabels

func SortAndFilterLabels(log *slog.Logger, labels []string, securityIdentity identity.NumericIdentity) []string

Types

type DatapathContext added in v1.13.11

type DatapathContext struct {
	SrcIP                 netip.Addr
	SrcLabelID            uint32
	DstIP                 netip.Addr
	DstLabelID            uint32
	TraceObservationPoint pb.TraceObservationPoint
}

type EndpointResolver

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

func NewEndpointResolver

func NewEndpointResolver(
	log *slog.Logger,
	endpointGetter getters.EndpointGetter,
	identityGetter getters.IdentityGetter,
	ipGetter getters.IPGetter,
) *EndpointResolver

func (*EndpointResolver) ResolveEndpoint

func (r *EndpointResolver) ResolveEndpoint(ip netip.Addr, datapathSecurityIdentity uint32, context DatapathContext) *pb.Endpoint

Jump to

Keyboard shortcuts

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