Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentTimeGetter ¶ added in v0.3.0
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func (*Collector) GetMetricsChan ¶
func (a *Collector) GetMetricsChan() <-chan PodNetworkMetric
type PodNetworkMetric ¶
type PodNetworkMetric struct { SrcIP string `json:"src_ip"` SrcPod string `json:"src_pod,omitempty"` SrcNamespace string `json:"src_namespace,omitempty"` SrcNode string `json:"src_node,omitempty"` SrcZone string `json:"src_zone,omitempty"` DstIP string `json:"dst_ip"` DstIPType string `json:"dst_ip_type"` DstPod string `json:"dst_pod,omitempty"` DstNamespace string `json:"dst_namespace,omitempty"` DstNode string `json:"dst_node,omitempty"` DstZone string `json:"dst_zone,omitempty"` TxBytes uint64 `json:"tx_bytes"` TxPackets uint64 `json:"tx_packets"` RxBytes uint64 `json:"rx_bytes"` RxPackets uint64 `json:"rx_packets"` Proto string `json:"proto"` TS uint64 `json:"ts"` }
Click to show internal directories.
Click to hide internal directories.