# Functions
AddLayer2Link links the parent and the child node.
AddLink links the parent and the child node with the specified relation type and metadata.
AddOwnershipLink Link between the parent and the child node, the child can have only one parent, previous will be overwritten.
BuildHostNodeTIDMap creates a new node and host (key) map.
ContainerMetadataDecoder implements a json message raw decoder.
GetNextHop returns the next hop to reach a specified IP.
GetOwnershipLink get ownership Link between the parent and the child node or nil.
HaveLayer2Link returns true if parent and child have the same layer 2.
HaveLink returns true if parent and child are linked.
HaveOwnershipLink returns true if parent and child have an ownership link.
InterfaceMetricMetadataDecoder implements a json message raw decoder.
IsInterfaceUp returns whether an interface has the flag UP set.
IsOwnershipLinked checks whether the node has an OwnershipLink.
Layer2Metadata returns metadata for a layer2 link.
NamespaceFromNode returns the namespace name and the path of a node in the graph.
NeighborMetadataDecoder implements a json message raw decoder.
NewLink creates a link between a parent and a child node with the specified relation type and metadata.
NewNetNSContextByNode creates a new network namespace context based on the node.
NewTIDMapper creates a new node mapper in the graph g.
OwnershipMetadata returns metadata for an ownership link.
ReadHosts parses a 'hosts' file such as /etc/hosts.
RegisterContainer registers container metadata decoder.
RoutingTablesMetadataDecoder implements a json message raw decoder.
# Variables
ErrNoNextHop is returned when no next hop could be determined.
ErrNoPathToHost is called when no host could be found as the parent of a node.
IPv4DefaultRoute default IPv4 route.
IPv6DefaultRoute default IPv6 route.
SchemaValidator is the global validator for Skydive resources.
# Structs
ContainerMetadata describe the metadata of a docker container easyjson:json gendecoder.
Hosts describes a /etc/hosts file easyjson:json gendecoder.
InterfaceMetric the interface packets counters easyjson:json gendecoder.
Neighbor describes a member of the forwarding database easyjson:json gendecoder.
NextHop describes a next hop easyjson:json gendecoder.
Route describes a route easyjson:json gendecoder.
RoutingTable describes a list of Routes easyjson:json gendecoder.
TIDMapper describes the hostID nodes stored in a graph the mapper will broadcast node event to the registered listeners.
# Type aliases
HostNodeTIDMap a map that store the value node TID and the key node host.
Neighbors describes a list of neighbors easyjson:json gendecoder.
Prefix describes prefix.
RoutingTables describes a list of routing table easyjson:json gendecoder.