Documentation
¶
Overview ¶
Package processor provides functionality for processing artifacts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessArtifact ¶
func ProcessArtifact( ctx context.Context, logger *logrus.Logger, mirror *mirror.DefaultMirror, artifact *core.Artifact, opts *core.MirrorOptions, ) error
ProcessArtifact processes an artifact using an appropriate mirroring strategy. It checks if the artifact is a zip file by inspecting its location; if so, it extracts the contents using handleZipExtraction and mirrors the resulting file, otherwise, it mirrors the artifact directly. Any error encountered during extraction or mirroring is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.