common

package
v1.13.13 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterCIDRLabels

func FilterCIDRLabels(log logrus.FieldLogger, labels []string) []string

func SortAndFilterLabels

func SortAndFilterLabels(log logrus.FieldLogger, labels []string, securityIdentity identity.NumericIdentity) []string

Types

type DatapathContext added in v1.13.11

type DatapathContext struct {
	SrcIP                 net.IP
	SrcLabelID            uint32
	DstIP                 net.IP
	DstLabelID            uint32
	TraceObservationPoint pb.TraceObservationPoint
}

type EndpointResolver

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

func NewEndpointResolver

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

func (*EndpointResolver) ResolveEndpoint

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

Jump to

Keyboard shortcuts

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