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 ¶
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 (*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.
func (*Fetcher) FetchDependency ¶
func (f *Fetcher) FetchDependency( ctx context.Context, namespace string, dependency *chart.Dependency, index *manifest.DiscoveryIndex, reads *store.ReadSet, policy *cache.Policy, probe bool, ) (source.PreparedFetch, error)
FetchDependency MUST require admission of the selected repository before credential access. A probe MUST capture identities without preparing credentials or transports.