Versions in this module Expand all Collapse all v1 v1.0.0 Jan 18, 2024 Changes in this version + type Edge struct + Bytes int + Dport int + Dst string + ID string + Packets int + Protocol string + Sport int + Src string + type FlowGraph struct + Edges map[string]*Edge + Nodes map[string]*Node + func FromVector(m model.Vector, podInfo model.Vector, nodeInfo model.Vector) (*FlowGraph, error) + func NewFlowGraph() *FlowGraph + func (g *FlowGraph) AddEdge(e Edge) + func (g *FlowGraph) AddNode(n Node) + func (g *FlowGraph) SetEdgeBytesFromVector(m model.Vector) + func (g *FlowGraph) SetEdgePacketsFromVector(m model.Vector) + func (g *FlowGraph) ToJSON() ([]byte, error) + type Node struct + ID string + IP string + Name string + Namespace string + NodeName string + Type string v1.0.0-rc.1 Apr 12, 2024