Documentation
¶
Overview ¶
Package external implements source.TypedFetcher for ExternalArtifact. ExternalArtifact is published by a third-party controller into a live cluster; flate runs offline and cannot reach that controller. Only status.artifact URLs pre-filled with a file:// scheme are resolvable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher struct{}
Fetcher is the stateless source.TypedFetcher for ExternalArtifact CRs. Requires status.artifact.url to be a file:// path; all other URLs are offline-unresolvable and return an actionable error.
func (*Fetcher) Fetch ¶
func (f *Fetcher) Fetch(_ context.Context, ea *manifest.ExternalArtifact) (*store.SourceArtifact, error)
Fetch implements source.TypedFetcher[*manifest.ExternalArtifact]. Wrapped via source.Wrap at orchestrator registration.
Click to show internal directories.
Click to hide internal directories.