Documentation
¶
Overview ¶
Package oci fetches verified OCI source layers through the shared acquisition cache.
Index ¶
- type Fetcher
- func (f *Fetcher) Fetch(ctx context.Context, repo *manifest.OCIRepository, reads *store.ReadSet, ...) (source.PreparedFetch, error)
- func (f *Fetcher) FetchChart(ctx context.Context, repo *manifest.OCIRepository, reads *store.ReadSet, ...) (source.PreparedFetch, error)
- func (f *Fetcher) FetchInputs(ctx context.Context, provider *manifest.ResourceSetInputProvider, ...) (source.PreparedFetch, error)
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.
Click to show internal directories.
Click to hide internal directories.