artifact_fetch

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: 10 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(languages map[string]language.Language, f fetcher.Fetcher) *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)

func (*Node) GetDependencies

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

func (*Node) Kind

func (n *Node) Kind() string

func (*Node) Read

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

type Output

type Output struct {
	dag_impl.BaseOutput `json:",inline"`
	Extractions         []routes.ArtifactExtraction `json:"extractions"`
}

Output is the output of the artifact_fetch node.

func NewOutput

func NewOutput(status executiondag.Status, statusReason string, extractions []routes.ArtifactExtraction, input dag_impl.Input) *Output

func (*Output) GetExtraction

func (o *Output) GetExtraction(ecosystem, packageName string) *routes.ArtifactExtraction

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