Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
flate
command
flate — local validator for Flux GitOps repositories.
|
flate — local validator for Flux GitOps repositories. |
|
internal
|
|
|
assert
Package assert holds dependency-free test assertion helpers usable from any package's tests.
|
Package assert holds dependency-free test assertion helpers usable from any package's tests. |
|
cas
Package cas holds the atomic content-addressed staging dance used by baseline materialization: build into a sibling temp dir, atomically rename it into the final slot, and — when the rename loses a cross-process race — discard the temp and adopt the winner's already-finalized directory.
|
Package cas holds the atomic content-addressed staging dance used by baseline materialization: build into a sibling temp dir, atomically rename it into the final slot, and — when the rename loses a cross-process race — discard the temp and adopt the winner's already-finalized directory. |
|
cli
Package cli wires flate's command-line interface using cobra.
|
Package cli wires flate's command-line interface using cobra. |
|
diskcache
Package diskcache holds the pieces of the single-flight, mtime-LRU disk-cache sweep used by the helm render cache (pkg/helm).
|
Package diskcache holds the pieces of the single-flight, mtime-LRU disk-cache sweep used by the helm render cache (pkg/helm). |
|
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. |
|
style
Package style is flate's terminal presentation layer: the glyphs, lipgloss color helpers, ANSI-aware truncation, and duration formatting shared by the CLI status bar and the `flate test` report, so both surfaces speak one vocabulary instead of hand-rolling escape codes and symbols.
|
Package style is flate's terminal presentation layer: the glyphs, lipgloss color helpers, ANSI-aware truncation, and duration formatting shared by the CLI status bar and the `flate test` report, so both surfaces speak one vocabulary instead of hand-rolling escape codes and symbols. |
|
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/emit
Package emit holds the render-emission helpers shared by the Kustomization and ResourceSet controllers: both parse a rendered doc set and land the children in the store through the identical two-pass strategy, so the logic lives here exactly once rather than being copied per controller.
|
Package emit holds the render-emission helpers shared by the Kustomization and ResourceSet controllers: both parse a rendered doc set and land the children in the store through the identical two-pass strategy, so the logic lives here exactly once rather than being copied per controller. |
|
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/resourceset
Package resourceset reconciles flux-operator ResourceSets as first-class DAG nodes: wait on dependsOn / inputsFrom RSIPs / the structural parent KS, render the RS via the resourceset package, and emit every child through the standard two-pass emit path.
|
Package resourceset reconciles flux-operator ResourceSets as first-class DAG nodes: wait on dependsOn / inputsFrom RSIPs / the structural parent KS, render the RS via the resourceset package, and emit every child through the standard two-pass emit path. |
|
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 resolves a controller's NamedResource dependencies for the dag scheduler: Classify decides, WITHOUT blocking, whether each dep is Ready, terminally Failed, or still blocked (parkable).
|
Package depwait resolves a controller's NamedResource dependencies for the dag scheduler: Classify decides, WITHOUT blocking, whether each dep is Ready, terminally Failed, or still blocked (parkable). |
|
diff
Package diff compares two sets of rendered Kubernetes manifests and reports the resources whose rendered form differs.
|
Package diff compares two sets of rendered Kubernetes manifests and reports the resources whose rendered form differs. |
|
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. |
|
helm/deterministic
Package deterministic provides drop-in replacements for the nondeterministic functions Helm exposes to chart templates through sprig — the time- and crypto/rand-backed ones (now, randAlphaNum, genCA, …) — so flate renders byte-identically run to run.
|
Package deterministic provides drop-in replacements for the nondeterministic functions Helm exposes to chart templates through sprig — the time- and crypto/rand-backed ones (now, randAlphaNum, genCA, …) — so flate renders byte-identically run to run. |
|
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 hydrates a Store from on-disk Flux manifests.
|
Package loader hydrates a Store from on-disk Flux manifests. |
|
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. |
|
schedule
Package schedule provides flate's dependency-driven reconcile scheduler: a re-entrant fixpoint engine that runs each node's reconcile body on a bounded task pool, parks a body that reports unsatisfied dependencies (Dispatcher OutcomeBlocked), and re-runs it when any of those dependencies advances.
|
Package schedule provides flate's dependency-driven reconcile scheduler: a re-entrant fixpoint engine that runs each node's reconcile body on a bounded task pool, parks a body that reports unsatisfied dependencies (Dispatcher OutcomeBlocked), and re-runs it when any of those dependencies advances. |
|
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 provides a stage-then-rename WriteFile primitive.
|
Package atomic provides a stage-then-rename WriteFile primitive. |
|
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 source.TypedFetcher for ExternalArtifact.
|
Package external implements source.TypedFetcher for ExternalArtifact. |
|
source/git
Package git implements the source.Fetcher for KindGitRepository.
|
Package git implements the source.Fetcher for KindGitRepository. |
|
source/git/internal/gittransport
Package gittransport carries the shared HTTPS-transport install lock serialized across git.Fetcher and the bare-mirror cache.
|
Package gittransport carries the shared HTTPS-transport install lock serialized across git.Fetcher and the bare-mirror cache. |
|
source/git/mirror
Package mirror implements the bare-clone object store shared across GitRepository fetches.
|
Package mirror implements the bare-clone object store shared across GitRepository fetches. |
|
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/helmchart
Package helmchart implements the source.Fetcher for KindHelmChart — the single authoritative path that fetches a Helm chart (by name + version) from its backing HelmRepository.
|
Package helmchart implements the source.Fetcher for KindHelmChart — the single authoritative path that fetches a Helm chart (by name + version) from its backing HelmRepository. |
|
source/oci
Package oci implements the source.Fetcher for KindOCIRepository via oras-go.
|
Package oci implements the source.Fetcher for KindOCIRepository via oras-go. |
|
source/safepath
Package safepath provides a path-traversal guard used by the OCI and bucket source packages.
|
Package safepath provides a path-traversal guard used by the OCI and bucket source packages. |
|
source/sourceignore
Package sourceignore builds the file-exclusion matcher Flux's source-controller applies when it packages a GitRepository/OCIRepository artifact: its default patterns (.git/, .github/, *.jpg/png/zip, .sops.yaml, .flux.yaml, .goreleaser.yml, …) plus any in-tree .sourceignore files plus caller-supplied spec.ignore patterns.
|
Package sourceignore builds the file-exclusion matcher Flux's source-controller applies when it packages a GitRepository/OCIRepository artifact: its default patterns (.git/, .github/, *.jpg/png/zip, .sops.yaml, .flux.yaml, .goreleaser.yml, …) plus any in-tree .sourceignore files plus caller-supplied spec.ignore patterns. |
|
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.