helmchart

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Overview

Package helmchart resolves HelmRepository charts through the shared acquisition cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.7.3

type Config struct {
	// Cache remains caller-owned and MUST outlive acquired artifacts.
	Cache *cache.Cache
	// Network is the required non-nil invocation owner, borrowed by this fetcher.
	Network *source.Network
	// Concurrency is the invocation's task budget, from which index decoding borrows a smaller share.
	Concurrency int
	// DisableChartDigestTracking makes exact chart versions immutable cache pins.
	DisableChartDigestTracking bool
}

Config fixes acquisition and chart identity policy before reconciliation.

type Fetcher

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

Fetcher resolves a HelmChart into an immutable source artifact.

func New

func New(oci ociFetcher, cfg Config) *Fetcher

New constructs a fetcher borrowing the caller's cache and required non-nil Network.

func (*Fetcher) Fetch

func (f *Fetcher) Fetch(
	ctx context.Context,
	hc *manifest.HelmChartSource,
	reads *store.ReadSet,
	policyValue *cache.Policy,
) (source.PreparedFetch, error)

Fetch acquires content using one execution's captured credentials and declarations.

Jump to

Keyboard shortcuts

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