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 NewAggregator(parentCtx context.Context, k8sChan <-chan interface{}, ec *ebpf.EbpfCollector, ds datastore.DataStore) *Aggregator
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"` // Pid -> SocketMap // pid -> fd -> {saddr, sport, daddr, dport} PidToSocketMap map[uint32]*SocketMap `json:"pidToSocketMap"` // 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.