artifacts

package
v0.0.0-...-5a0513b Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("artifact not found")

Functions

func UncompressedReaderFromArtifact

func UncompressedReaderFromArtifact(artifact Artifact, dir string) (io.ReadCloser, error)

Types

type Artifact

type Artifact interface {
	Name() string
	FileName() string
	ManifestFileName() string
	GzFileName() string
	DisplayName() string
	GenRequired() bool
	Compressible() bool
	GenerateManifest() bool
}

func New

func New(name, displayName string, genRequired, compressible, manifest bool) Artifact

func ToSlice

func ToSlice[T Artifact](as []T) []Artifact

Jump to

Keyboard shortcuts

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