flowrecord

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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
	EgressName                           string
	EgressIP                             string
	AppProtocolName                      string
	HttpVals                             string
}

func GetFlowRecord

func GetFlowRecord(record ipfixentities.Record) *FlowRecord

GetFlowRecord converts ipfixentities.Record to FlowRecord

func GetTestFlowRecord

func GetTestFlowRecord() *FlowRecord

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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