Versions in this module Expand all Collapse all v0 v0.0.1 Sep 21, 2023 Changes in this version + type Edge struct + ID string + Source string + Target string + Traffic struct{ ... } + func (e *Edge) HasSources(ids ...string) bool + func (e *Edge) HasTargets(ids ...string) bool + type Edges []*Edge + func (e Edges) Inbound(n *Node) []string + func (e Edges) Outbound(n *Node) []string + type Graph struct + Duration int + Elements struct{ ... } + GraphType string + Timestamp int + func LoadGraphInfo(ns ...string) (*Graph, error) + func (g *Graph) GetEdges() Edges + func (g *Graph) GetNodes() Nodes + func (g *Graph) Inbound(n *Node) Nodes + func (g *Graph) Outbound(n *Node) Nodes + type Node struct + App string + DestServices []struct{ ... } + ID string + IsServiceEntry string + Namespace string + NodeType string + Service string + Traffic []struct{ ... } + Version string + Workload string + func (n *Node) GetName() string + func (n *Node) Selector() string + type Nodes map[string]*Node + func (n Nodes) FullNames() []string + func (n Nodes) Get(name string) *Node + func (n Nodes) Join(o Nodes) Nodes + func (n Nodes) SelectOne() (*Node, error)