Documentation
¶
Index ¶
- type BidirectionalEdgeError
- type CycleError
- type Edge
- type EdgeNotFoundError
- type Graph
- func (g *Graph) EdgeLen() int
- func (g *Graph) GetVertexByLabel(label string) (Vertex, error)
- func (g *Graph) GetVertexDependencies(label string, all bool) (Subgraph, error)
- func (g *Graph) GetVertexDependents(label string, all bool) (Subgraph, error)
- func (g *Graph) Neighbors(label string) (Subgraph, error)
- func (g *Graph) NewEdge(label, a, b string) error
- func (g *Graph) NewVertex(label string)
- func (g *Graph) Path(from, to string) (Subgraph, error)
- func (g *Graph) SetVertexHealth(label string, health bool) error
- func (g *Graph) UnhealthyNodes() []Vertex
- func (g *Graph) VertexLen() int
- type Subgraph
- type Vertex
- type VertexNilError
- type VertexNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BidirectionalEdgeError ¶ added in v1.4.0
func (BidirectionalEdgeError) Error ¶ added in v1.4.0
func (e BidirectionalEdgeError) Error() string
type CycleError ¶ added in v1.4.0
func (CycleError) Error ¶ added in v1.4.0
func (e CycleError) Error() string
type EdgeNotFoundError ¶ added in v1.4.0
func (EdgeNotFoundError) Error ¶ added in v1.4.0
func (e EdgeNotFoundError) Error() string
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
func (*Graph) GetVertexDependencies ¶
func (*Graph) GetVertexDependents ¶
func (*Graph) SetVertexHealth ¶ added in v1.2.0
func (*Graph) UnhealthyNodes ¶ added in v1.5.0
type VertexNilError ¶ added in v1.4.0
type VertexNilError struct {
// contains filtered or unexported fields
}
func (VertexNilError) Error ¶ added in v1.4.0
func (e VertexNilError) Error() string
type VertexNotFoundError ¶ added in v1.4.0
type VertexNotFoundError struct {
Label string
}
func (VertexNotFoundError) Error ¶ added in v1.4.0
func (e VertexNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.