Versions in this module Expand all Collapse all v0 v0.2.253 Apr 7, 2025 Changes in this version + const ExternalTrafficType + const HostPktType + const InternalTrafficType + const OutgoingPktType + var DefaultLabelsToIgnore = map[string]struct + func FilterLabels(labels map[string]string) map[string]string + func GenerateNetworkNeighborsCRD(parentWorkload k8sinterface.IWorkload, ...) *v1beta1.NetworkNeighbors + func GenerateNetworkNeighborsNameFromWlid(parentWlid string) string + func GeneratePortIdentifier(protocol string, port int32) string + func GeneratePortIdentifierFromEvent(networkEvent NetworkEvent) string + type Destination struct + IPAddress string + Kind EndpointKind + Name string + Namespace string + PodLabels string + type EndpointKind string + const EndpointKindPod + const EndpointKindRaw + const EndpointKindService + type NetworkEvent struct + Destination Destination + PktType string + PodLabels string + Port uint16 + Protocol string + func (ne *NetworkEvent) GetDestinationPodLabels() map[string]string + func (ne *NetworkEvent) SetDestinationPodLabels(podLabels map[string]string) + func (ne *NetworkEvent) SetPodLabels(podLabels map[string]string) + func (ne *NetworkEvent) String() string + type NetworkManagerClient interface + ContainerCallback func(notif containercollection.PubSubEvent) + ContainerReachedMaxTime func(containerID string) + ReportDroppedEvent func(k8sContainerID string) + ReportNetworkEvent func(k8sContainerID string, event tracernetworktype.Event) + type NetworkManagerMock struct + func CreateNetworkManagerMock() *NetworkManagerMock + func (am *NetworkManagerMock) ContainerCallback(_ containercollection.PubSubEvent) + func (am *NetworkManagerMock) ContainerReachedMaxTime(_ string) + func (am *NetworkManagerMock) ReportDroppedEvent(_ string) + func (am *NetworkManagerMock) ReportNetworkEvent(_ string, _ tracernetworktype.Event)