Documentation
¶
Index ¶
- func SearchDependentsFromStartPackage(ctx context.Context, gqlClient graphql.Client, startID string, stopID *string, ...) (map[string]BfsNode, []string, error)
- func TopoSortFromBfsNodeMap(ctx context.Context, gqlClient graphql.Client, nodeMap map[string]BfsNode) (map[int][]string, []string, error)
- type BfsNode
- type NodeType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchDependentsFromStartPackage ¶ added in v0.1.2
Types ¶
type BfsNode ¶ added in v0.1.2
type BfsNode struct {
Expanded bool // true once all node neighbors are added to queue
Parents []string
Depth int
Type NodeType
PointOfContact model.AllPointOfContact
NotInBlastRadius bool // true if it is solely an informational node, not to be included in the blast radius subgraph
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.