Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlowRecord ¶
type FlowRecord struct { FlowStartSeconds time.Time FlowEndSeconds time.Time FlowEndSecondsFromSourceNode time.Time FlowEndSecondsFromDestinationNode time.Time FlowEndReason uint8 SourceIP string DestinationIP string SourceTransportPort uint16 DestinationTransportPort uint16 ProtocolIdentifier uint8 PacketTotalCount uint64 OctetTotalCount uint64 PacketDeltaCount uint64 OctetDeltaCount uint64 ReversePacketTotalCount uint64 ReverseOctetTotalCount uint64 ReversePacketDeltaCount uint64 ReverseOctetDeltaCount uint64 SourcePodName string SourcePodNamespace string SourceNodeName string DestinationPodName string DestinationPodNamespace string DestinationNodeName string DestinationClusterIP string DestinationServicePort uint16 DestinationServicePortName string IngressNetworkPolicyName string IngressNetworkPolicyNamespace string IngressNetworkPolicyRuleName string IngressNetworkPolicyRuleAction uint8 IngressNetworkPolicyType uint8 EgressNetworkPolicyName string EgressNetworkPolicyNamespace string EgressNetworkPolicyRuleName string EgressNetworkPolicyRuleAction uint8 EgressNetworkPolicyType uint8 TcpState string FlowType uint8 SourcePodLabels string DestinationPodLabels string Throughput uint64 ReverseThroughput uint64 ThroughputFromSourceNode uint64 ThroughputFromDestinationNode uint64 ReverseThroughputFromSourceNode uint64 ReverseThroughputFromDestinationNode uint64 }
func GetFlowRecord ¶
func GetFlowRecord(record ipfixentities.Record) *FlowRecord
GetFlowRecord converts ipfixentities.Record to FlowRecord
func GetTestFlowRecord ¶
func GetTestFlowRecord() *FlowRecord
Click to show internal directories.
Click to hide internal directories.