git_resolve

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitErrorDetails

type GitErrorDetails struct {
	Type      string `json:"type"`
	Message   string `json:"message"`
	GitOutput string `json:"git_output,omitempty"`
}

type Node

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

func NewNode

func NewNode(isLocal bool, deps []any) *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
	Commit          string           `json:"commit,omitempty"`
	NormalizedURL   string           `json:"normalized_url,omitempty"`
	IsPrivate       bool             `json:"is_private,omitempty"`
	UnsupportedVCS  bool             `json:"unsupported_vcs,omitempty"`
	GitErrorDetails *GitErrorDetails `json:"git_error_details,omitempty"`
}

func NewOutput

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

func NewOutputWithError

func NewOutputWithError(status executiondag.Status, statusReason string, gitErr *GitErrorDetails, 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