Documentation
¶
Index ¶
- type BidirectionalEdgeErr
- type CycleErr
- type Edge
- type Graph
- func (g *Graph) AddEdge(src, tgt string) error
- func (g *Graph) AddVertex(key string, label string, class string, healthy bool)
- func (g *Graph) ClearHealthyStatus()
- func (g *Graph) GetVertex(key string) (Vertex, error)
- func (g *Graph) Path(srcKey, tgtKey string) (Subgraph, error)
- func (g *Graph) SetVertexHealth(key string, health bool) error
- func (g *Graph) StartHealthCheckLoop(ctx context.Context, checkInterval time.Duration)
- func (g *Graph) Stats() Stats
- func (g *Graph) VertexDependencies(key string, all bool) (Subgraph, error)
- func (g *Graph) VertexDependents(key string, all bool) (Subgraph, error)
- func (g *Graph) VertexNeighbors(key string) (Subgraph, error)
- type Stats
- type Subgraph
- type Vertex
- type VertexNotFoundErr
- type VertexPathErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BidirectionalEdgeErr ¶ added in v2.3.0
type BidirectionalEdgeErr struct {
Src, Tgt string
}
func (BidirectionalEdgeErr) Error ¶ added in v2.3.0
func (e BidirectionalEdgeErr) Error() string
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
func NewSoAGraph ¶ added in v2.3.0
func (*Graph) ClearHealthyStatus ¶ added in v2.3.0
func (g *Graph) ClearHealthyStatus()
func (*Graph) StartHealthCheckLoop ¶
func (*Graph) VertexDependencies ¶
func (*Graph) VertexDependents ¶
type VertexNotFoundErr ¶ added in v2.3.0
type VertexNotFoundErr struct {
Key string
}
func (VertexNotFoundErr) Error ¶ added in v2.3.0
func (e VertexNotFoundErr) Error() string
type VertexPathErr ¶ added in v2.3.0
func (VertexPathErr) Error ¶ added in v2.3.0
func (e VertexPathErr) Error() string
Click to show internal directories.
Click to hide internal directories.