package_detector

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Description string `json:"description,omitempty"`
	// contains filtered or unexported fields
}

func NewNode

func NewNode(ecosystems []def.Ecosystem) *Node

func (*Node) CreateSkippedOutput

func (n *Node) CreateSkippedOutput(reason string, input dag_impl.Input) *Output

func (*Node) Execute

func (n *Node) Execute(ctx context.Context, input dag_impl.Input) (*Output, error)

Execute detects packages in the repository. Returns Output with detected packages that will be merged into input for downstream nodes.

func (*Node) GetDependencies

func (n *Node) GetDependencies() []any

func (*Node) Kind

func (n *Node) Kind() string

type Output

type Output struct {
	dag_impl.BaseOutput `json:",inline"`
	DetectedManifests   []models.ManifestResult `json:"detected_manifests"`
}

func NewOutput

func NewOutput(status executiondag.Status, statusReason string, manifests []models.ManifestResult, input dag_impl.Input) *Output

func (*Output) GetAllDependencies

func (o *Output) GetAllDependencies() []models.Dependency

func (*Output) GetAllLockfileDependencies

func (o *Output) GetAllLockfileDependencies() []models.DepsTreeEdge

func (*Output) GetParseErrors

func (o *Output) GetParseErrors() []models.ParseError

func (*Output) PersistKey

func (o *Output) PersistKey() string

func (*Output) Summary

func (o *Output) Summary(outputDir string) executiondag.NodeSummary

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL