artifact

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedRefType = errors.New("unsupported artifact reference type")
	ErrMissingFilePath    = errors.New("missing file path for file artifact")
	ErrUnsupportedFile    = errors.New("file artifact path is not a regular file")
)

Functions

This section is empty.

Types

type CompositeReader

type CompositeReader struct {
	// contains filtered or unexported fields
}

CompositeReader routes artifact resolution based on the reference type.

func (*CompositeReader) Read

type Reader

type Reader interface {
	Read(ctx context.Context, ref domain.ArtifactRef) (*domain.Artifact, error)
}

Reader resolves artifact references into actual artifacts.

func NewCompositeReader

func NewCompositeReader() Reader

Jump to

Keyboard shortcuts

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