Documentation ¶ Index ¶ func SearchDependenciesFromStartNode(ctx context.Context, gqlClient graphql.Client, startID string, stopID *string, ...) (map[string]DfsNode, error) type DfsNode type NodeType Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SearchDependenciesFromStartNode ¶ func SearchDependenciesFromStartNode(ctx context.Context, gqlClient graphql.Client, startID string, stopID *string, maxDepth int) (map[string]DfsNode, error) TODO: make more robust using predicates Types ¶ type DfsNode ¶ type DfsNode struct { Expanded bool // true once all node neighbors are added to queue Parent string // TODO: turn parent into a list in cause discovered twice from two different nodes Depth int Type NodeType // contains filtered or unexported fields } type NodeType ¶ type NodeType int const ( PackageName NodeType = iota PackageVersion SourceName Artifact ) Source Files ¶ View all Source files patchPlanning.go Click to show internal directories. Click to hide internal directories.