Documentation
¶
Index ¶
Constants ¶
View Source
const ( ADD = "ADD" UPDATE = "UPDATE" DELETE = "DELETE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type Aggregator struct {
// contains filtered or unexported fields
}
func NewAggregator ¶
func (*Aggregator) Run ¶
func (a *Aggregator) Run()
type ClusterInfo ¶
type ClusterInfo struct {
PodIPToPodUid map[string]types.UID `json:"podIPToPodUid"`
ServiceIPToServiceUid map[string]types.UID `json:"serviceIPToServiceUid"`
PidToSocketMap0 map[uint32]*SocketMap `json:"pidToSocketMap0"` // pid ending with 0-1
PidToSocketMap1 map[uint32]*SocketMap `json:"pidToSocketMap1"` // pid ending with 2-3
PidToSocketMap2 map[uint32]*SocketMap `json:"pidToSocketMap2"` // pid ending with 4-5
PidToSocketMap3 map[uint32]*SocketMap `json:"pidToSocketMap3"` // pid ending with 6-7
PidToSocketMap4 map[uint32]*SocketMap `json:"pidToSocketMap4"` // pid ending with 8-9
// contains filtered or unexported fields
}
type FrameArrival ¶ added in v0.3.0
type SocketLine ¶
type SocketLine struct {
Values []TimestampedSocket
// contains filtered or unexported fields
}
func NewSocketLine ¶
func NewSocketLine(pid uint32, fd uint64) *SocketLine
func (*SocketLine) AddValue ¶
func (nl *SocketLine) AddValue(timestamp uint64, sockInfo *SockInfo)
func (*SocketLine) DeleteUnused ¶
func (nl *SocketLine) DeleteUnused()
func (*SocketLine) GetAlreadyExistingSockets ¶
func (nl *SocketLine) GetAlreadyExistingSockets()
type SocketMap ¶
type SocketMap struct {
M map[uint64]*SocketLine `json:"fdToSockLine"` // fd -> SockLine
// contains filtered or unexported fields
}
type SocketMap
type TimestampedSocket ¶
Click to show internal directories.
Click to hide internal directories.