Documentation
¶
Index ¶
- type Mode
- type NodeList
- func (nl *NodeList) DrawLevels(level int)
- func (nl *NodeList) GetInvisible(name string) dot.Node
- func (nl *NodeList) GetLeaf(name string) dot.Node
- func (nl *NodeList) GetNode(name string) dot.Node
- func (nl *NodeList) GetRouter(name string) dot.Node
- func (nl *NodeList) GetSwitch(name string) dot.Node
- type OVNPlot
- type OvnKubeGraphNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeList ¶
type NodeList struct {
// contains filtered or unexported fields
}
NodeList holds all nodes for a given graph.
func NewNodeList ¶
NewNodeList initializes a new node list.
func (*NodeList) DrawLevels ¶
DrawLevels draws the levels for the compact graph.
type OVNPlot ¶
type OVNPlot struct {
// contains filtered or unexported fields
}
OVNPlot traverses the OVN database. In order to do so, it must connect to the OVN NB client which is stored in client.
func (*OVNPlot) CompactPlot ¶
CompactPlot draws a compact plot of the OVN Northbound database. Ideal for an overview of more complex systems as it provides a cleaner design.
func (*OVNPlot) DetailedPlot ¶
DetailedPlot creates a detailed view of this OVN database.
type OvnKubeGraphNode ¶
OvnKubeGraphNode is a custom type based on dot.Node. It allows us to define a standardized format for the different types, such as Switch(), Router(), Leaf(), Invisible().
func (OvnKubeGraphNode) Invisible ¶
func (d OvnKubeGraphNode) Invisible() dot.Node
func (OvnKubeGraphNode) Leaf ¶
func (d OvnKubeGraphNode) Leaf() dot.Node
func (OvnKubeGraphNode) Router ¶
func (d OvnKubeGraphNode) Router() dot.Node
func (OvnKubeGraphNode) Switch ¶
func (d OvnKubeGraphNode) Switch() dot.Node