oci

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: 30 Imported by: 0

Documentation

Overview

Package oci fetches verified OCI source layers through the shared acquisition cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher struct {
	Cache          *cache.Cache
	RegistryConfig string

	// Network is the required non-nil invocation owner, borrowed by this fetcher.
	Network *source.Network
}

Fetcher is the Fetcher implementation for KindOCIRepository. RegistryConfig is the global --registry-config docker-style config.json path used when no per-repo SecretRef is set. Each Fetch resolves per-repository credentials through its captured inputs.

func (*Fetcher) Fetch

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

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

func (*Fetcher) FetchChart added in v0.7.3

func (f *Fetcher) FetchChart(
	ctx context.Context,
	repo *manifest.OCIRepository,
	reads *store.ReadSet,
	policyValue *cache.Policy,
) (source.PreparedFetch, error)

FetchChart acquires chart layers using Helm's supported media types.

func (*Fetcher) FetchInputs added in v0.7.3

func (f *Fetcher) FetchInputs(
	ctx context.Context,
	provider *manifest.ResourceSetInputProvider,
	reads *store.ReadSet,
	policyValue *cache.Policy,
) (source.PreparedFetch, error)

FetchInputs acquires evaluated registry tag inputs as an inputs.json artifact.

Jump to

Keyboard shortcuts

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