deps_extractor

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepsProvenance

type DepsProvenance string
const (
	DepsFromSource  DepsProvenance = "source"
	DepsFromPackage DepsProvenance = "package"
)

type Node

type Node struct{}

func NewNode

func NewNode() *Node

func (*Node) AllowAutoSkip

func (n *Node) AllowAutoSkip() bool

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)

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"`
	DepsSource          DepsProvenance        `json:"deps_source"`
	SourceFreeDeps      []models.Dependency   `json:"source_free_deps"`
	SourceLockfileEdges []models.DepsTreeEdge `json:"source_lockfile_edges"`
	PackageFreeDeps     []models.Dependency   `json:"package_free_deps"`
}

func NewOutput

func NewOutput(status executiondag.Status, statusReason string, input dag_impl.Input) *Output

func (*Output) PersistKey

func (o *Output) PersistKey() string

Jump to

Keyboard shortcuts

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