pkg/

directory
v0.0.0-...-3696fcf Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package baseline resolves and materializes a git revision into a tempdir so `flate diff` can run without an explicit --path-orig.
Package baseline resolves and materializes a git revision into a tempdir so `flate diff` can run without an explicit --path-orig.
Package change computes file-level differences between two filesystem trees and maps them onto the Flux resources they affect.
Package change computes file-level differences between two filesystem trees and maps them onto the Flux resources they affect.
controllers
base
Package base provides the shared lifecycle harness every flate controller wraps around its per-resource reconcile body.
Package base provides the shared lifecycle harness every flate controller wraps around its per-resource reconcile body.
helmrelease
Package helmrelease implements the HelmReleaseController.
Package helmrelease implements the HelmReleaseController.
kustomization
Package kustomization reconciles Flux Kustomizations: wait on dependsOn / sourceRef / structural parent, resolve postBuild substitutions, run the kustomize SDK, parse the result back into the Store, and publish a KustomizationArtifact.
Package kustomization reconciles Flux Kustomizations: wait on dependsOn / sourceRef / structural parent, resolve postBuild substitutions, run the kustomize SDK, parse the result back into the Store, and publish a KustomizationArtifact.
source
Package source reconciles Flux source CRs (GitRepository, OCIRepository, Bucket, ExternalArtifact, HelmRepository) into on-disk artifacts via per-kind Fetcher implementations from pkg/source, then publishes the result to the Store.
Package source reconciles Flux source CRs (GitRepository, OCIRepository, Bucket, ExternalArtifact, HelmRepository) into on-disk artifacts via per-kind Fetcher implementations from pkg/source, then publishes the result to the Store.
Package depwait blocks a controller until a set of NamedResource dependencies become Ready (or, for kinds without a status pipeline, merely exist) — with per-dep timeouts and fail-fast for missing refs.
Package depwait blocks a controller until a set of NamedResource dependencies become Ready (or, for kinds without a status pipeline, merely exist) — with per-dep timeouts and fail-fast for missing refs.
Package diff produces structured diffs between two sets of rendered Kubernetes manifests.
Package diff produces structured diffs between two sets of rendered Kubernetes manifests.
Package discovery owns flate's filesystem-to-store hydration phase: walking the user's working tree, expanding spec.path references, aliasing in-cluster-bootstrapped sources, rendering ResourceSets, and computing the structural-parent index.
Package discovery owns flate's filesystem-to-store hydration phase: walking the user's working tree, expanding spec.path references, aliasing in-cluster-bootstrapped sources, rendering ResourceSets, and computing the structural-parent index.
Package helm wraps helm.sh/helm/v4 to render HelmReleases without shelling out to the `helm` binary.
Package helm wraps helm.sh/helm/v4 to render HelmReleases without shelling out to the `helm` binary.
Package image discovers container images inside rendered Kubernetes manifests by parsing string values, not by hard-coding a table of kinds and field names.
Package image discovers container images inside rendered Kubernetes manifests by parsing string values, not by hard-coding a table of kinds and field names.
Package kustomize wraps sigs.k8s.io/kustomize/api so the rest of flate never invokes the `kustomize` CLI.
Package kustomize wraps sigs.k8s.io/kustomize/api so the rest of flate never invokes the `kustomize` CLI.
Package loader implements Loader — the entry point that scans a local filesystem path, decodes every YAML document found, and adds the recognized Flux objects to a Store.
Package loader implements Loader — the entry point that scans a local filesystem path, decodes every YAML document found, and adds the recognized Flux objects to a Store.
Package manifest defines the data model for Flux GitOps resources as observed locally in a Git repository.
Package manifest defines the data model for Flux GitOps resources as observed locally in a Git repository.
Package orchestrator wires the controllers together and runs the reconcile loop.
Package orchestrator wires the controllers together and runs the reconcile loop.
Package resourceset renders flux-operator ResourceSet CRs offline.
Package resourceset renders flux-operator ResourceSet CRs offline.
Package selector implements metadata filtering used by every flate command.
Package selector implements metadata filtering used by every flate command.
Package source implements SourceController — reconciles GitRepository and OCIRepository resources by fetching the underlying artifact into a content-addressed on-disk cache and publishing a *store.GitArtifact or *store.OCIArtifact for downstream controllers.
Package source implements SourceController — reconciles GitRepository and OCIRepository resources by fetching the underlying artifact into a content-addressed on-disk cache and publishing a *store.GitArtifact or *store.OCIArtifact for downstream controllers.
atomic
Package atomic carries the small "stage-then-rename" file write helper every flate cache writer used to reinvent (helm.writeAtomic, oci.writeCachedDigest, oci.writeVerifyMarker, blob.Refs.Put).
Package atomic carries the small "stage-then-rename" file write helper every flate cache writer used to reinvent (helm.writeAtomic, oci.writeCachedDigest, oci.writeVerifyMarker, blob.Refs.Put).
blob
Package blob is a small content-addressed storage layer for flate's fetched artifacts.
Package blob is a small content-addressed storage layer for flate's fetched artifacts.
bucket
Package bucket implements the source.Fetcher for KindBucket (S3-compatible object storage via minio-go).
Package bucket implements the source.Fetcher for KindBucket (S3-compatible object storage via minio-go).
cacheroot
Package cacheroot owns the layout of flate's on-disk cache.
Package cacheroot owns the layout of flate's on-disk cache.
external
Package external implements the source.Fetcher for KindExternalArtifact (third-party-published artifacts under Flux's source-controller schema).
Package external implements the source.Fetcher for KindExternalArtifact (third-party-published artifacts under Flux's source-controller schema).
git
Package git implements the source.Fetcher for KindGitRepository.
Package git implements the source.Fetcher for KindGitRepository.
gittree
Package gittree materializes a git commit's tree to disk, writing every blob as a regular file (or real symlink, where applicable), in parallel.
Package gittree materializes a git commit's tree to disk, writing every blob as a regular file (or real symlink, where applicable), in parallel.
oci
Package oci implements the source.Fetcher for KindOCIRepository via oras-go.
Package oci implements the source.Fetcher for KindOCIRepository via oras-go.
Package store is the central, in-memory state container for the controller pipeline.
Package store is the central, in-memory state container for the controller pipeline.
Package task provides a lightweight goroutine lifecycle manager modeled on flux-local's TaskService.
Package task provides a lightweight goroutine lifecycle manager modeled on flux-local's TaskService.
Package values implements HelmRelease values resolution and Kustomization postBuild substitution.
Package values implements HelmRelease values resolution and Kustomization postBuild substitution.

Jump to

Keyboard shortcuts

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