Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
flate
command
flate — local validator for Flux GitOps repositories.
|
flate — local validator for Flux GitOps repositories. |
|
internal
|
|
|
cli
Package cli wires flate's command-line interface using cobra.
|
Package cli wires flate's command-line interface using cobra. |
|
format
Package format provides the table, YAML, JSON, and "name" output modes used across flate's CLI surface.
|
Package format provides the table, YAML, JSON, and "name" output modes used across flate's CLI surface. |
|
keylock
Package keylock provides per-key mutual-exclusion locks that honor context cancellation.
|
Package keylock provides per-key mutual-exclusion locks that honor context cancellation. |
|
testrunner
Package testrunner implements `flate test`.
|
Package testrunner implements `flate test`. |
|
testutil
Package testutil is shared fixture scaffolding for tests across the repo — kept minimal so each test file stays self-describing.
|
Package testutil is shared fixture scaffolding for tests across the repo — kept minimal so each test file stays self-describing. |
|
pkg
|
|
|
baseline
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. |
|
change
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. |
|
controllers/helmrelease
Package helmrelease implements the HelmReleaseController.
|
Package helmrelease implements the HelmReleaseController. |
|
controllers/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. |
|
controllers/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. |
|
depwait
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. |
|
diff
Package diff produces structured diffs between two sets of rendered Kubernetes manifests.
|
Package diff produces structured diffs between two sets of rendered Kubernetes manifests. |
|
discovery
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. |
|
helm
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. |
|
image
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. |
|
kustomize
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. |
|
loader
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. |
|
manifest
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. |
|
orchestrator
Package orchestrator wires the controllers together and runs the reconcile loop.
|
Package orchestrator wires the controllers together and runs the reconcile loop. |
|
resourceset
Package resourceset renders flux-operator ResourceSet CRs offline.
|
Package resourceset renders flux-operator ResourceSet CRs offline. |
|
selector
Package selector implements metadata filtering used by every flate command.
|
Package selector implements metadata filtering used by every flate command. |
|
source
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. |
|
source/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). |
|
source/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. |
|
source/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). |
|
source/cacheroot
Package cacheroot owns the layout of flate's on-disk cache.
|
Package cacheroot owns the layout of flate's on-disk cache. |
|
source/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). |
|
source/git
Package git implements the source.Fetcher for KindGitRepository.
|
Package git implements the source.Fetcher for KindGitRepository. |
|
source/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. |
|
source/oci
Package oci implements the source.Fetcher for KindOCIRepository via oras-go.
|
Package oci implements the source.Fetcher for KindOCIRepository via oras-go. |
|
store
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. |
|
task
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. |
|
values
Package values implements HelmRelease values resolution and Kustomization postBuild substitution.
|
Package values implements HelmRelease values resolution and Kustomization postBuild substitution. |
Click to show internal directories.
Click to hide internal directories.