distro

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package distro derives extra mirrored images from a distribution manifests artifact, for charts whose workload images are deployed by an operator from manifests helm never renders. Image discovery cannot see those images, and hand-pinned extras drift as soon as upstream cuts a release. The artifact (pulled at the tag matching the vendored chart's appVersion) carries <product>/<version>/<component>.yaml manifest trees; the newest version present is what the pinned operator deploys, and each named component's Deployment image joins the derived set.

The derived entries land in the generated images.extra.yaml sidecar, never in manifest.yaml: the manifest stays a pure intent file, and the sidecar merges in during discovery.

Index

Constants

View Source
const DefaultRegistry = "ghcr.io"

DefaultRegistry prefixes registry-less image references found in distribution manifests (the deploying operator prefixes its configured registry the same way; the mirror preserves the canonical home).

Variables

This section is empty.

Functions

func Derive

func Derive(archive io.Reader, components []string, registry, artifactRef string) ([]spec.ExtraImage, error)

Derive reads a flattened distribution-manifests filesystem (a tar stream) and derives one extra image per named component from the newest version tree present, which is the version the release-frozen artifact's operator deploys. artifactRef appears in the derived reasons so a reviewer can trace where each pin came from.

Types

This section is empty.

Jump to

Keyboard shortcuts

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